Re: Syncope + Camel + Spring problem

2016-09-21 Thread Colm O hEigeartaigh
Great, thanks! Colm. On Wed, Sep 21, 2016 at 10:59 AM, Francesco Chicchiriccò < ilgro...@apache.org> wrote: > On 21/09/2016 11:57, Colm O hEigeartaigh wrote: > >> Yep that works thanks! How is camelRoutesContext being picked up? >> > > This is the reason - no Java code modification is needed: >

Re: Syncope + Camel + Spring problem

2016-09-21 Thread Francesco Chicchiriccò
On 21/09/2016 11:57, Colm O hEigeartaigh wrote: Yep that works thanks! How is camelRoutesContext being picked up? This is the reason - no Java code modification is needed: https://github.com/apache/syncope/blob/2_0_X/fit/core-reference/src/main/webapp/WEB-INF/web.xml#L28-L33 Regards. On

Re: Syncope + Camel + Spring problem

2016-09-21 Thread Colm O hEigeartaigh
Yep that works thanks! How is camelRoutesContext being picked up? Colm. On Tue, Sep 20, 2016 at 5:44 PM, Francesco Chicchiriccò wrote: > Il 20 settembre 2016 17:36:08 CEST, Colm O hEigeartaigh < > cohei...@apache.org> ha scritto: > >On Tue, Sep 20, 2016 at 4:02 PM,

Re: Syncope + Camel + Spring problem

2016-09-20 Thread Francesco Chicchiriccò
Il 20 settembre 2016 17:36:08 CEST, Colm O hEigeartaigh ha scritto: >On Tue, Sep 20, 2016 at 4:02 PM, Francesco Chicchiriccò >> wrote: > > >> You could do: >> >> ApplicationContext appContext = new >> ClassPathXmlApplicationContext( >>

Re: Syncope + Camel + Spring problem

2016-09-20 Thread Colm O hEigeartaigh
On Tue, Sep 20, 2016 at 4:02 PM, Francesco Chicchiriccò wrote: > You could do: > > ApplicationContext appContext = new > ClassPathXmlApplicationContext( > new String[]{"camel-beans.xml"}, >

Re: Syncope + Camel + Spring problem

2016-09-20 Thread Francesco Chicchiriccò
On 20/09/2016 16:45, Colm O hEigeartaigh wrote: Hi all, I've run into a problem with the way we set Camel up in Syncope. The use-case is when you want to modify one of the routes to use a Camel component that requires a pre-defined bean in the Camel Registry. There is no way to do this in the