Thanks Christian for your test.

I had a look on your UT and re-checked my code. There is no problem with the
topic and the route config. The problem seem comes from Processor.

from("jms:topic:topic1").process(new Processor() { 

        @Override 
        public void process(Exchange exchange) throws Exception { 
                System.out.println(exchange.getIn().getBody()); 
        } 
}); 

There is only one message sent to the endpoint but seem the processor was
executed multiple times. Is there any problem with the ThreadExecutor inside
the consumer?

Thanks,
Nhan



--
View this message in context: 
http://camel.465427.n5.nabble.com/The-producer-sent-only-one-message-but-the-comsumer-received-multiple-messages-with-same-content-tp5736733p5736752.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to