docs/main/MessageBrokers.rst | 10 ++++++++-- pavement.py | 10 ++++++++++ 2 files changed, 18 insertions(+), 2 deletions(-)
New commits: commit ee98d9e9b429e65591022f88b9c6103073e2029e Author: Luke Macken lmacken@redhat.com Date: Sat Dec 12 11:18:00 2009 -0500
Add restart_orbited and all paver tasks
diff --git a/pavement.py b/pavement.py index e360ac5..1b64fc6 100644 --- a/pavement.py +++ b/pavement.py @@ -201,6 +201,10 @@ def restart_hub(): sh('sudo /sbin/service moksha-hub restart')
@task +def restart_orbited(): + sh('sudo /sbin/service orbited restart') + +@task def reinstall_apps(): for app in os.listdir('moksha/apps'): app_dir = path('moksha') / 'apps' / app @@ -246,3 +250,9 @@ def smock(options): @needs(['paver.doctools.html']) def html(): pass + +@task +@needs(['reinstall', 'reinstall_apps', 'test', 'restart_httpd', 'restart_hub', 'restart_orbited']) +def all(): + pass +magic = all
commit 82795ff734163b2562e957fb526b43342e77c9ba Author: Luke Macken lmacken@redhat.com Date: Fri Dec 11 18:23:07 2009 -0500
Update our Message Broker docs to reflect recent AMQP improvements
diff --git a/docs/main/MessageBrokers.rst b/docs/main/MessageBrokers.rst index c61452c..3b14357 100644 --- a/docs/main/MessageBrokers.rst +++ b/docs/main/MessageBrokers.rst @@ -23,14 +23,20 @@ well. -------------------------
Plugging an `AMQP http://amqp.org`_ broker into Moksha is trivial. Simply -add an `amqp_broker` to your configuration: +add an `amqp_broker` to your configuration, and change the live socket backend:
.. code-block:: none
amqp_broker = guest/guest@localhost + moksha.livesocket.backend = amqp
-The :class:`MokshaHub` will then automatically connect up to your AMQP broker and proxy messages to the STOMP broker and Moksha Consumers. +.. note:: + + It's probably best to comment out the `stomp_broker` when you enable AMQP + support. You can have both, but Moksha will enter a bridged mode that + may or may not work as expected.
+The :class:`MokshaHub` will then automatically connect up to your AMQP broker and proxy messages to the STOMP broker and Moksha Consumers.
AMQP support in Moksha has been tested with `Qpid http://qpid.apache.org`_.
moksha-commits@lists.fedorahosted.org