On Wed, Mar 13, 2013 at 12:07 AM, sonusgr <mveligra...@gmail.com> wrote:
> any ideas?
>

If you use any of the Spring annotation stuff, eg @Value
Then you must let Spring handle the lifecycle / IoC / of this class /
processor. So you cannot do new MyXXXProcessor in the code. But have
to refer to a spring bean id instead. For example using the camel bean
component. Then Camel will lookup the bean in Spring, and Spring will
does its IoC stuff et all.



>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Can-t-read-properties-from-Processor-tp5728996p5729051.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: cib...@redhat.com
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to