You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Willem Jiang (JIRA)" <ji...@apache.org> on 2013/02/06 13:39:12 UTC

[jira] [Created] (SMXCOMP-964) Camel doesn't return error while invoking jbi endpoint which doesn't exist, setting up a infinite loop on retry.

Willem Jiang created SMXCOMP-964:
------------------------------------

             Summary: Camel doesn't return error while invoking jbi endpoint which doesn't exist, setting up a infinite loop on retry.
                 Key: SMXCOMP-964
                 URL: https://issues.apache.org/jira/browse/SMXCOMP-964
             Project: ServiceMix Components
          Issue Type: Bug
            Reporter: Willem Jiang


If camel route the message to the no exit endpoint, the camel route will keep on sending the message on the same endpoint and get the OOM error.

After digging the issue for a while, I found the old javax.jbi.serviceName property is set on Exchange message when the CamelConsumerEndpoint send the message out. That cause the CamelConsumerEndpoint keep send the message to same old jbi endpoint again and again.

As the user doesn't leverage the javax.jbi.* property to change to routing the jbi enpdoint dynamically (Camel provides the jbi:xxx uri for this kind of requirement). We could a new header filter strategy by default to avoid copying the javax.jbi.* header across the camel exchange and servicemix exchange to avoid this kind of issue.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira