You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2011/05/25 22:37:47 UTC

[jira] [Commented] (CAMEL-4008) Support to set replyTo from the message header

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

Claus Ibsen commented on CAMEL-4008:
------------------------------------

I think this change is not so good.

When you do request/reply over Camel, eg in .to("activemq:xxx") then the reply consumer can either use
- temporary queues
- fixed reply to queue, which you must configure

Now you introduce a 3rd way using a header option. I question the use-case why this is needed.

The end user of that link got it wrong, he should do
.to("activemq:queue?replyTo=myReplyQueue")

I think we should consider reverting this patch, to keep it more KISS. 

> Support to set replyTo from the message header 
> -----------------------------------------------
>
>                 Key: CAMEL-4008
>                 URL: https://issues.apache.org/jira/browse/CAMEL-4008
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>            Reporter: Willem Jiang
>            Assignee: Willem Jiang
>             Fix For: 2.8.0
>
>
> Here is the mail thread[1] which discusses about it.
> [1]http://camel.465427.n5.nabble.com/set-jms-reply-to-in-message-header-td4420767.html

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira