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 2022/03/30 07:16:00 UTC

[jira] [Comment Edited] (CAMEL-17863) camel-main - Is loading routes from directory twice due to early modeline detection

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

Claus Ibsen edited comment on CAMEL-17863 at 3/30/22, 7:15 AM:
---------------------------------------------------------------

modeline
TODO: RoutesCollector -> collectResourcesFromDirectory
TODO: preParseRoute -> (yaml) but not for others


was (Author: davsclaus):
TODO: RoutesCollector -> collectResourcesFromDirectory
TODO: preParseRoute -> (yaml) but not for others

> camel-main - Is loading routes from directory twice due to early modeline detection
> -----------------------------------------------------------------------------------
>
>                 Key: CAMEL-17863
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17863
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-main
>    Affects Versions: 3.16.0
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Major
>             Fix For: 3.17.0
>
>
> We should optimize to only load routes once, so when we find routes eager due to modeline, then we keep them loaded, and then reuse them when later loading routes.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)