Commit Graph

10 Commits

Author SHA1 Message Date
Doug Hellmann e55a83e832 Move files out of the namespace package
Move the public API out of oslo.messaging to oslo_messaging. Retain
the ability to import from the old namespace package for backwards
compatibility for this release cycle.

bp/drop-namespace-packages

Co-authored-by: Mehdi Abaakouk <mehdi.abaakouk@enovance.com>
Change-Id: Ia562010c152a214f1c0fed767c82022c7c2c52e7
2015-01-12 12:50:41 -05:00
Mehdi Abaakouk 1ea9c35ab4 Transport reconnection retries for notification
This patch add support of reconnection retries for the
messaging notifier.

Related bug #1282639
Change-Id: Ia30331f8306ff0f6952d83ef42ff8bee6b900427
2014-06-18 18:41:33 +02:00
Mark McLoughlin 206c19e99e Add a driver method specifically for sending notifications
Notifications are an unusual case in that we need users to manually opt
in to new incompatible message formats by editing configuration because
there may be external consumers expecting the old format.

Add a send_notification() method to the driver interface and add a
format version paramater to the method, to make it clear that this
version selection is specifically for notifications.

In the case of the rabbit/qpid drivers, the 2.0 format is where we added
the message envelope.

Change-Id: Ib4925c308b1252503749962aa16f043281f2b429
2013-08-07 06:51:35 +01:00
Mark McLoughlin 54d875bcac Use lowercase priority in notifications topic 2013-06-24 12:52:56 +01:00
Mark McLoughlin 89e7301e4e Fix buglet in v2 messaging notifier 2013-06-24 12:52:56 +01:00
Mark McLoughlin fcfe15af04 Rename context to ctxt in notify API
ctxt is the name we've used in the rest of oslo.messaging, so ...
2013-06-24 12:52:56 +01:00
Mark McLoughlin b5e43afc37 Docstrings for notifier API 2013-06-24 12:52:41 +01:00
Mark McLoughlin e67f409b87 Don't use common logging
It appears we don't actually need this - we don't, for example, use any
of the special formatting supported by ContextAdaptor.
2013-06-16 15:24:41 +01:00
Mark McLoughlin d821999629 Don't translate exception messages 2013-06-16 11:55:47 +01:00
Mark McLoughlin cbfb1452a4 Move files to new locations for oslo.messaging 2013-06-15 08:43:54 +01:00