Re: Internal logging of routes

2022-04-19 Thread Claus Ibsen
Hi There is a dumpRoutes option you can turn on camel context that dumps them on startup in XML output with all details. Otherwise you need to go via ModelCamelContext where you can get the model definitions (adapt from camel contexT). On Tue, Apr 19, 2022 at 4:29 PM Craig Taylor wrote: > > I'

Internal logging of routes

2022-04-19 Thread Craig Taylor
I've found it useful in the past to internally log the route definition / attributes in its hierarchical form (eg: endpoint uri, list of corresponding steps etc) to diagnose issues during route construction (eg: forgot missing .end() etc). I've lost the source for being able to do this. Looking a

Re: There appears to be a bug in the mongodb example

2022-04-19 Thread Chio Chuan Ooi
Hi David, I think you can resolve the issue by having streamcaching. https://camel.apache.org/manual/stream-caching.html public class MongoDBInsertRouteBuilder extends RouteBuilder { @Override public void configure() { from("jetty:http://0.0.0.0:8081/hello";)*.str