How can I add a bean to the registry? In the link mentioned by you there is no conclusion. I've tried the solution from the last comment but it doesn't work.
Also where should I add the the bean to the registry. I tried adding it in a process prior to the dynamicRouter method and I get this error: Failed to resolve endpoint: mongodb://myDb?collection=none&database=none&dynamicity=true&operation=findOneByQuery due to: No bean could be found in the registry for: myDb of type: com.mongodb.Mongo -- View this message in context: http://camel.465427.n5.nabble.com/mongoDB-uri-tp5755565p5755647.html Sent from the Camel - Users mailing list archive at Nabble.com.
