Hi All,

I am using Camel 2.15.2 and I came across issue CAMEL-9480. I cant upgrade
my camel version at the moment because of other dependencies. So I was
looking for a way to introduce custom IdempotentConsumer which will
basically have logic like below


@Override
public boolean process(final Exchange exchange, final AsyncCallback
callback) {
try
{ return super.process(exchange, callback); }

catch (Exception e)
{ exchange.setException(e); callback.done(true); return true; }

}


I looked at article https://dzone.com/articles/creating-custom-camel but it
dosent seems to satisfy my requirement.  





--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-create-custom-IdempotentConsumer-tp5779154.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to