Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Unknown
Description
As discussed with davsclaus, would be very nice to have a mechanism in property auto configurations to define beans in their own namespace i.e. in order to make something like this possible:
camel.bean.mycf=#class:my.package.MyCf camel.bean.mycf.brokerUrl=localhost:61616 camel.bean.mycf.username=admin camel.bean.mycf.password=admin camel.component.sjms2.connectionFactory=#mycf
by instantiating, initializing and adding to the registry the mycf bean;
that would nicely enhance the current autoconfiguration mechanism and actually play quite nicely with the registry auto-discovery of single implementation factories (i.e. making the camel.component.sjms2.connectionFactory=#mycf unnecessary)
Attachments
Issue Links
- is related to
-
CAMEL-14670 @PropertyInject : support for complex - non primitive - injection
- Resolved