summaryrefslogtreecommitdiff
path: root/cpp/examples
diff options
context:
space:
mode:
authorRajith Muditha Attapattu <rajith@apache.org>2010-07-16 23:50:13 +0000
committerRajith Muditha Attapattu <rajith@apache.org>2010-07-16 23:50:13 +0000
commitdcfa11df9462a49d8baf9500a8b3d8a3ce5d979f (patch)
tree441643f3a5d17107deb0f5a5241c71a640942f93 /cpp/examples
parent15504d31d088348681be4d30ef3302982267ecb1 (diff)
downloadqpid-python-dcfa11df9462a49d8baf9500a8b3d8a3ce5d979f.tar.gz
QPID-2736
The session.createQueue and session.createTopic methods will behave as follows. session.createQueue =================== 1. If just a queue name is passed, 1.1 If the destination syntax is BURL, a queue by that name will be created and bound to the amq.direct exchange using the queue name as the binding key. If published using this destination, then the message will be sent to amq.direct with routing key set to the queue name. 1.2 If destination syntax is ADDR, a queue is created by that name. If published using this exchange then the message will be sent to the defualt exchange (nameless exchange) with routing key set to the queue name. 2. If an address string or binding url is passed, it will be passed accordingly. session.createTopic =================== 1. If just a topic name is passed, 1.1 If destination syntax is ADDR, a temp queue is created and bound to the amq.topic with the topic name as binding key. If published using this destination, then the message will be sent to amq.topic with the topic name set to routing key. The topic name will also be set as "qpid.subject" in the outgoing message. 1.2 Same as above except there will be no subject set. 2. If an address string or binding url is passed, it will be passed accordingly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@964984 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/examples')
0 files changed, 0 insertions, 0 deletions