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
t; > 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
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.

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 wrote: > Hi > I've cre

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
vate SpringCamelContext 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-tp5798802

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-10 Thread Zoran Regvart
gt; ? >> >> 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 ... >> >> >> >> -- >> View this message in co

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-10 Thread Zoran Regvart
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 mailing list archive at Nabble.com. -- Zoran Regvart

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-10 Thread Hetmoteus
ntext: 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
g 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-

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-10 Thread Hetmoteus
ndling 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
actory 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 > > > > --

Re: OnApplicationEvent not called with CamelAutoConfiguration

2017-05-09 Thread Hetmoteus
t-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
this issue 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