You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Octavian (JIRA)" <ji...@apache.org> on 2016/01/26 17:42:40 UTC

[jira] [Comment Edited] (CAMEL-7813) Make camel-jms more robust for replyTo

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

Octavian edited comment on CAMEL-7813 at 1/26/16 4:42 PM:
----------------------------------------------------------

Hello,

For some reasons I can see the issue is still in 2.16.1.
When Camel sends a reply it keeps JMSRepyTo/ReplyTo on the JMS Message.

Have to add though that I'm using the activemq component, version 5.12.1.



was (Author: ochiriac):
Hello,

For some reasons I can see the issue is still in 2.16.1.
When Camel sends a reply it keeps JMSRepyTo/ReplyTo on the JMS Message.



> Make camel-jms more robust for replyTo
> --------------------------------------
>
>                 Key: CAMEL-7813
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7813
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-jms
>    Affects Versions: 2.13.2
>            Reporter: Edward Ost
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.16.0
>
>
> When a JMS queue is used as a camel consumer for a route it may well be one of possibly many intermediate stops in a chain of processing.  If the previous processing step itself used Camel to route the message, then both the JMS replyTo and the camel-header JMSReplyTo will both be populated with the same value.  This will cause an infinite loop.
> Of course, this is in some sense a developer error, but it is a pain to constantly add code to clear the camel JMSReplyTo header if it equals the destination.  This should probably be internal to the camel-jms component itself.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)