Skip to content

SivaCn/collective.zamqpdemo

 
 

Repository files navigation

collective.zamqpdemo

This package contains a few examples of configuring and using AMQP-messaging with Plone and collective.zamqp (with or without ZEO-clustering).

After running the buildout, you must start RabbitMQ by:

$ source bin/rabbitmq-env
$ bin/rabbitmq-server

and only then your Plone:

$ bin/instance fg

You can follow the rabbit with login username guest and password guest at:

http://localhost:55672/mgmt/

If you'd like to hack with the examples, you should also try the built-in sauna.reload-support of collective.zamqp with:

$ RELOAD_PATH=src bin/instance fg

This initialize the AMQP-connections only after reload and eases hacking with AMQP message consumers and producers.

Note: If you have tried these demos before and have not cleared your buildout, you might have to reset RabbitMQ by removing ./var/rabbitmq. That's because the demos have been simplified to use AMQP default virtualhost, credentials and exchanges.

About

Examples for collective.zamqp

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.5%
  • CoffeeScript 4.5%