Problem on call servicemix-bean service from camel route with concurrent
------------------------------------------------------------------------
Key: SMXCOMP-831
URL: https://issues.apache.org/jira/browse/SMXCOMP-831
Project: ServiceMix Components
Issue Type: Bug
Components: servicemix-camel
Affects Versions: servicemix-camel-2010.02
Reporter: Ge@@ru
Priority: Blocker
I found a problem on use servicemix-camel with servicemix-bean. In
particular, in a scenario like this:
- a cxf-bc that expose a ws and that send exchange to cxf-se service;
- cxf-se service call a servicemix-camel route1;
- servicemix-camel route1 call a camel route2 (to jbi component)
- servicemix-camel route2 call a servicemix bean service (with a thread
sleep inside);
- a second client call cxf-bc service when first client wait for
response;
- and at this point last camel route that wait for a reply from
servicemix-bean service became broken yet after when servicemix-bean
close exchange correctly.
With debug i see that exchange is sent to smx-bean service (in state
Active) and answer is returned by always with state Active, it seems
that exchange don't change to Done and it is handled correctly by
servicemix-camel module.
This problem happens only when there are 2 route camel and second route
call smx-bean, while, if i try to call directly smx-bean from first
camel route all works fine.
I add a smx-bean before second camel route by problem is always present.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.