activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dhirendra Rai <dhirendra....@globallogic.com>
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"

         
class="org.springframework.jms.listener.DefaultMessageListenerContainer">

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

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

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

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

          <property name="concurrentConsumers">

                     <value>${deliveryqueue.concurrentConsumers}</value>

          </property>

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

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

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

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

</bean> 


Quick pointers and inputs appreciated!



-- 
View this message in context: http://www.nabble.com/Pending-Messages-are-shown-in-ActiveMQ-tp20241332p20306175.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message