[
https://issues.apache.org/jira/browse/CAMEL-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Kalashnikov updated CAMEL-11031:
--------------------------------------
Description:
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.
was:
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.
> 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)