Hi Pascal,
I think you'll find StartupListener[1] helpful, there is a
`addStartupListener` method on the CamelContext,

zoran

[1] 
https://github.com/apache/camel/blob/master/camel-core/src/main/java/org/apache/camel/StartupListener.java

On Wed, Nov 8, 2017 at 8:24 PM, Pascal Schumacher
<pascalschumac...@gmx.net> wrote:
> Hello everybody,
>
> using camel 2.20 with spring 5.0.1 and need to start another component
> (defined as spring bean) after camel context has started. I added
> 'depends-on="camelContextId"' to the other beans spring xml definition, but
> this has a no effect as the camel context is starting asynchronously.
>
> Any ideas how to solve this?
>
> Thanks and kind regards,
>
> Pascal
>



-- 
Zoran Regvart

Reply via email to