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