@Converter public final class MongoDbBasicConverters extends Object
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
fromBasicDBObjectToMap(com.mongodb.BasicDBObject basicDbObject) |
static com.mongodb.BasicDBObject |
fromFileToDBObject(File f,
org.apache.camel.Exchange exchange) |
static com.mongodb.BasicDBObject |
fromInputStreamToDBObject(InputStream is,
org.apache.camel.Exchange exchange) |
static com.mongodb.BasicDBObject |
fromMapToDBObject(Map<?,?> map) |
@Converter public static com.mongodb.BasicDBObject fromMapToDBObject(Map<?,?> map)
@Converter public static Map<String,Object> fromBasicDBObjectToMap(com.mongodb.BasicDBObject basicDbObject)
@Converter public static com.mongodb.BasicDBObject fromFileToDBObject(File f, org.apache.camel.Exchange exchange) throws Exception
Exception
@Converter public static com.mongodb.BasicDBObject fromInputStreamToDBObject(InputStream is, org.apache.camel.Exchange exchange) throws Exception
Exception
Apache Camel