Have you tried lowering prefetch (e.g. setting it to 1) to see if one of your consumers is blocked & hogging them? http://activemq.apache.org/what-is-the-prefetch-limit-for.html
2008/10/30 Dhirendra Rai <[EMAIL PROTECTED]>: > > Hi, > > I am using activemq 5.1.0 with spring 2.3 . > The isssue I am facing is : At the time of load testing some set of messages > are not getting consumed by the consumer they are shown in the pending list. > e.g Total Messages=200, Received Messages=180 Pending Messages=20. > The pending messages count goes on increasing if i fire another set of > messages like > now Total Messages=400, Received Messages=280 Pending Messages=120. > > My consumer configuration is > <bean id="inputMessageReceiver" > class="com.sybase.map.mapservice.impl.InputMessageReceiver"> > </bean> > > <bean id="inputQueueContainer" > > class="org.springframework.jms.listener.DefaultMessageListenerContainer"> > <property name="connectionFactory" ref="jmsConnectionFactory" > /> > <property name="messageListener" ref="inputMessageReceiver" /> > <property name="destination" ref="jmsInputQueue" /> > <property name="sessionTransacted" value="true" /> > <property name="concurrentConsumers"> > <value>5</value> > </property> > <property name="receiveTimeout" value="5000" /> > <property name="recoveryInterval" value="120000" /> > <property name="transactionManager" > ref="jmsTransactionManager" /> > </bean> > > Please help. > -- > View this message in context: > http://www.nabble.com/Pending-Messages-are-shown-in-ActiveMQ-tp20241332p20241332.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. > > -- James ------- http://macstrac.blogspot.com/ Open Source Integration http://fusesource.com/