camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanq <>
Subject Re: Best way to throw away an exchange in a route in an otherwise() case
Date Sat, 17 Oct 2009 00:02:10 GMT

I think I found the solution in the documentation (that's what I get for
finally posting a question - never fails I will find the answer 10 minutes

This is waht I have now:


Specifically - I added the .stop() to the otherwise() path. 


Is that the correct way to do it?  My unit tests seem to say so..but I
wanted to ask the experts to be sure.
View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message