summaryrefslogtreecommitdiff
path: root/qpid/cpp/lib/broker/SessionHandlerImpl.cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2006-12-05 13:14:38 +0000
committerGordon Sim <gsim@apache.org>2006-12-05 13:14:38 +0000
commit0c3d1cba3cbb8c5656bb2fbc8de393a5801fabdb (patch)
tree05cdf5b65d52e796e4ce5570aa07129bf69b2ca0 /qpid/cpp/lib/broker/SessionHandlerImpl.cpp
parent25e43ff200982d174632fda44a7f20240e758250 (diff)
downloadqpid-python-0c3d1cba3cbb8c5656bb2fbc8de393a5801fabdb.tar.gz
Added queue policy class for controlling when message content should be released from memory.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@482639 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/lib/broker/SessionHandlerImpl.cpp')
-rw-r--r--qpid/cpp/lib/broker/SessionHandlerImpl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/cpp/lib/broker/SessionHandlerImpl.cpp b/qpid/cpp/lib/broker/SessionHandlerImpl.cpp
index 0dddd957fd..6d7f5048ea 100644
--- a/qpid/cpp/lib/broker/SessionHandlerImpl.cpp
+++ b/qpid/cpp/lib/broker/SessionHandlerImpl.cpp
@@ -256,7 +256,7 @@ void SessionHandlerImpl::ExchangeHandlerImpl::delete_(u_int16_t channel, u_int16
void SessionHandlerImpl::QueueHandlerImpl::declare(u_int16_t channel, u_int16_t /*ticket*/, const string& name,
bool passive, bool durable, bool exclusive,
- bool autoDelete, bool nowait, const qpid::framing::FieldTable& /*arguments*/){
+ bool autoDelete, bool nowait, const qpid::framing::FieldTable& arguments){
Queue::shared_ptr queue;
if (passive && !name.empty()) {
queue = parent->getQueue(name, channel);
@@ -268,8 +268,8 @@ void SessionHandlerImpl::QueueHandlerImpl::declare(u_int16_t channel, u_int16_t
if (queue_created.second) { // This is a new queue
parent->getChannel(channel)->setDefaultQueue(queue);
- //create persistent record if required
- queue_created.first->create();
+ //apply settings & create persistent record if required
+ queue_created.first->create(arguments);
//add default binding:
parent->exchanges->getDefault()->bind(queue, name, 0);