You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Brian (JIRA)" <ji...@apache.org> on 2009/02/22 00:16:59 UTC

[jira] Updated: (SMXCOMP-28) in-out cxf-bc async jms consumer with cxf-se provider loses messages under load with no errors reported

     [ https://issues.apache.org/activemq/browse/SMXCOMP-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brian updated SMXCOMP-28:
-------------------------

    Attachment: activemq.xml

The lost message problem is triggered when the jms broker is configured for high throughput use cases.  The problem was initially discovered using a servicemix cxf bc and Tibco ems as the jms server.   By default, ems does not enforce flow control so the message throughput was significantly higher than when testing with activemq.  By default, active-mq 5.x throttles the message producers and as a result, does not trigger the lost message exchange.

To recreate the problem using ActiveMq:
1. Disable the default flow control in active-mq 5.x.  I have attached my activemq.xml config file.  

<!-- Disable flow control in active-mq -->
<amq:destinationPolicy>
      <amq:policyMap>
        <amq:policyEntries>
               <amq:policyEntry queue=">" producerFlowControl="false" memoryLimit="100mb"/>
               <amq:policyEntry topic=">" producerFlowControl="false" memoryLimit="100mb"/>
        </amq:policyEntries>
      </amq:policyMap>
</amq:destinationPolicy>



2. On the cxf:consumer:
       set the JMSConfig 'concurrentConsumers' property to 
       set the attributes timeout='1000' and synchronous='false'

3. Stop servicemix if it is running
4. Delete the data directory since i have seen cases where flow control in activemq remains even after changing the config
5. Start servicemix
6. Publish 500 messages and less than 400 replies are generated (about 100 are lost)




> in-out cxf-bc async jms consumer with cxf-se provider loses messages under load with no errors reported
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-28
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-28
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-cxf-bc, servicemix-cxf-se
>    Affects Versions: servicemix-cxf-bc-2009.01, servicemix-cxf-se-2009.01
>            Reporter: Ron Gavlin
>            Priority: Critical
>         Attachments: activemq.xml
>
>
> in-out cxf-bc async jms consumer with cxf-se provider loses messages under load with no errors reported. In order to reproduce the problem, modify the cxf-bc:consumer endpoint in the cxf-wsdl-first example to use the jms transport and set synchronous="false". Then, use a jms client to send a large number of requests and observe that the number of response messages does not equal the number of requests submitted.
> See http://servlet.uwyn.com/drone/log/hausbot/servicemix/20090123 for the discussion of this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.