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] [Updated] (CAMEL-7961) camel-scala - Auto startup not available in Scala DSL
Date Sun, 26 Oct 2014 00:51:33 GMT

     [ https://issues.apache.org/jira/browse/CAMEL-7961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edin Hodzic updated CAMEL-7961:
-------------------------------
    Attachment: CAMEL-7961_added_autoStartup_and_noAutoStartup_to_Scala_DSL.patch

Attached patch for this feature.

> 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
>         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)

Mime
View raw message