Re: TimerBasedPooling with selector

2012-11-29 Thread Claus Ibsen
On Thu, Nov 29, 2012 at 5:46 PM, Sébastien Foubert wrote: > Hi, > > I use a timer based pooling consumer like this, > http://camel.apache.org/polling-consumer.html#PollingConsumer-Timerbasedpollingconsumer > > The difference is that to consume messages, i use a jms selector like this > * String m

TimerBasedPooling with selector

2012-11-29 Thread Sébastien Foubert
Hi, I use a timer based pooling consumer like this, http://camel.apache.org/polling-consumer.html#PollingConsumer-Timerbasedpollingconsumer The difference is that to consume messages, i use a jms selector like this * String message = consumer.receiveBody("activemq:com.xxx.esb.myqueue?selector=JM