You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Nidhi Agarwal <ni...@gmail.com> on 2020/07/15 07:07:53 UTC
Camel 2.11.1 | FileWatch producer hot reloading
Hi camel support community members,
We are using camel apache 2.11.1 for defining producer and consumer. I am
trying to move producers from meta-inf directory to file system. Below code
works good. But, if we change this OneAppDropTwoEnableInjector.groovy, we
need to restart server for reflecting these changes. Please suggest right
way to handle this.
<route>
<from uri=*"direct:0~2~email~payment-authorized-routes"* />
<to
uri=
*"commLang:groovy:file:///app/scripts/OneAppDropTwoEnableInjector.groovy"*
/>
</route>
Looking forward for your expert opinion.
Thanks,
Nidhi