You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Omar Al-Safi (Jira)" <ji...@apache.org> on 2019/11/27 10:33:00 UTC

[jira] [Created] (CAMEL-14222) Context DSL to configure camel context using DSL

Omar Al-Safi created CAMEL-14222:
------------------------------------

             Summary: Context DSL to configure camel context using DSL 
                 Key: CAMEL-14222
                 URL: https://issues.apache.org/jira/browse/CAMEL-14222
             Project: Camel
          Issue Type: New Feature
    Affects Versions: 3.0.0
            Reporter: Omar Al-Safi
             Fix For: Future


While I was thinking of CAMEL-13807 and the endpoint DSL, I thought it would be cool to combine these DSLs into global camel context DSL where the user just configure DSL without doing much further, e,g:
{code}
camelContext.builder()
                .components().jms(). concurrentConsumers()
                .routes()
                    .from(kafka(....))
                        .marshal().json()
                    .to(file(....))
                .end()
          .start();
{code}
Above is just a rough idea, not sure how feasible it is but I think is going to be very cool to have such feature in Camel, it could simplify camel context to users.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)