You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Roman Kalashnikov (JIRA)" <ji...@apache.org> on 2017/03/17 09:19:41 UTC

[jira] [Commented] (CAMEL-11031) Use default ("") exchange for reply-to messages

    [ https://issues.apache.org/jira/browse/CAMEL-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15929617#comment-15929617 ] 

Roman Kalashnikov commented on CAMEL-11031:
-------------------------------------------

Proposed changes to fix the issue https://github.com/apache/camel/pull/1545

> 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)