Rework proxy publish functionality
* Task uuid is not a required parameter now; * Exchange declaration does not require a connection object. Change-Id: I9a77c9afe7d9fad007902d77d24a0b1a96c6c519
This commit is contained in:

committed by
Stanislav Kudriashev

parent
37bdae0f0c
commit
8d3c00ccfd
@@ -103,7 +103,7 @@ class Server(object):
|
||||
response = dict(state=state, **kwargs)
|
||||
LOG.debug("Sending reply: %s", response)
|
||||
try:
|
||||
self._proxy.publish(response, task_uuid, reply_to)
|
||||
self._proxy.publish(response, reply_to, correlation_id=task_uuid)
|
||||
except Exception:
|
||||
LOG.exception("Failed to send reply")
|
||||
|
||||
|
Reference in New Issue
Block a user