[
https://issues.apache.org/jira/browse/CAMEL-22170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18151666#comment-18151666
]
Claus Ibsen commented on CAMEL-22170:
-------------------------------------
This ticket is a reminder without a reproducer or profile, so there is nothing
concrete to work on. If loading routes
with `RoutesLoader` is still slow on a current Camel version, please open a new
ticket with a sample route, the DSL
used, the numbers and ideally a profile (for example from
`camel.main.startupRecorder`).
_Claude Code on behalf of davsclaus_
> Improve performance of loading of routes
> ----------------------------------------
>
> Key: CAMEL-22170
> URL: https://issues.apache.org/jira/browse/CAMEL-22170
> Project: Camel
> Issue Type: Improvement
> Components: camel-core
> Affects Versions: 4.12.0
> Reporter: Raymond
> Priority: Minor
> Fix For: Future
>
>
> One of the most common task in Camel is routing of routes or routeTemplated
> (templatedRoutes).
> It's not slow, but sometimes loading a few routes can take a bit of time (a
> couple of hundred milliseconds per route) using the routesLoader:
> {code:java}
> RoutesLoader loader = PluginHelper.getRoutesLoader(context);
> loader.updateRoutes(routeResource);{code}
> As discussed with [~orpiske] there may be ways to improve which would hugely
> benefit my setup, but would be beneficial for all Camel users. This ticket is
> created as a reminder to improve the loading when there is time.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)