Re: Camel-boot autowiring issue

2015-01-06 Thread Steven Marcus
assertEquals(1, camelContext.getRoutes().size()); } } Camel + spring boot looks like a great combo... TIA! Steven -- View this message in context: http://camel.465427.n5.nabble.com/Camel-boot-autowiring-issue-tp5758543p5761414.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-boot autowiring issue

2014-11-07 Thread vasilievip
See attached: camel-spring-boot-example.zip <http://camel.465427.n5.nabble.com/file/n5758700/camel-spring-boot-example.zip> - Run Boot1 and take a look at output - Run Boot2 and take a look at output -- View this message in context: http://camel.465427.n5.nabble.com/Camel-boot-auto

Re: Camel-boot autowiring issue

2014-11-07 Thread Henryk Konsek
> Looks like for the main, "optional" flag makes some classpath magic not > working :) > > org.springframework.boot > spring-boot-starter > ${spring-boot.version} > *true* Have you got any concrete example demonstrating this issue? I'd like

Re: Camel-boot autowiring issue

2014-11-07 Thread vasilievip
ext: http://camel.465427.n5.nabble.com/Camel-boot-autowiring-issue-tp5758543p5758675.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-boot autowiring issue

2014-11-07 Thread Henryk Konsek
> Oops, my bad, the issue is that spring-boot-autoconfigure dependency is only > available for test scope Everything's OK then? :) -- Henryk Konsek http://henryk-konsek.blogspot.com

Re: Camel-boot autowiring issue

2014-11-07 Thread vasilievip
Oops, my bad, the issue is that spring-boot-autoconfigure dependency is only available for test scope -- View this message in context: http://camel.465427.n5.nabble.com/Camel-boot-autowiring-issue-tp5758543p5758668.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-boot autowiring issue

2014-11-07 Thread vasilievip
It works well, but if I remove CamelAutoConfiguration.class from imports, then the issue is still the same (I guess CamelAutoConfiguration is processed *after* my routes config). -- View this message in context: http://camel.465427.n5.nabble.com/Camel-boot-autowiring-issue-tp5758543p575866

Re: Camel-boot autowiring issue

2014-11-06 Thread vasilievip
Thanks! Will try latest changes and let you know the results. -- View this message in context: http://camel.465427.n5.nabble.com/Camel-boot-autowiring-issue-tp5758543p5758592.html Sent from the Camel - Users mailing list archive at Nabble.com.

Re: Camel-boot autowiring issue

2014-11-06 Thread Henryk Konsek
Hi, > OK, I can see possible improvement for camel-spring-boot, as well as > small misconfiguration in your project. I'll send more details later > today. Stay tuned :) I tuned the camel-spring-boot code to postpone the moment of injecting routes until all beans are initialized. This will help to

Re: Camel-boot autowiring issue

2014-11-05 Thread Henryk Konsek
OK, I can see possible improvement for camel-spring-boot, as well as small misconfiguration in your project. I'll send more details later today. Stay tuned :) Cheers. On Wed, Nov 5, 2014 at 3:53 PM, Henryk Konsek wrote: > Hi, > >> Here is sample project I prepared to demonstrate the issue: > >

Re: Camel-boot autowiring issue

2014-11-05 Thread Henryk Konsek
Hi, > Here is sample project I prepared to demonstrate the issue: I will take a look it shortly. Thanks for reporting :) . Cheers. -- Henryk Konsek http://henryk-konsek.blogspot.com

Camel-boot autowiring issue

2014-11-05 Thread vasilievip
n5.nabble.com/file/n5758543/camel-spring-boot-example.zip> Any advices are appreciated :) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-boot-autowiring-issue-tp5758543.html Sent from the Camel - Users mailing list archive at Nabble.com.