I am trying to pass a DAO object to a processor through message header.  But
I cannot find out how to do this in Spring DSL.  The following XML does not
work (complaining that no expression found in registry for myDao):

<bean id="myDao" class="...." />

...

<setHeader headerName="dao"><ref>myDao</ref></setHeader>

Any help will be greatly appreciated.

Thanks!



--
View this message in context: 
http://camel.465427.n5.nabble.com/How-to-set-a-message-header-to-an-object-in-spring-tp5747451.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to