Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.2-incubating
-
None
Description
Currently BeanProvider do not support lookups with Map result. In my case I create a adapter from Camel registry object to CDI bean registry. Camel uses different kind of lookups when needed:
- by name (when type is unknown)
- by type (for one instance)
- by name and type
- by type, with names
Second operation is used to collect for example all instances of given type (all Endpoint, Tracer implementations registered). Names are then used to get returned instances in correct places. Camel is container agnostic so we cannot rely on CDI features in all places.
Attachments
Attachments
Issue Links
- is required by
-
CAMEL-5145 Support cdi annotations in beans / camel-cdi refactor.
- Resolved