Hi,

Any help here will be highly appreciated.


On Fri, Dec 20, 2013 at 9:55 AM, Tarun Kumar <agrawal.taru...@gmail.com>wrote:

> I am using polling consumer.
>
> from("timer://foo?period=5000").bean(cool, "someBusinessLogic");
>
> public static class MyCoolBean {
>
>   private ConsumerTemplate consumer;
>
>    public void setConsumer(ConsumerTemplate consumer) {
>         this.consumer = consumer;
>     }
>
>    public void someBusinessLogic() {
>
>       Exchange exchange
> = 
> consumer.receive("catalogJms:queue:queueName?mapJmsMessage=false&acknowledgementModeName=CLIENT_ACKNOWLEDGE");
>
> }
>
>
> Even though i am not sending acknowledgement for received message, each
> time it is polling different message. Any idea why that's happening?
>

Reply via email to