You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2020/05/13 17:29:00 UTC

[jira] [Created] (CAMEL-15059) camel-endpointdsl - Allow to @EndpointInject and use type-safe API

Claus Ibsen created CAMEL-15059:
-----------------------------------

             Summary: 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
             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)