Hi Willem, It was my mistake, I realized that my camel-context.xml is not getting loaded. So whatever definitions I give in that it doesnt take, where shall I define myDb.
I followed camel's camel-example-spring-javaconfig example. thanks Lokesh -- View this message in context: http://camel.465427.n5.nabble.com/Unable-to-connect-to-mongodb-using-camel-tp5727950p5727958.html Sent from the Camel Development mailing list archive at Nabble.com.