You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Ge@@ru (JIRA)" <ji...@apache.org> on 2010/12/09 13:53:01 UTC

[jira] Issue Comment Edited: (SMXCOMP-831) Problem on call servicemix-bean service from camel route with concurrent requests

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

Ge@@ru edited comment on SMXCOMP-831 at 12/9/10 7:51 AM:
---------------------------------------------------------

If webservice on example is called from two client at same time, service became broken.

      was (Author: geaaru):
    In webservice on example is called from two client at same time, service became broken.
  
> 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.