camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Dudgeon <tdudgeon...@gmail.com>
Subject lifecycle of components
Date Tue, 02 Oct 2012 13:38:05 GMT
Are there any tricks or patterns to use when it comes to needing to 
manage the lifecyle of components used in Camel routes.
For instance if I write a custom Processor that creates something like a 
PreparedStatement how can I make sure its is close()'d when the 
CamelContext shuts down.

Thanks
Tim

Mime
View raw message