So that class implements the boiler plate code for lifecycle management (start, stop, suspend, resume, isStarting, isStopping, etc).
If you want to have one of your custom classes managed by camel, you can register it as a "service" by Implementing Service.java (or extending ServiceSupport) and calling CamelContext#addService()... You could also plug into the lifecycle by implementing http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/LifecycleStrategy.htmland registering with CamelContext#addLifecycleStrategy On Tue, Aug 27, 2013 at 12:28 PM, kiranreddykasa <kirankuma...@fss.co.in>wrote: > Hi i would like to know how to use the following class > > > http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/support/ServiceSupport.html > > how can I make my custom class so that it is managed by camel ?? > > > > ----- > Regards > > kiran Reddy > -- > View this message in context: > http://camel.465427.n5.nabble.com/Camel-service-start-stop-tp5738073.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- *Christian Posta* http://www.christianposta.com/blog twitter: @christianposta