Re: Using the RoutesLoader

2022-04-13 Thread ski n
Yes, based on the link Claus send: https://camel.apache.org/manual/route-configuration.html There is an example of how to do it in Java and how to add it to the CamelContext. There is also an example of how to do it with XML: java.lang.Exception true But the

Re: Using the RoutesLoader

2022-04-13 Thread ski n
I also created an issue for this with an example: https://issues.apache.org/jira/browse/CAMEL-17953 On Wed, Apr 13, 2022 at 9:25 AM ski n wrote: > Yes, based on the link Claus send: > > https://camel.apache.org/manual/route-configuration.html > > There is an example of how to do it in Java and

There appears to be a bug in the mongodb example

2022-04-13 Thread David Yang
[I tried searching for "mongodb" in the archives and didn't see this. Apologies if I missed something.] The insert option of the example at https://github.com/apache/camel-examples/tree/main/examples/mongodb fails as is. The problem appears to be that the log() call consumes the body from the input

FTP or pollEnrich not working well in Camel 3.14.2

2022-04-13 Thread Daniel Langevin
Hello, I am converting routes from CAMEL 2.17.7 to Camel 3.14.2 This route performs a Directory List of an FTP Site and builds an XML result with the obtained list. It's been working fine in Camel 2.17.7 for several years, but in Camel 3.14.2 I'm not able to get it to work properly anymore. In

Re: Using the RoutesLoader

2022-04-13 Thread Chirag
while performing XML route, route needs to be explicitly associated with configuration to use it. Example on https://camel.apache.org/manual/route-configuration.html#_route_configuration_in_xml works. I think the gap is - when defining a framework based on camel - how to associate specific rou