For the Camel component you can take a look at the lifecycle page at
So you custom component should just implement the Service interface in Camel and you have callbacks for start and stop.
If you component extend DefaultComponent then it should already implement the Service. The idea is then you can override the doStart / doStop methods.
Thanks. That answers my question.
Also, nice chatting with you at "FUSE Meet Up-Boston", August 17th 2010.
Thanks I have fixed the link.
Yeah it was a pleasure being in Boston and meeting real end users.
For the record what "really" enable the spring destroy method processing is when I set:
OsgiBundleXmlApplicationContext osgiContext; //... osgiContext.registerShutdownHook();