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

The Integration Zone is brought to you in partnership with Cloud Elements. What's below the surface of an API integration? Download The Definitive Guide to API Integrations to start building an API strategy.

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:

Your API is not enough. Learn why (and how) leading SaaS providers are turning their products into platforms with API integration in the ebook, Build Platforms, Not Products from Cloud Elements.

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.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}