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
..
2014-01-04 10:33:58 +08:00
2014-01-08 18:37:39 +00:00
2014-02-05 09:32:42 -08:00
2014-01-13 08:00:36 +08:00
2014-01-27 19:23:18 -05:00
2014-02-14 16:06:26 +01:00
2014-02-14 16:06:26 +01:00
2014-01-27 11:24:52 +00:00
2013-10-23 16:23:01 +08:00
2014-02-14 16:06:26 +01:00
2013-08-26 09:31:12 +01:00
2014-01-30 13:40:42 +01:00
2014-01-30 13:40:42 +01:00
2013-10-23 16:23:01 +08:00
2014-01-16 14:31:01 +01:00
2013-12-06 19:18:18 +00:00
2014-01-27 10:39:20 +00:00
2013-12-20 23:43:35 +01:00