Good day.
I'm trying to get a hibernate consumer working (using a database table as a queue), but I'm running out of ideas.
I couldn't find any documentation on the subject (apart from the introduction on apache's site that doesn't tell you much)
I've created a hibernate mapping file (hibernate-cfg.xml)
Ive created an entity pojo (Person.java)
I've created a mapping file (Person.hbm.xml)
I've created a source destination for my camel route (hibernate:Person)
I've added camel-hibernate as a dependency
I've even copied camel-hibernate into the Fuse-ESB classpath
But, I'm still getting this:
Exception in thread "SpringOsgiExtenderThread-87" org.apache.camel.NoSuchEndpointException: No endpoint could be found for: hibernate:Person, please check your classpath contains the needed camel component jar.
Any ideas?
I'm running standard Fuse-esb-4
Try running outside OSGi at first to learn how to use the hibernate component. When that works then you only need to wrestle the OSGi to get that working.