Re: Injecting data to routes loaded from xml file

2011-08-02 Thread Claus Ibsen
e.camel.model classes. > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Injecting-data-to-routes-loaded-from-xml-file-tp4639765p4659913.html > Sent from the Camel - Users mailing list archive at Nabble.com. > -- Claus Ibsen - FuseS

Re: Injecting data to routes loaded from xml file

2011-08-02 Thread rogelio_sevilla1
e each time i create an instance, i need to pass different values to it. Is it possible to send the values on the variable myVar1 to the routes defined on the spring file?? -- View this message in context: http://camel.465427.n5.nabble.com/Injecting-data-to-routes-loaded-from-xml-file-tp4639765p46

Re: Injecting data to routes loaded from xml file

2011-07-28 Thread Claus Ibsen
t;> > However, at the moment of running this code, i'm getting this exception: >> > >> > >> > Failed to create route route1 at: >>> Bean[ref:myPojo method: >> getHtmlCode] >> >  because of No bean could be found in the registry for: myPojo >>

Re: Injecting data to routes loaded from xml file

2011-07-28 Thread Rogelio Alejandro Ortiz Sevilla
> >at > > > org.apache.camel.component.bean.RegistryBean.getBean(RegistryBean.java:68) > >at > > > org.apache.camel.model.BeanDefinition.createProcessor(BeanDefinition.java:155) > >at > > > org.apache.camel.model.Pr

Re: Injecting data to routes loaded from xml file

2011-07-28 Thread Claus Ibsen
RegistryBean.getBean(RegistryBean.java:68) >        at > org.apache.camel.model.BeanDefinition.createProcessor(BeanDefinition.java:155) >        at > org.apache.camel.model.ProcessorDefinition.makeProcessor(ProcessorDefinition.java:433) >        at > org.apache.camel.model.ProcessorDefinition.addRoutes(Proc

Re: Injecting data to routes loaded from xml file

2011-07-28 Thread rogelio_sevilla1
ddRoutes(RouteDefinition.java:815) Am i missing another step on the process?? -- View this message in context: http://camel.465427.n5.nabble.com/Injecting-data-to-routes-loaded-from-xml-file-tp4639765p4643056.html Sent from the Camel - Users mailing list archive at Nabble.com.

Injecting data to routes loaded from xml file

2011-07-27 Thread rogelio_sevilla1
ge in context: http://camel.465427.n5.nabble.com/Injecting-data-to-routes-loaded-from-xml-file-tp4639765p4639765.html Sent from the Camel - Users mailing list archive at Nabble.com.