Reply:Connection pooling - validation

2011-12-26 Thread SuoNayi
Keeping alive works for this under the hood, that will send alive informaction every 30 seconds by default between client and server to keep the connection alive. -- Wangyin suonayi2...@163.com At 2011-12-26 21:32:13,"Stevo Slavić" wrote: >Hello ActiveMQ community, > >org.apache.activemq

Connection pooling - validation

2011-12-26 Thread Stevo Slavić
Hello ActiveMQ community, org.apache.activemq.pool.PooledConnectionFactory doesn't seem to support configuring validation of connections. Or am I missing something? Regards, Stevo.

Re: how can i config to let amq remove the queue message when timeout

2011-12-26 Thread Stevo Slavić
There is related ActiveMQ FAQ entry: http://activemq.apache.org/how-do-i-set-the-message-expiration.html Regards, Stevo. On Mon, Dec 26, 2011 at 12:30 PM, Stevo Slavić wrote: > Since you're using Spring, and using JmsTemplate to send messages, make > use of "void org.springframework.jms.core.Jm

Re: how can i config to let amq remove the queue message when timeout

2011-12-26 Thread Stevo Slavić
Since you're using Spring, and using JmsTemplate to send messages, make use of "void org.springframework.jms.core.JmsTemplate.send(Destination destination, MessageCreator messageCreator) throws JmsException" and implement MessageCreator which will set JMSExpiration sendTimeout and receiveTimeout h

how can i config to let amq remove the queue message when timeout

2011-12-26 Thread eric wen
hi, i have a program which receive client request and then transfer the message via amq to a processor which watches on the specified queue. However, the processor may not start up while the cilent request arrives, then amq will then store this message temporarily, and after the processor start