Re: ActiveMQ producer/consumer hangs when on of the consumer didn't respond

2009-03-20 Thread ashoknan
Thanks Gary for your response..We have a prefetch of 10..jms.prefetchPolicy.all=10. The thing which i am not sure ,why when one of the Consumer got the stuck in the smtp response other consumer for the same selector is stuck.(I have 5 Conusmer for the same selector). Not only the consumer got st

Re: ActiveMQ producer/consumer hangs when on of the consumer didn't respond

2009-03-20 Thread Gary Tully
Prefetch is the problem with pooling consumers. A consumers pre-fetched messages, when that consumer is in a pool, may stay there till the pool is closed and will not be available to other consumers. 2009/3/20 ashoknan > > Am i no

Re: ActiveMQ producer/consumer hangs when on of the consumer didn't respond

2009-03-19 Thread ashoknan
Am i not supposed to use PooledConnectionFactory for consuming messages.See the below Java Doc http://activemq.apache.org/maven/act...onFactory.html A JMS provider which pools Connection, Session and MessageProducer instances so it can be used with tools like Spring's JmsTemplate. NOTE this im

ActiveMQ producer/consumer hangs when on of the consumer didn't respond

2009-03-18 Thread ashoknan
We are using ActiveMQ 5.1 & Spring 2.5.4... We are using ActiveMQ Embeeded broker vm://localhost?broker.persistent=false We are sending the email from all these listeners after doing some logic.when something happens in the SMTP side and if the