summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-01-17 13:15:54 +0000
committerGordon Sim <gsim@apache.org>2008-01-17 13:15:54 +0000
commit0a1652ac84566618aa373a88e66010c4018c72e2 (patch)
tree0368fea9c21a6a024ed12b1e9b7189d9771c66ed /cpp
parentabb014cca3fdb3ffe1c5008c2481a09410d07b49 (diff)
downloadqpid-python-0a1652ac84566618aa373a88e66010c4018c72e2.tar.gz
Use amq.direct in reply to (as queue is bound to that exchange anyway)
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@612810 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp')
-rw-r--r--cpp/examples/examples/request-response/client.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/examples/examples/request-response/client.cpp b/cpp/examples/examples/request-response/client.cpp
index 68a991bc1c..742acb9071 100644
--- a/cpp/examples/examples/request-response/client.cpp
+++ b/cpp/examples/examples/request-response/client.cpp
@@ -141,7 +141,7 @@ int main() {
// the service knows where to route messages.
request.getDeliveryProperties().setRoutingKey("request");
- request.getMessageProperties().setReplyTo(ReplyTo("", response_queue.str()));
+ request.getMessageProperties().setReplyTo(ReplyTo("amq.direct", response_queue.str()));
// Now send some requests ...