camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman Kalashnikov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-11031) Use default ("") exchange for reply-to messages
Date Fri, 17 Mar 2017 09:19:41 GMT

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

Mime
View raw message