Camel-mongodb is a project mainly written in ..., it's free.
mongodb component for apache camel
h3. MongoDB Idempotent Repository
MongoDbIdempotentRepository implements the "Idempotent Consumer Pattern":http://camel.apache.org/idempotent-consumer.html (EIP) based on "Apache Camel":http://camel.apache.org. You can use this class in a camel route (Java DSL) as follows:
bc.. from("seda:in") .routeId("mongodb_idempotent_repository_md5") .idempotentConsumer(body() , MongoDbIdempotentRepository.mongoIdempotentRepositoryMd5("localhost", "23000", "my_db", "idempotent_repo")) .to("seda:out");