Hi,
you have probably meant to use {{sample.route.myroute.processor.myprocessorid}}

Dne 23.9.2019 v 14:30 sujin sr napsal(a):
Hi,

I have a .yml file where all the route information has been defined, i have
injected the value into the route. But injected value has been applied for
route id and autostartup but value not has been applied for custom
processor id. I am using springboot to start the camel context

example route:
<route id="{{sample.route.myroute.id}}"
autoStartup="{{sample.route.myroute.autostart:true}}">
     <from uri="direct:my_route_end"/>
     <process id="{{sample.route.myroute.myprocessorid}}"
ref="mySampleProcessor"/>
     <choice>
....
</route>

In this route value has been applied for  sample.route.myroute.id and
sample.route.myroute.autostart but  value for
sample.route.myroute.myprocessorid not injected.

example yml file
sample:
   route:
     myroute:
     id: myrouteId
     processor:
       myprocessorid: mySampleProcessor
       secondprocessor: mysecondProcessor

Kindly help me with this !!!


Reply via email to