Hello Claus, I created jira tickets CAMEL-11272, CAMEL-11273, CAMEL-11274, CAMEL-11275.
I now created a bean which sets the ReloadStrategy on the camel context. Is there another method of specifying an alternative ReloadStrategy using the camel-maven-plugin? -- vriendelijke groeten, Ronny Aerts – Intris nv – Wapenstilstandlaan 47, 2600 Berchem, België Product Owner Integrations / Integrations Manager Prince II certified – ITIL certified Tel: +32-3-326.50.75 -----Original Message----- From: Claus Ibsen [mailto:claus.ib...@gmail.com] Sent: zaterdag 13 mei 2017 9:37 To: users@camel.apache.org Subject: Re: Camel Live Reload of XML routes when using routeContextRef's Hi I suggest you take a look at the existing code and see if anything needs to be changed/improve to make it work for you. Then you can provide a patch as github PR and log a JIRA. Then we can get this in the next 2.19.1 release. On Fri, May 12, 2017 at 7:54 PM, Ronny Aerts <ronny.ae...@intris.be> wrote: > Hello Claus, > > Thank you for your quick answer. > > I looked into FileWatcherReloadStrategy and ReloadStrategySupport > (onReloadXml) and it should be possible for me to extend it to reload > routecontext's. The remaining point is how to connect the extended code to > the camelcontext just by using xml only (since we never use java to start the > camelcontext). > > -- > vriendelijke groeten, > Ronny Aerts – Intris nv – Wapenstilstandlaan 47, 2600 Berchem, België > Product Owner Integrations / Integrations Manager Prince II certified > – ITIL certified > Tel: +32-3-326.50.75 > > -----Original Message----- > From: Claus Ibsen [mailto:claus.ib...@gmail.com] > Sent: vrijdag 12 mei 2017 15:44 > To: users@camel.apache.org > Subject: Re: Camel Live Reload of XML routes when using > routeContextRef's > > You can turn on DEBUG logging on > org.apache.camel.impl.FileWatcherReloadStrategy and see what it logs > > It should be checking for <camelContext> and <routes> as the root tags which > is what it attempts to reload. > > > > > On Fri, May 12, 2017 at 2:43 PM, Ronny Aerts <ronny.ae...@intris.be> wrote: >> Hello camel community, >> >> I saw in the camel 2.19.0 release notes that xml routes could be reloaded >> automatically which woke my interest (since we only use xml routes and no >> java at all). I tried it by specifying the fileWatcherDirectory in my >> pom.xml (in the camel-maven-plugin configuration) and it worked fine for me. >> I ran it from within eclipse. >> >> The point is that our camelcontext only holds routeContextRef entries and no >> real routes. I tried again by specifying the location src/main/resources >> (where the routecontext files are) but this does not seem to work, no >> updates are seen. Are there any auto update possibilities when using >> routecontext files? >> >> I did see how I can set any ReloadStrategy on the CamelContext in xml. >> >> -- >> vriendelijke groeten, >> Ronny Aerts<mailto:ronny.ae...@intris.be> - Intris nv - >> Wapenstilstandlaan 47, 2600 Berchem, België Product Owner >> Integrations / Integrations Manager Prince >> II<http://nl.wikipedia.org/wiki/PRINCE2> >> certified - >> ITIL<http://nl.wikipedia.org/wiki/Information_Technology_Infrastructu >> r >> e_Library> certified >> Tel: +32-3-326.50.75 >> >> >> >> Intris nv >> Wapenstilstandlaan 47 >> B-2600 Berchem Tel. +32 3 326 50 75 Fax +32 3 326 42 23 >> www.intris.be<http://www.intris.be/> >> DISCLAIMER >> This is an e-mail from Intris. The information contained in this >> communication is intended solely for use by the individual or entity to whom >> it is addressed. >> Use of this communication by others is prohibited. If the e-mail message was >> sent to you by mistake, please notify >> supp...@intris.be<mailto:supp...@intris.be>, destroy it without reading, >> using, copying or disclosing its contents to any other person. >> We accept no liability for damage related to data and/or documents which are >> communicated by electronic mail. > > > > -- > Claus Ibsen > ----------------- > http://davsclaus.com @davsclaus > Camel in Action 2: https://www.manning.com/ibsen2 > > > Intris nv > Wapenstilstandlaan 47 > B-2600 Berchem Tel. +32 3 326 50 75 > Fax +32 3 326 42 23 > www.intris.be<http://www.intris.be/> > DISCLAIMER > This is an e-mail from Intris. The information contained in this > communication is intended solely for use by the individual or entity to whom > it is addressed. > Use of this communication by others is prohibited. If the e-mail message was > sent to you by mistake, please notify > supp...@intris.be<mailto:supp...@intris.be>, destroy it without reading, > using, copying or disclosing its contents to any other person. > We accept no liability for damage related to data and/or documents which are > communicated by electronic mail. -- Claus Ibsen ----------------- http://davsclaus.com @davsclaus Camel in Action 2: https://www.manning.com/ibsen2 Intris nv Wapenstilstandlaan 47 B-2600 Berchem Tel. +32 3 326 50 75 Fax +32 3 326 42 23 www.intris.be<http://www.intris.be/> DISCLAIMER This is an e-mail from Intris. The information contained in this communication is intended solely for use by the individual or entity to whom it is addressed. Use of this communication by others is prohibited. If the e-mail message was sent to you by mistake, please notify supp...@intris.be<mailto:supp...@intris.be>, destroy it without reading, using, copying or disclosing its contents to any other person. We accept no liability for damage related to data and/or documents which are communicated by electronic mail.