You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by sekaijin <je...@aphp.fr> on 2016/07/27 12:04:56 UTC

camel-mongoDB Mongo class as osgi service

I'm using camel-mongodb in many osgi bundles
each bundle declare its own Mongo bean.

I want to share Mongo connexion as osgi service. but com.mongodb.Mongo does
not implement any interface.

I try to reférence the service with ext:proxy-method="classes"
but it failed

how to use the same connection, a connection factory or a connection pool
for all bundles ?

A+JYT



--
View this message in context: http://camel.465427.n5.nabble.com/camel-mongoDB-Mongo-class-as-osgi-service-tp5785494.html
Sent from the Camel - Users mailing list archive at Nabble.com.