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

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