I am using Camel-CDI features in a war with multiple camel contexts
(initialised via a factory), all of them sharing the same set of Camel
components (initialised via a factory):


In a route being part of a particular context, I want to inject properties
(coming from my property file):


This is working fine...as soon as i specify a context on the
@PropertyInject.
I do not understand why the context addition is necessary as:
- the context is already set on the route builder 
- my properties component is shared across all contexts (cfr
@ApplicationScoped) 





--
View this message in context: 
http://camel.465427.n5.nabble.com/Why-do-we-have-we-to-specify-a-context-for-PropertyInject-tp5796699.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to