Thanks for the response.
I was just thinking about this a little further. If an exception occurs in
my consumer, I really just need to restart the consumer not the whole route.
If I take this approach, i.e.
class CustomConsumer extends DefaultConsumer implements Runnable{
......
public void run(){
try{
} catch (Exception exc){
doStop();
doStart();
}
.....
}
By only restarting the consumer I will not need to worry about inflight
exchanges, right?
Is it bad practise to restart a consumer in isolation?
Thanks
Joe
--
View this message in context:
http://camel.465427.n5.nabble.com/Camel-Component-Consumer-Threading-Question-tp5714233p5714559.html
Sent from the Camel - Users mailing list archive at Nabble.com.