activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul French <paul.fre...@frenchiesystems.com>
Subject Re: I can’t receive more than 2 messages simultaneously with DefaultMessageListenerContainer
Date Sat, 17 Feb 2007 00:40:02 GMT

You need to give more info since it is not clear what you are trying to do.

The Listener Container you have configured will start 50 threads all waiting
to consume messages.

Give more info and I will be happy to help.


cafe wrote:
> 
> I have an app where I’m using spring 2.0 and activeMQ4.1.0. In this app I
> need to process many message and send files to another queue, all this
> simultaneously, so I have configured a DefaultMessageListenerContainer in
> this way:
> 
>  
> 	<bean id="updateContainer" 
> 	  
> class="org.springframework.jms.listener.DefaultMessageListenerContainer">
> 		<property name="concurrentConsumers" value="50" />
> 		<property name="connectionFactory" ref="jmsFactory" />
> 		<property name="destination" ref="requestUpdateQueue" />
> 		<property name="messageListener" ref="requestUpdateListener" />
> 	</bean>
> 
> 
> 
> Buy the problem is that when the clients increase more than 2, the
> transferring is stopped.
> 
> Could be this a bug?
> 
> Regards…
> 
> 

-- 
View this message in context: http://www.nabble.com/I-can%E2%80%99t-receive-more-than-2-messages-simultaneously-with-DefaultMessageListenerContainer-tf3241539s2354.html#a9015235
Sent from the ActiveMQ - User mailing list archive at Nabble.com.


Mime
View raw message