diff options
Diffstat (limited to 'cpp/examples/examples/request-response/client.cpp')
-rw-r--r-- | cpp/examples/examples/request-response/client.cpp | 2 |
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 ... |