You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/12/10 07:15:00 UTC

[jira] [Commented] (CAMEL-12988) Update doc to clarify how to specify routes to start up last

    [ https://issues.apache.org/jira/browse/CAMEL-12988?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16714368#comment-16714368 ] 

ASF GitHub Bot commented on CAMEL-12988:
----------------------------------------

tadayosi opened a new pull request #2662: CAMEL-12988: Update doc to clarify how to specify routes to start up last
URL: https://github.com/apache/camel/pull/2662
 
 
   https://issues.apache.org/jira/browse/CAMEL-12988
   
   Also includes a commit for CAMEL-11497, which is the required artifact for the fix to be based on.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Update doc to clarify how to specify routes to start up last
> ------------------------------------------------------------
>
>                 Key: CAMEL-12988
>                 URL: https://issues.apache.org/jira/browse/CAMEL-12988
>             Project: Camel
>          Issue Type: Task
>          Components: documentation
>    Affects Versions: 2.23.0
>            Reporter: Tadayoshi Sato
>            Assignee: Tadayoshi Sato
>            Priority: Major
>
> To specify routes to start up last, you can set up the {{startupOrder}} number to much bigger than {{1000}} (e.g. {{10000}}) and it is [the officially supported way|https://github.com/apache/camel/commit/f0d50d952e6cfee4890dac7b999edac055406dfd].
> However, the old doc is still obscure in that whether you can use the numbers {{>= 1000}} for the {{startupOrder}} attribute. See:
> [http://camel.apache.org/configuring-route-startup-ordering-and-autostartup.html]
> {quote}You can also configure the order in which routes are started. Previously Camel started the routes in a non deterministic order. Now you have fine grained control in which order the routes should be started. There is a new attribute startupOrder which is a Integer that states the order. Camel then sorts the routes before starting time. The routes with the lowest startupOrder is started first. All startupOrder defined must be unique among all routes in your CamelContext.
>  You should also use numbers that are lower than 1000, as routes without an explicit startupOrder define will have a number starting from 1000 auto assigned. So view numbers from 1000 upwards as reserved internally for Camel itself.
> {quote}
> Let's update the doc to clarify this supported way.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)