activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Ye <edwar...@21cn.com>
Subject Re: Pending Messages are shown in ActiveMQ
Date Thu, 13 Nov 2008 14:23:24 GMT

OK, I read some advices in another thread. I would like to try a test on
ActiveMQ 5.2.0 RC3.


Edward Ye wrote:
> 
> Hi,I am facing similar issue as I said in this
> thread(http://www.nabble.com/Consumer-Listener-stop-receving-message-until-ActiveMQ-restart-to20355247.html).
> Can anybody help us out?
> Thanks.
> 
> 
> Dhirendra Rai wrote:
>> 
>> 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-tp20241332p20481618.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message