diff options
| author | Alan Conway <aconway@apache.org> | 2010-05-17 21:28:05 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2010-05-17 21:28:05 +0000 |
| commit | 7eed34e78bb870f86816c7fc75849f501e1bcc52 (patch) | |
| tree | ad4c9193bf1ddce05ca7ce4d3ecac4b17c2fdb84 /qpid/cpp | |
| parent | 0da9ee8da67c017bd6005f1732bb83bb3e3f49eb (diff) | |
| download | qpid-python-7eed34e78bb870f86816c7fc75849f501e1bcc52.tar.gz | |
Use new API clients qpid_send, qpid_receive instead of sender/receiver in brokertests.py
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@945385 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp')
| -rw-r--r-- | qpid/cpp/src/qpid/messaging/FailoverUpdates.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/messaging/FailoverUpdates.cpp b/qpid/cpp/src/qpid/messaging/FailoverUpdates.cpp index 27b94aaa7a..4f2fcf2e82 100644 --- a/qpid/cpp/src/qpid/messaging/FailoverUpdates.cpp +++ b/qpid/cpp/src/qpid/messaging/FailoverUpdates.cpp @@ -28,10 +28,12 @@ #include "qpid/log/Statement.h" #include "qpid/Exception.h" #include "qpid/Url.h" +#include "qpid/framing/Uuid.h" #include <vector> namespace qpid { namespace messaging { +using framing::Uuid; struct FailoverUpdatesImpl : qpid::sys::Runnable { @@ -42,7 +44,7 @@ struct FailoverUpdatesImpl : qpid::sys::Runnable FailoverUpdatesImpl(Connection& c) : connection(c) { - session = connection.createSession("failover-updates"); + session = connection.createSession("failover-updates."+Uuid(true).str()); receiver = session.createReceiver("amq.failover"); thread = qpid::sys::Thread(*this); } |
