activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Tully" <gary.tu...@gmail.com>
Subject Re: activemq 5.1 hanging when using spring container listener.
Date Wed, 03 Sep 2008 08:40:00 GMT
see: http://activemq.apache.org/i-am-having-problems-with-the-spring-jmstemplate.html

2008/9/3 任增刚 <renzenggang@gmail.com>:
> hi,friends,
>
>
>      I meet a error when using activemq5.1.
>      the cosumer hanged and do nothing,but there are still have messages in
> the queue.how can solve this problem?
>      thanks  a lot.
>
>
> my configure:
>
>
>    <bean id="listenerContainerForCmpp"
> class="org.springframework.jms.listener.DefaultMessageListenerContainer">
>        <!--
>            <property name="messageSelector">
>            <value><![CDATA[
>            spProvider='1'
>            ]]></value>
>            </property>
>        -->
>        <property name="acceptMessagesWhileStopping" value="true" />
>        <property name="autoStartup" value="true" />
>        <property name="maxConcurrentConsumers" value="10" />
>        <property name="concurrentConsumers" value="10" />
>        <property name="idleTaskExecutionLimit" value="2" />
>        <property name="connectionFactory" ref="jmsConnectionFactory" />
>        <property name="destination" ref="destination_mo" />
>        <property name="messageListener" ref="cmppMessageListener" />
>        <property name="transactionManager" ref="jmsTxManager" />
>        <property name="cacheLevel" value="5" />
>
>    </bean>
>
> the monitor web info:
>
> Queues  Name <http://10.112.10.79:8080/queues.jsp#>   Number Of Pending
> Messages <http://10.112.10.79:8080/queues.jsp#>   Number Of
> Consumers<http://10.112.10.79:8080/queues.jsp#>
>   Messages Sent <http://10.112.10.79:8080/queues.jsp#>   Messages
> Received<http://10.112.10.79:8080/queues.jsp#>
>   Views <http://10.112.10.79:8080/queues.jsp#>
> Operations<http://10.112.10.79:8080/queues.jsp#>
>     mdp.queue.timely<http://10.112.10.79:8080/browse.jsp?JMSDestination=mdp.queue.timely>
> 204 10 0 65 Browse<http://10.112.10.79:8080/browse.jsp?JMSDestination=mdp.queue.timely>
>  Send To<http://10.112.10.79:8080/send.jsp?JMSDestination=mdp.queue.timely&JMSDestinationType=queue>
> Purge<http://10.112.10.79:8080/purgeDestination.action?JMSDestination=mdp.queue.timely&JMSDestinationType=queue>
> Delete<http://10.112.10.79:8080/deleteDestination.action?JMSDestination=mdp.queue.timely&JMSDestinationType=queue>
>
Mime
View raw message