summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp b/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp
index 4d5034f137..08af89a72e 100644
--- a/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp
+++ b/qpid/cpp/src/qpid/agent/ManagementAgentImpl.cpp
@@ -342,6 +342,8 @@ void ManagementAgentImpl::handleAttachResponse(Buffer& inBuffer)
cout << "Collision in object-id! New bank assigned: " << assignedBrokerBank <<
"." << assignedAgentBank << endl;
storeData();
+ requestedBrokerBank = assignedBrokerBank;
+ requestedAgentBank = assignedAgentBank;
}
attachment.setBanks(assignedBrokerBank, assignedAgentBank);