Hi

by your provided route you don't make use of the Spring's managed "svrsend"
Bean but instantiate another copy by yourself inside the route.

For example if you want to call the hello method on your Spring Bean you
could do something like:

   to("bean:svrsend?method=hello")

And as the Spring's managed Bean gets reused here by Camel then the Bean's
"server" property should have your expected "dev" value.

Babak


--
View this message in context: 
http://camel.465427.n5.nabble.com/Bean-s-property-value-is-null-when-used-in-a-route-tp5638139p5638171.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to