Roman Kalashnikov created CAMEL-11031:
-----------------------------------------
Summary: Use default ("") exchange for reply-to messages
Key: CAMEL-11031
URL: https://issues.apache.org/jira/browse/CAMEL-11031
Project: Camel
Issue Type: Bug
Components: camel-rabbitmq
Affects Versions: 2.18.3
Reporter: Roman Kalashnikov
I'm sending request-reply with:
{noformat}
Object reply = rabbitTemplate.convertSendAndReceive("testexch", "test",
"Ping!");
{noformat}
And consuming with:
{noformat}
from("rabbitmq://localhost:5672/testexch?routingKey=test")
.transform(body().append(" Pong!"));
{noformat}
And I'm not getting any reply because camel-rabbitmq publishes replies to
specified "testexch" exchange instead of default one ("") as stated in
https://www.rabbitmq.com/direct-reply-to.html:
bq. The RPC server will then see a reply-to property with a generated name. *It
should publish to the default exchange ("")* with the routing key set to this
value.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)