unable to connect to Mongo db from a camel route written in java dsl
Issue
I have configured mongodb producer endpoint like below.
"mongodb:connectionBean?database=databaseName&collection=collectionName&operation=operationName[&moreOptions...]"
Getting below exception
Caused by: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: mongodb://mongoC?collection=EN_ALL_ALL.product&database=EN_ALL_ALL&operation=findById due to: No bean could be found in the registry for: mongoC of type: com.mongodb.Mongo
Environment
- Red Hat JBoss Fuse
- 6.3.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
