camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Claus Ibsen <>
Subject Re: Camel service start/stop
Date Wed, 28 Aug 2013 05:58:28 GMT

See also

If your class is used in a route as part of a process or bean then
Camel will manage its lifecycle (eg calling start/stop etc). And
enlist in JMX also.

Though if your bean is used outside Camel you need to handle this
yourself, for example as Christian said you can use addService method
on CamelContext to add it to Camel and it will then also manage its
lifecycle when Camel starts/stops.

If you want your bean to be in JMX. Then spring has a jmx exporter you
can use for that also.

On Tue, Aug 27, 2013 at 9:28 PM, kiranreddykasa <> wrote:
> Hi i would like to know how to use the following class
> how can I make my custom class so that it is managed by camel ??
> -----
> Regards
> kiran Reddy
> --
> View this message in context:
> Sent from the Camel - Users mailing list archive at

Claus Ibsen
Red Hat, Inc.
Twitter: davsclaus
Author of Camel in Action:

View raw message