Riding the Apache Camel [Video]
You can now enable live reload of your Camel XML routes, which will trigger a reload on-the-fly whenever you save the XML file from your editor.
Join the DZone community and get the full member experience.
Join For FreeCamel Live Reload of XML routes
It's been a while since I last did a Camel video. Today, I recorded a video of the upcoming live reload functionality in Camel 2.19.
You can now enable live reload of your Camel XML routes, which will trigger a reload on-the-fly whenever you save the XML file from your editor.
This is demonstrated in the short 5-minute video.
You can use the Camel live reload easily when using:
- Camel standalone with Camel Main class.
- Camel Spring Boot.
- From the camel:run Maven plugin.
For other use cases, you can enable this manually be setting a ReloadStrategy on the CamelContext. We provide the FileWatcherReloadStrategy out of the box, which is what is used above as well. However, the idea is that end users can provide their own custom strategies as well.
We ship two examples out of the box which you can look at and try for yourself:
Published at DZone with permission of Claus Ibsen, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments