Hi,
I need to inject one converter into another.
I have tried something like this XML:
<bean id="firstConverter"
class="com.rulestream.converters.FirstConverter">
<property name="secondConverter" ref="secondConverter"/>
</bean>
<bean id="secondConverter"
class="com.rulestream.converters.SecondConverter"/>
When the route is called that uses the firstConverter, its secondConverter
has not been injected. Since the secondConverter appears to never be
injected, I am guessing that the DefaultTypeConverter converter is just
finding the annotated Converter in the com.rulestream.converters package.
>From the Camel documentation:
"If a converter requires configuration you can plug in an Injector interface
to the DefaultTypeConverter which can construct and inject converter objects
via Spring or Guice."
Can anyone help guide me through this process?
Thanks in advance,
Marc
--
View this message in context:
http://www.nabble.com/Converters-via-Spring-XML-tp17693960s22882p17693960.html
Sent from the Camel - Users mailing list archive at Nabble.com.