Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-12 Thread Hetmoteus
Hi, Thanks for the support. I'll note for next version upgrade. -- View this message in context: http://camel.465427.n5.nabble.com/OnApplicationEvent-not-called-with-CamelAutoConfiguration-tp5798802p5799363.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-12 Thread Zoran Regvart
uot;safe" > to use in production or I might encounter other problems. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/OnApplicationEvent-not-called-with-CamelAutoConfiguration-tp5798802p5799358.html > Sent from the Camel - Users mailing list archive at Nabble.com. -- Zoran Regvart

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-12 Thread Hetmoteus
ext: http://camel.465427.n5.nabble.com/OnApplicationEvent-not-called-with-CamelAutoConfiguration-tp5798802p5799358.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-11 Thread Zoran Regvart
Hi, you can checkout my reply in the other thread[1] to see if the workaround I described there helps you. zoran [1] http://camel.465427.n5.nabble.com/Camel-spring-boot-destroys-beans-with-wrong-order-tp5799304p5799322.html On Thu, May 11, 2017 at 10:58 AM, Zoran Regvart

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-11 Thread Zoran Regvart
Hi I've created CAMEL-11261[1] and pull request[2] can you test and provide feedback? thank you, zoran [1] https://issues.apache.org/jira/browse/CAMEL-11261 [2] https://github.com/apache/camel/pull/1685 -- Zoran Regvart

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-11 Thread Hetmoteus
ext camelContext; @Override public void onApplicationEvent(ApplicationEvent event) { camelContext.onApplicationEvent(event); } } -- View this message in context: http://camel.465427.n5.nabble.com/OnApplicationEvent-not-called-with-CamelAutoConfiguration-tp5798802p5799276.html Sent f

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-10 Thread Zoran Regvart
t handled by CamelAutoConfiguration >> ? >> >> What you are saying is that its not related to the onApplicationEvent method >> and the shutdownEager ? >> >> I'm lost really thought it was that and calling it was fixing it though ... >> >> >> >> -- &

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-10 Thread Zoran Regvart
? > > I'm lost really thought it was that and calling it was fixing it though ... > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/OnApplicationEvent-not-called-with-CamelAutoConfiguration-tp5798802p5799249.html > Sent from the Camel - Users

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-10 Thread Hetmoteus
: http://camel.465427.n5.nabble.com/OnApplicationEvent-not-called-with-CamelAutoConfiguration-tp5798802p5799249.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-10 Thread Claus Ibsen
hich is handling the spring shutdown. But this method > is never called. > > Is that normal ? When I create a @Component which @Inject SpringCamelContext > and call it manually it works. > > > > -- > View this message in context: > http://camel.465427.n5.nabble.co

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-10 Thread Hetmoteus
s handling the spring shutdown. But this method is never called. Is that normal ? When I create a @Component which @Inject SpringCamelContext and call it manually it works. -- View this message in context: http://camel.465427.n5.nabble.com/OnApplicationEvent-not-called-with-CamelAutoCon

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-10 Thread Zoran Regvart
ectionFactory to be destroyed before > the camel graceful shutdown. > > Anyone has this issue or can confirm ? > Has a fix, I created a component which is listening ApplicationEvent and > forwarding them to injected SpringCamelContext. > > Thanks > > > > -- > Vie

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-09 Thread Hetmoteus
-not-called-with-CamelAutoConfiguration-tp5798802p5799162.html Sent from the Camel - Users mailing list archive at Nabble.com.

OnApplicationEvent not called with CamelAutoConfiguration

2017-05-06 Thread Hetmoteus
or can confirm ? Has a fix, I created a component which is listening ApplicationEvent and forwarding them to injected SpringCamelContext. Thanks -- View this message in context: http://camel.465427.n5.nabble.com/OnApplicationEvent-not-called-with-CamelAutoConfiguration-tp5798802.html Sent from