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=JMSTimestamp<"
+ (System.currentTimeMillis() - this.delay), this.wait,
String.class);*
But, it will create a lot of active openwire connections on queue, that
will be never closed
i tried a consumerTemplate.close() but it does'nt nothing.
When no selector is specified, only one active consumer is present.
i use servicemix 4.4 with camel 2.8 and activemq.
Have you a idea, how to close this connections ?
Thanks,
Sébastien F.