Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Riding the Apache Camel [Video]

DZone's Guide to

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.

· Integration Zone
Free Resource

Modernize your application architectures with microservices and APIs with best practices from this free virtual summit series. Brought to you in partnership with CA Technologies.

Camel 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:

The Integration Zone is proudly sponsored by CA Technologies. Learn from expert microservices and API presentations at the Modernizing Application Architectures Virtual Summit Series.

Topics:
apache camel ,java ,xml ,integration

Published at DZone with permission of Claus Ibsen, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}