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 <[email protected]> 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 -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2nd edition: https://www.manning.com/books/camel-in-action-second-edition
