Edin Hodzic created CAMEL-7961:
----------------------------------

             Summary: camel-scala - Auto startup not available in Scala DSL
                 Key: CAMEL-7961
                 URL: https://issues.apache.org/jira/browse/CAMEL-7961
             Project: Camel
          Issue Type: Improvement
          Components: camel-scala
    Affects Versions: 2.14.0
            Reporter: Edin Hodzic
            Priority: Minor


The 
[{{autoStartup}}|http://camel.apache.org/configuring-route-startup-ordering-and-autostartup.html]
 method is missing from the Scala DSL.

{code:title=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")
  }
}
{code}

This should be added to the Scala DSL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to