It's not clear from the Javadoc if it will give me ways to know when a route start (not when it is added), but maybe I don't know well how Camel works…

Could you clarify that for me? Thanks :)

Le 13/10/2015 11:02, Claus Ibsen a écrit :
You can register a custom lifecycle to get callbacks
http://camel.apache.org/maven/current/camel-core/apidocs/org/apache/camel/spi/LifecycleStrategy.html

There is api on camel context to add it. or if you use spring then
just declare it as a <bean> and its auto enabled

On Tue, Oct 13, 2015 at 10:55 AM, Victor NOËL <victor.n...@linagora.com> wrote:
Hi,

I was wondering if it was possible to register something on a CamelContext
so that when a route deployed on it is started (using any type of from()),
some code is executed.

Optimally, it would be useful to know the component involved (if possible
the object, but even its string name could be useful).

Thank you

Victor



Reply via email to