camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edin Hodzic (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CAMEL-7961) camel-scala - Auto startup not available in Scala DSL
Date Sun, 26 Oct 2014 00:47:33 GMT
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)

Mime
View raw message