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
[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