summaryrefslogtreecommitdiff
path: root/qpid/cpp/examples/messaging/server.cpp
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
commit41202c7d20f905f3b8f5d7c39ac7dbbcd7da3b44 (patch)
tree92f9175ff4e7251471f74751132b08705f8d5ac0 /qpid/cpp/examples/messaging/server.cpp
parent151cde0bc30331fcb0ff583ad57c03064e2246dc (diff)
downloadqpid-python-41202c7d20f905f3b8f5d7c39ac7dbbcd7da3b44.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@964984 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/examples/messaging/server.cpp')
0 files changed, 0 insertions, 0 deletions