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

Java DSL - Allow to configure parallel processing and similar using a string configuration type

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.16.0
    • camel-core, eip
    • None
    • Unknown

    Description

      In XML DSL you can configure parallelProcessing="myConfig" to refer to a property placeholder.

      In Java DSL this is a bit harder as the DSL uses .parallelProcessing() to enable this. But to use a placeholder you would need to write a bit more java code to do this.

      We should allow to do in Java DSL, eg a boolean and String type, where the latter does the same as XML DSL to do a property placeholder.

      .parallelProcessing(true)
      .parallelProcessing("myConfig")

      See nabble
      http://camel.465427.n5.nabble.com/DSL-to-dynamically-enable-disable-parallelProcessing-tp5770389.html

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: