camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bocamel <>
Subject How to set a message header to an object in spring?
Date Tue, 18 Feb 2014 04:26:50 GMT
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.


View this message in context:
Sent from the Camel - Users mailing list archive at

View raw message