diff options
author | Alan Conway <aconway@apache.org> | 2008-10-16 21:05:45 +0000 |
---|---|---|
committer | Alan Conway <aconway@apache.org> | 2008-10-16 21:05:45 +0000 |
commit | 3a8e5000883d4fc514bbbbe7c9536e25ea14e7e9 (patch) | |
tree | 1b358599cbb1dba17fe8dcfcf164e1473084b390 /cpp/src/qpid/broker/SessionAdapter.cpp | |
parent | 564b128b1e7d9ba6d40b135d961cfc64869e06c4 (diff) | |
download | qpid-python-3a8e5000883d4fc514bbbbe7c9536e25ea14e7e9.tar.gz |
Added missing message.subscribe arguments to SemanticState::ConsumerImpl for replication (and future use.)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@705359 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/SessionAdapter.cpp')
-rw-r--r-- | cpp/src/qpid/broker/SessionAdapter.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/cpp/src/qpid/broker/SessionAdapter.cpp b/cpp/src/qpid/broker/SessionAdapter.cpp index 9c23abeba9..e09c94398b 100644 --- a/cpp/src/qpid/broker/SessionAdapter.cpp +++ b/cpp/src/qpid/broker/SessionAdapter.cpp @@ -457,13 +457,13 @@ void SessionAdapter::MessageHandlerImpl::release(const SequenceSet& transfers, b void SessionAdapter::MessageHandlerImpl::subscribe(const string& queueName, - const string& destination, - uint8_t acceptMode, - uint8_t acquireMode, - bool exclusive, - const string& /*resumeId*/,//TODO implement resume behaviour. Need to update cluster. - uint64_t /*resumeTtl*/, - const FieldTable& arguments) + const string& destination, + uint8_t acceptMode, + uint8_t acquireMode, + bool exclusive, + const string& resumeId, + uint64_t resumeTtl, + const FieldTable& arguments) { AclModule* acl = getBroker().getAcl(); @@ -481,7 +481,7 @@ SessionAdapter::MessageHandlerImpl::subscribe(const string& queueName, string tag = destination; state.consume(MessageDelivery::getMessageDeliveryToken(destination, acceptMode, acquireMode), tag, queue, false, //TODO get rid of no-local - acceptMode == 0, acquireMode == 0, exclusive, &arguments); + acceptMode == 0, acquireMode == 0, exclusive, resumeId, resumeTtl, arguments); ManagementAgent* agent = ManagementAgent::Singleton::getInstance(); if (agent) |