[ 
https://issues.apache.org/jira/browse/SMXCOMP-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12970144#action_12970144
 ] 

Ge@@ru commented on SMXCOMP-831:
--------------------------------

I append exception returned when i stop servicemix for pending exchange:
 Exception occurred during onCompletion. This exception will be ignored.
org.apache.servicemix.nmr.core.ChannelClosedException
        at 
org.apache.servicemix.nmr.core.ChannelImpl.dispatch(ChannelImpl.java:268)[78:org.apache.servicemix.nmr.core:1.3.0.tilab]
        at 
org.apache.servicemix.nmr.core.ChannelImpl.send(ChannelImpl.java:117)[78:org.apache.servicemix.nmr.core:1.3.0.tilab]
        at 
org.apache.servicemix.jbi.runtime.impl.DeliveryChannelImpl.send(DeliveryChannelImpl.java:178)[90:org.apache.servicemix.jbi.runtime:1.3.0.tilab]
        at 
org.apache.servicemix.common.EndpointDeliveryChannel.send(EndpointDeliveryChannel.java:89)[89:servicemix-common:2010.02.0.tilab]
        at 
org.apache.servicemix.common.endpoints.SimpleEndpoint.send(SimpleEndpoint.java:70)[89:servicemix-common:2010.02.0.tilab]
        at 
org.apache.servicemix.camel.CamelProviderEndpoint.doSend(CamelProviderEndpoint.java:139)[151:servicemix-camel:2010.02.0.tilab]
        at 
org.apache.servicemix.camel.CamelProviderEndpoint.onFailure(CamelProviderEndpoint.java:165)[151:servicemix-camel:2010.02.0.tilab]
        at 
org.apache.camel.impl.DefaultUnitOfWork.done(DefaultUnitOfWork.java:173)[66:org.apache.camel.camel-core:2.4.0]
        at 
org.apache.camel.processor.UnitOfWorkProcessor.doneUow(UnitOfWorkProcessor.java:121)[66:org.apache.camel.camel-core:2.4.0]
        at 
org.apache.camel.processor.UnitOfWorkProcessor.access$000(UnitOfWorkProcessor.java:36)[66:org.apache.camel.camel-core:2.4.0]
        at 
org.apache.camel.processor.UnitOfWorkProcessor$1.done(UnitOfWorkProcessor.java:106)[66:org.apache.camel.camel-core:2.4.0]
        at 
org.apache.camel.processor.Pipeline.process(Pipeline.java:130)[66:org.apache.camel.camel-core:2.4.0]
        at 
org.apache.camel.processor.UnitOfWorkProcessor.process(UnitOfWorkProcessor.java:99)[66:org.apache.camel.camel-core:2.4.0]
        at 
org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70)[66:org.apache.camel.camel-core:2.4.0]
        at 
org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98)[66:org.apache.camel.camel-core:2.4.0]
        at 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89)[66:org.apache.camel.camel-core:2.4.0]
        at 
org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68)[66:org.apache.camel.camel-core:2.4.0]
        at 
org.apache.servicemix.camel.CamelProviderEndpoint$1.call(CamelProviderEndpoint.java:109)[151:servicemix-camel:2010.02.0.tilab]
        at 
org.apache.servicemix.camel.JbiBinding.runWithCamelContextClassLoader(JbiBinding.java:116)[151:servicemix-camel:2010.02.0.tilab]
        at 
org.apache.servicemix.camel.CamelProviderEndpoint.handleActiveProviderExchange(CamelProviderEndpoint.java:107)[151:servicemix-camel:2010.02.0.tilab]
        at 
org.apache.servicemix.camel.CamelProviderEndpoint.process(CamelProviderEndpoint.java:85)[151:servicemix-camel:2010.02.0.tilab]
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:618)[89:servicemix-common:2010.02.0.tilab]
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:573)[89:servicemix-common:2010.02.0.tilab]
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchangeInTx(AsyncBaseLifeCycle.java:470)[89:servicemix-common:2010.02.0.tilab]
        at 
org.apache.servicemix.common.AsyncBaseLifeCycle$2.run(AsyncBaseLifeCycle.java:348)[89:servicemix-common:2010.02.0.tilab]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[:1.6.0_22]
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[:1.6.0_22]
        at java.lang.Thread.run(Thread.java:662)[:1.6.0_22]


> Problem on call servicemix-bean service from camel route with concurrent 
> requests
> ---------------------------------------------------------------------------------
>
>                 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
>         Attachments: test_route.tar.bz2
>
>
> 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.

Reply via email to