From 0a1652ac84566618aa373a88e66010c4018c72e2 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 17 Jan 2008 13:15:54 +0000 Subject: 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 --- cpp/examples/examples/request-response/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/examples') 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 ... -- cgit v1.2.1