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

camel-scala - Auto startup not available in Scala DSL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.14.0
    • 2.15.0
    • camel-scala
    • None
    • Unknown

    Description

      The autoStartup method is missing from the Scala DSL.

      MyRoute.scala
      import org.apache.camel.scala.dsl.builder.RouteBuilder
      
      class MyRoute extends RouteBuilder {
        "direct:start" ==> {
          autoStartup(false) // this is not available
          autoStartup("{{some.route.auto.startup}}") // this is not available
          noAutoStartup() // this is not available
          to("mock:end")
        }
      }
      

      This should be added to the Scala DSL.

      Attachments

        Activity

          People

            njiang Willem Jiang
            edinhodzic Edin Hodzic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: