[ 
https://issues.apache.org/jira/browse/CAMEL-14423?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17033193#comment-17033193
 ] 

Denis Istomin commented on CAMEL-14423:
---------------------------------------

As I see, if there is need to support OSGI environment, uber jar has to be used.

[https://mongodb.github.io/mongo-java-driver/3.0/driver/getting-started/installation-guide/]

_For OSGi-based applications: due to the fact that there are classes from the 
{{com.mongodb}} package in both this artifact and in the 
{{mongodb-driver-core}} artifact, on which this depends, this artifact is not 
an OSGi bundle. Please use the {{mongo-java-driver}} uber jar (described below) 
instead._

> Migrate MongoDB component to mongodb-driver-sync dependency
> -----------------------------------------------------------
>
>                 Key: CAMEL-14423
>                 URL: https://issues.apache.org/jira/browse/CAMEL-14423
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-mongodb
>    Affects Versions: 3.x
>            Reporter: James Netherton
>            Priority: Minor
>
> AFAIK the mongo-java-driver uber-jar is deprecated. It'd be nice if we could 
> move to the newer mongodb-driver-sync and stop using some of the deprecated 
> Mongo APIs.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to