diff options
author | Ted Ross <tross@apache.org> | 2010-07-22 21:57:37 +0000 |
---|---|---|
committer | Ted Ross <tross@apache.org> | 2010-07-22 21:57:37 +0000 |
commit | a621976b2626148ad00b4909198d9c9d6ae9426d (patch) | |
tree | 6c7042a322560619e21627cf277a3124d0d7b297 /cpp/src | |
parent | fd4b59dff2ed6f050af6effd28d2c7a02351bf07 (diff) | |
download | qpid-python-a621976b2626148ad00b4909198d9c9d6ae9426d.tar.gz |
Bugfix: agent label in wrapped (python, ruby) qmf agent was not transmitted to the
consoles.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@966871 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qmf/engine/Agent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qmf/engine/Agent.cpp b/cpp/src/qmf/engine/Agent.cpp index 64c5961385..067f53471f 100644 --- a/cpp/src/qmf/engine/Agent.cpp +++ b/cpp/src/qmf/engine/Agent.cpp @@ -238,7 +238,7 @@ AgentImpl::AgentImpl(char* _label, bool i) : assignedBrokerBank(0), assignedAgentBank(0), bootSequence(1), nextObjectId(1), nextContextNum(1), attachComplete(false) { - queueName += label; + queueName += Uuid(true).str(); } AgentImpl::~AgentImpl() @@ -334,7 +334,7 @@ void AgentImpl::startProtocol() Buffer buffer(rawbuffer, 512); Protocol::encodeHeader(buffer, Protocol::OP_ATTACH_REQUEST); - buffer.putShortString("qmfa"); + buffer.putShortString(label); systemId.encode(buffer); buffer.putLong(requestedBrokerBank); buffer.putLong(requestedAgentBank); |