Edward Ost created CAMEL-7813:
---------------------------------

             Summary: 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
            Priority: Minor


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)

Reply via email to