OpenStack library for messaging
Go to file
Mehdi Abaakouk 9f58e2c3fe Implements notification listener and dispatcher
This patch allows to quickly create a listener to receive
notification messages.

Example of the api:

class Endpoint(object):
    def warn(self, ctxt, publisher_id, event_type, payload):
        do_something(payload)

target = messaging.Target(topic='notifications', exchange='cinder')
listener = notify.get_notification_listener(transport, [target],
                                            [Endpoint()],
                                            executor,
                                            serializer)

Implements blueprint notification-subscriber-server

Change-Id: I434bc487c382a2048670df726d9bebd640150bb9
2014-02-14 16:06:26 +01:00
doc/source Implements notification listener and dispatcher 2014-02-14 16:06:26 +01:00
etc Routing notifier 2014-01-15 04:08:18 +00:00
oslo Implements notification listener and dispatcher 2014-02-14 16:06:26 +01:00
tests Implements notification listener and dispatcher 2014-02-14 16:06:26 +01:00
.gitignore Ignore any egg and egg-info directories 2014-02-05 09:32:25 -08:00
.gitreview Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
.testr.conf Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
CONTRIBUTING.rst Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
LICENSE Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
MANIFEST.in Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
README.rst Add oslo.messaging project infrastructure 2013-06-15 08:43:50 +01:00
openstack-common.conf Unify different names between Python2 and Python3 2013-12-09 02:19:52 -08:00
requirements.txt Routing notifier 2014-01-15 04:08:18 +00:00
setup.cfg Merge "Expose an entry point to list all config options" 2014-01-28 06:17:56 +00:00
setup.py Updated from global requirements 2013-10-01 16:14:29 +00:00
test-requirements.txt python3: Switch to mox3 instead of mox 2014-01-16 14:31:01 +01:00
tox.ini Simplify public symbol exports 2013-06-24 12:52:30 +01:00

README.rst

Oslo Messaging Library

The Oslo messaging API supports RPC and notifications over a number of different messsaging transports.