[
https://issues.apache.org/jira/browse/CAMEL-15059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-15059.
---------------------------------
Resolution: Fixed
> camel-endpointdsl - Allow to @EndpointInject and use type-safe API
> ------------------------------------------------------------------
>
> Key: CAMEL-15059
> URL: https://issues.apache.org/jira/browse/CAMEL-15059
> Project: Camel
> Issue Type: New Feature
> Components: camel-endpointdsl
> Reporter: Claus Ibsen
> Assignee: Claus Ibsen
> Priority: Major
> Fix For: 3.4.0
>
>
> Lets see if we can make Camel support dependency inject and endpoint via
> {code}
> @EndpointInject
> private Endpoint foo = kafka("cheese").brokers("somebrokers").xxxx;
> {code}
> In POJO classes. Currently the endpoint-dsl requires to call resolve(context)
> to build the endpoint. But maybe we can find a way via @EndpointInject to
> help trigger this, or something ala
> {code}
> @EndpointInject(builder = kafka("cheese").brokers("somebrokers"))
> private Endpoint foo;
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)