activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhirendra Rai <>
Subject Re: Pending Messages are shown in ActiveMQ
Date Mon, 03 Nov 2008 16:47:29 GMT

Hi All,

     We are facing issue related to ActiveMQ, where 
1. When used in sessionTransacted mode with cacheLevel=3 few of the messages
are not getting consumed (i.e. Pending). 


2. Also message statistics shown on queue console is not proper. i.e. It
shows more number of messages delivered and in few cases negative number


We are using ActiveMQ 5.1 with spring 2.5.3. We are using Springs’
jmstemplate as a producer & DefaultMessageListenerContainer as a consumer. 


Container configuration is as follows: 

<bean id="deliveryHandlerContainer"


          <property name="connectionFactory" ref="jmsConnectionFactory" />

          <property name="messageListener" ref="deliveryHandler" />

          <property name="destination" ref="deliveryQueue" />

          <property name="sessionTransacted" value="true" />

          <property name="concurrentConsumers">



          <property name="receiveTimeout" value="5000" /> 

          <property name="recoveryInterval" value="120000" />

          <property name="transactionManager" ref="jmsTransactionManager" />

          <property name="cacheLevel" value="3"/>


Quick pointers and inputs appreciated!

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

View raw message