[
https://issues.apache.org/jira/browse/CAMEL-7961?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14184732#comment-14184732
]
Willem Jiang commented on CAMEL-7961:
-------------------------------------
I just commit a quick fix for it, now we can just call the autoStartup after
from().
> 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
> Assignee: Willem Jiang
> Priority: Minor
> Fix For: 2.15.0
>
> Attachments:
> CAMEL-7961_added_autoStartup_and_noAutoStartup_to_Scala_DSL.patch
>
>
> 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)