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 2021/06/21 08:59:00 UTC

[jira] [Commented] (CAMEL-16656) camel-core - RoutesLoader SPI - Allow to reload on changes

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

Claus Ibsen commented on CAMEL-16656:
-------------------------------------

We can use camel-quarkus with its dev mode that supports auto reloading/restarting

> camel-core - RoutesLoader SPI - Allow to reload on changes
> ----------------------------------------------------------
>
>                 Key: CAMEL-16656
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16656
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-core
>            Reporter: Claus Ibsen
>            Priority: Major
>             Fix For: 3.12.0
>
>
> Add some kind of feature to the RoutesLoader SPI whether it supports re-loading, such as the file based from yaml, or xml (though its harder to reload from classpath). But from file source or over http/github it can reload.
> We had in the past some file watcher thingy that could re-load routes if the file was changed/save.
> This allows to play with kamelets, xml | yaml routes etc from vanilla camel.
> For example to change this route
> https://github.com/apache/camel-examples/tree/main/examples/kamelet-main/src/main/resources/camel
> While the app is running, then we can have a mode where camel detects changes and reload the routes.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)