We use Apache Camel as a standalone application for ~ 2 years. It works very well but the need to restart the process to upgrade the application each time we add new routes becomes an issue.
We are searching for a new deployment solution that could allow us to deploy new routes without having to restart the main process.
There is no problem for us to rewrite our Java DSL routes in XML but the issue is that most of them (and probably future ones too) make use of custom beans, processors, components etc. to inject some logic that is too complex to be expressed in pure XML/Java DSL route.
After searching through Camel documentation, hot deploying XML routes seems to be possible with spring-boot or with Karaf/OSGI.
But i have no idea if it is possible to "hot-deploy" bean, processors, components etc. classes that are needed by theses XML routes. OSGI/Karaf looks promising but i have never used boths technologies and it is not easy to grasp their purpose at first glance.
Which deployment method and which technology could allow us to "hot deploy' routes and beans classes ?