I'd like to know if it is possible to write to MongoDB with Apache Camel and choose to write asynchronously. I've seen no reference for the MongoDB Java Reactive Streams Driver, but I'd like to know if there's also an option of writing to MongoDB with Apache Camel with the Reactive driver (for Project Reactor users).
The MongoDB producer Apache Camel component uses the Sync - MongoDB Java Driver by default.
A component in Apache Camel runs as is and cannot be modified unless through a predefined set of configuration options.
To achieve multi-threading, you can decouple the continuation of message routing from consuming thread using the Threads EIP patten:
from("direct:operation")
.threads(1)
.to("mongodb:myDb?database=someDb&collection=someCollection&operation=save")
You can read more on the supported options in the documentation.