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

Component DSL - To configure components like endpoint DSL

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      Some components can also be configured, and today you can configure them via

      • spring boot auto configuration
      • camel main configuration
      • java code manually via setter/getter
      • xml syntax via <bean>

      We should look at generating a Java component DSL with fluent builder like camel-endpointdsl. Then its similar and you can configure them

      component().jms().concurrentConsumers(5).keepAlive(6000)

      And then later if/when we do a XML version of endpoint DSL we can do one for components too.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                omarsmak Omar Al-Safi
                Reporter:
                davsclaus Claus Ibsen
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m