Re: Camel Main: RoutesIncludePattern doesn't seem to respect asterisks as a directory placeholder

2023-05-18 Thread Fyodor Kravchenko
Hi, the API seems to have changed from the 3.20.4 that I'm using. Can I just replace the File Filter that the default Route Reloader is using? I've noticed it uses the Ant Matcher but deliberately ignores the whole path:

Re: Camel Main: RoutesIncludePattern doesn't seem to respect asterisks as a directory placeholder

2023-05-18 Thread Claus Ibsen
Hi You can implement a custom org.apache.camel.spi.ResourceReload where you in the onReload can program what to do. The current defauly just do if (name.endsWith(".properties")) { onPropertiesReload(resource, true); } else {

Re: Camel Main: RoutesIncludePattern doesn't seem to respect asterisks as a directory placeholder

2023-05-18 Thread Fyodor Kravchenko
Hi, Thank you! I'm new to the Camel 3 API, can you please point me how can I load a route programmatically if I have a yaml or xml String (or Stream/Reader)? Regarding the ticket, loading the new files after the startup, renaming the route files and deleting them would also be a useful

Re: Camel Main: RoutesIncludePattern doesn't seem to respect asterisks as a directory placeholder

2023-05-18 Thread Claus Ibsen
On Wed, May 17, 2023 at 10:59 PM Fyodor Kravchenko wrote: > Hi, > > I'm integrating Camel into my application, or better say, application > platform, that may run different arbitrary Camel routes for integration, > and I'd like to provide an ability for a developer who makes > applications for