I\'m running a Camel Spring OSGI application. The Camel context is initialized through Spring. When the bundle stops, I need to do some clean-up activities, like de-register
You can use Camel Route policy and write your code to cleanup resource when the route is about to stop or be removed from the context.