Re: How to discard messages for the non-durable queue

2009-03-25 Thread ashoknan
ssages NON_PERSISTENT that should work. > If you send PERSISTENT messages, you should probably configure the > DiscardingDLQBrokerPlugin as well. > > > Best regards > Andreas > > On Mar 24, 2009, at 10:16 PM, ashoknan wrote: > >> >> I am using ActiveMQ

How to discard messages for the non-durable queue

2009-03-24 Thread ashoknan
I am using ActiveMQ 5.1..wanted to know how to discard messages for the non-durable queue. Trying to deal with slow consumer problem...Wanted to avoid Broker reaching 100%. When ever broker reaches 100% on the memory, everything stops. Will discarding will avoid broker reaching 100% on the memory

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

2009-03-20 Thread ashoknan
l the pool is closed and > will > not be available to other consumers. > > 2009/3/20 ashoknan > >> >> Am i not supposed to use PooledConnectionFactory for consuming >> messages.See >> the below Java Doc >> >> http://activemq.apache.org/maven/act..

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