camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CAMEL-11031) Use default ("") exchange for reply-to messages
Date Wed, 22 Mar 2017 20:35:42 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-11031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Claus Ibsen resolved CAMEL-11031.
---------------------------------
    Resolution: Fixed
      Assignee: Claus Ibsen

> 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
>            Assignee: Claus Ibsen
>             Fix For: 2.18.4, 2.19.0
>
>
> 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