Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Examples for collective.zamqp
Python CoffeeScript
branch: master
Failed to load latest commit information.
etc Refactored demos to use AMQP default virtual host ('/'), RabbitMQ's d…
src/collective Added comments for publisher VTM registrations.
.gitignore
.hgignore
HISTORY.txt First commit.
README.rst Fixed RabbitMQ default username and password on README.
bootstrap.py Refactored buildout. Updated to Plone 4.2. Updated RabbitMQ to 2.8.5.…
buildout.cfg Fixed versions.cfg extends.
rabbitmq.cfg Tweaked erlang configure-options for OSX.
setup.py Added simplejson as direct dependency.
zeo.cfg Added example buildout with configuration.

README.rst

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.

Something went wrong with that request. Please try again.