You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2019/05/27 11:14:00 UTC

[jira] [Commented] (CAMEL-13584) Camel main - Calling init should initialize as much as possible

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

Claus Ibsen commented on CAMEL-13584:
-------------------------------------

The init does not pre-start routes, which is what start would do. As this can lead to resources doing live remote connections and whatnot. But it does all of the configuration and wirings.

> Camel main - Calling init should initialize as much as possible
> ---------------------------------------------------------------
>
>                 Key: CAMEL-13584
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13584
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.0.0, 3.0.0-M3
>
>
> So we can eager init as much as possible when running Camel Main, by calling main.init() method. This can be used to warmup Camel.



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