Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reload Camel.xml without restarting ActiveMQ

Is it posible to reload camel configuration for ActiveMQ without restarting service?

like image 402
spiaire Avatar asked Dec 03 '25 06:12

spiaire


1 Answers

If you by reloading mean re-read the xml configuration camel.xml (or similar) within a standalone ActiveMQ installation, then it's non trivial. ActiveMQ is merly a spring application that creates some beans on startup (ActiveMQ, Jetty, Camel..).

What you need is a more dynamic runtime. Apache Karaf can easily run ActiveMQ as well as Camel context files that redeploy upon change. You might want to look into Apache ServiceMix and RedHat Jboss Fuse which are prebundled packages with Karaf+Camel+ActiveMQ. It's trivial to setup from a plain Karaf though.

How to install Camel in Karaf

A tutorial by Christian Schneider

like image 107
Petter Nordlander Avatar answered Dec 08 '25 21:12

Petter Nordlander



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!