While writing some tests for an Apache Camel project, I just spent rather longer than I'd have liked trying to work out how to configure a connection bean for Mongo without using Spring.
Since I hide my embarrassments in public I thought I'd best share with anyone else with brain freeze.
Don't forget you need the camel-mongodb artifact in your pom.xml file.
Good luck fellow travellers.
No comments:
Post a Comment