Hello,

I would like to set a spring defined bean

<bean id="someBean" class="org.who.knows.SomeBean" scope="prototype">           
  <property name="someProperty" value="something"/>
</bean>

in a spring camel route like

<route id="someRoute">
  <from uri="{{some.starting.endpoint}}"/>
  <setProperty>
    ? what to put here ?
  </setProperty>
  <to uri="{{some.ending.endpoint}}"/>
</route>

will 

<simple>${someBean}</simple>

work?

Thanks.



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-set-spring-bean-into-exchange-property-tp5730616.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to