activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From patsfan <>
Subject Intermittent loss of message 5.3.2 (Linux) with DMLC
Date Tue, 07 Aug 2012 14:05:23 GMT

Had a user of our service complain that they were losing a message
intermittently (i.e. message sent to queue and Spring DMLC does not process
message) and was able to confirm this problem.  Environment summary is as

Embedded broker that is running inside JBoss
Producers and Consumers are using the following URL to connect
Consumer is using Spring DMLC

To reproduce the scenario, we have a test where we loop 10 times and send a
persistent message to a queue and the DMLC picks up the message (or should
atleast).  We ran this test 28 times and saw the problem 3 times in a Linux
environment.  When running on Windows, we ran 20 times with no issue at all. 
Not sure if it is an OS related issue but wanted to point this out.

Does anyone have any tips (logging levels on specific packages, or
otherwise) to further debug this or run into this problem before?  The DMLC
configuration is below and perhaps it is an issue there, not sure.

Please note: We are using the embedded broker for development purposes. 
When in production we would be connecting to a remote broker.

<bean id="dmlc"
		<property name="connectionFactory" ref="pooledInternalJmsConnFactory"/>
		<property name="autoStartup" value="false" />
		<property name="destination">
			<ref bean="executionQueue"/>
		<property name="concurrentConsumers"   ref="minThreadCount" />
		<property name="maxConcurrentConsumers" ref="maxThreadCount"/>
		<property name="idleTaskExecutionLimit" value="5"/>
		<property name="acceptMessagesWhileStopping" value="false"/>

<bean id="executionQueue" class="org.apache.activemq.command.ActiveMQQueue">
		<property name="physicalName" ref=executionQueueName"/>

<bean id="pooledInternalJmsConnFactory"
		<property name="targetConnectionFactory" ref="internalJmsFactory"/>
		<property name="reconnectOnException" value="true"/>
		<property name="sessionCacheSize" value="10" />

<bean id="internalJmsFactory"
		<property name="brokerURL"

View this message in context:
Sent from the ActiveMQ - User mailing list archive at

View raw message