diff options
| author | Gordon Sim <gsim@apache.org> | 2007-07-23 12:29:17 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2007-07-23 12:29:17 +0000 |
| commit | 0db1af31320aa010c8e97da80000f7548d889068 (patch) | |
| tree | ce2cd8dba8cf46b685dcb626b31e25c17702c1a0 /cpp/src/qpid/broker/BrokerMessage.cpp | |
| parent | 747ac26509e78ac9aa9120be02cd446ac99d21cd (diff) | |
| download | qpid-python-0db1af31320aa010c8e97da80000f7548d889068.tar.gz | |
Added initial 'execution-layer' to try out methods form the 0-10 execution class.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@558700 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/BrokerMessage.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/BrokerMessage.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/BrokerMessage.cpp b/cpp/src/qpid/broker/BrokerMessage.cpp index 21b56869d4..d192b09a63 100644 --- a/cpp/src/qpid/broker/BrokerMessage.cpp +++ b/cpp/src/qpid/broker/BrokerMessage.cpp @@ -78,10 +78,10 @@ void BasicMessage::deliver(ChannelAdapter& channel, const string& consumerTag, uint64_t deliveryTag, uint32_t framesize) { - channel.send( + channel.send(make_shared_ptr( new BasicDeliverBody( channel.getVersion(), consumerTag, deliveryTag, - getRedelivered(), getExchange(), getRoutingKey())); + getRedelivered(), getExchange(), getRoutingKey()))); sendContent(channel, framesize); } @@ -92,12 +92,12 @@ void BasicMessage::sendGetOk(ChannelAdapter& channel, uint64_t deliveryTag, uint32_t framesize) { - channel.send( + channel.send(make_shared_ptr( new BasicGetOkBody( channel.getVersion(), responseTo, deliveryTag, getRedelivered(), getExchange(), - getRoutingKey(), messageCount)); + getRoutingKey(), messageCount))); sendContent(channel, framesize); } |
