[
https://issues.apache.org/jira/browse/CAMEL-5832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-5832.
--------------------------------
Resolution: Fixed
> camel-jms - JMS consumer should detect JMSReplyTo being sending to itself to
> avoid circular looping
> ---------------------------------------------------------------------------------------------------
>
> Key: CAMEL-5832
> URL: https://issues.apache.org/jira/browse/CAMEL-5832
> Project: Camel
> Issue Type: Improvement
> Components: camel-jms
> Affects Versions: 2.10.2
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Minor
> Fix For: 3.0.0, 3.0.0.M5
>
> Attachments: EndpointMessageListener.java, JmsConfiguration.java,
> JmsReplyToComponentEndlessLoopTest.java,
> JmsReplyToComponentEndlessLoopTest.java
>
>
> If people do something stupid to send a message to a queue which has a
> JMSReplyTo that goes back to the same queue, then that message would go in
> looping (endless).
> We should maybe add some check for this, and add some option people can turn
> on|off this check. And if the check is enabled it would detect this and not
> send back a reply to itself.
> There may be some odd use-cases where people send back reply messages to the
> same queue. And maybe have some dynamic router logic that can break the chain
> when done.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)