The default injector should perform bean post processing to setup @Produce and
the likes on the bean
----------------------------------------------------------------------------------------------------
Key: CAMEL-5149
URL: https://issues.apache.org/jira/browse/CAMEL-5149
Project: Camel
Issue Type: Improvement
Components: camel-core
Affects Versions: 2.9.1
Reporter: Claus Ibsen
Assignee: Claus Ibsen
Fix For: 2.10.0, 2.9.2
If you are not using Spring, Blueprint, Guice etc. And rely on the default
implementation of the Injector, then that currently just creates a bean
instance using the no-arg ctr. We should also perform bean post processing,
which we have available from the DefaultCamelBeanPostProcessor which can inject
@Procuce, @Consume etc. on the bean.
See nabble
http://camel.465427.n5.nabble.com/My-long-running-bean-sending-out-messages-tp5622710p5622710.html
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira