camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GegeFR <gwenhael.pasqui...@ericsson.com>
Subject Re: free resources when error happen splitting with custom method
Date Tue, 11 Aug 2015 12:39:26 GMT
I just found out that i could put a callback on the exchange with the methdo
addOnCompletion.
It allows me to close the reader when "onFailure" (or onComplete) happens.

It is the best way to do that ?



--
View this message in context: http://camel.465427.n5.nabble.com/free-resources-when-error-happen-splitting-with-custom-method-tp5770573p5770575.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Mime
View raw message