Hi all, Camel-mongodb has a set of provided type converters.
@Converter public static DBObject fromStringToDBObject(String s) { ..blah blah } @Converter public static DBObject fromAnyObjectToDBObject(Object value) { ...blah blah } I'm trying to run a query which means sending a json string. After some debugging it looks like Camel selects the fromAnyObjectToDBObject converter rather than the fromStringToDBObject converter. I''m not sure of the consequences of this yet, with regards to the the mongodb component, but it did raise the question on how Camel deals with converters that could overlap given inheritance, a String is an Object after all.