[
https://issues.apache.org/jira/browse/CAMEL-7725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14103291#comment-14103291
]
Willem Jiang commented on CAMEL-7725:
-------------------------------------
Applied the patch into camel master with thanks to Edin. I also added an unit
test for it.
> camel-scala - Startup order not available in Scala DSL
> ------------------------------------------------------
>
> Key: CAMEL-7725
> URL: https://issues.apache.org/jira/browse/CAMEL-7725
> Project: Camel
> Issue Type: Improvement
> Components: camel-scala
> Affects Versions: 2.13.2
> Reporter: Edin Hodzic
> Assignee: Willem Jiang
> Priority: Critical
> Fix For: 2.14.0
>
> Attachments: camel-7725-patch.txt
>
>
> The
> [{{startupOrder}}|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" ==> {
> startupOrder(1) // this is not available
> to("mock:end")
> }
> }
> {code}
> This is an important piece of functionality to have for any non-trivial route
> integration.
--
This message was sent by Atlassian JIRA
(v6.2#6252)