Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14222

Context DSL to configure camel context using DSL

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.0.0
    • Fix Version/s: Future
    • Component/s: camel-core
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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:

      camelContext.builder()
                      .components().jms(). concurrentConsumers()
                      .routes()
                          .from(kafka(....))
                              .marshal().json()
                          .to(file(....))
                      .end()
                .start();
      

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              omarsmak Omar Al-Safi
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: