Skip to content

CAMEL-14258: switching old MongoClient to new interface#3405

Merged
davsclaus merged 1 commit intoapache:masterfrom
squakez:feature/CAMEL-14258_new_mongo_client
Dec 16, 2019
Merged

CAMEL-14258: switching old MongoClient to new interface#3405
davsclaus merged 1 commit intoapache:masterfrom
squakez:feature/CAMEL-14258_new_mongo_client

Conversation

@squakez
Copy link
Contributor

@squakez squakez commented Dec 12, 2019

  • switching com.mongodb.MongoClient to com.mongodb.client.MongoClient
  • Adding support for explicit WriteConcern and ReadPreferences
  • Updated unit test to fit new client

…MongoClient

* Changing the connection bean to the new one
* Adding support for explicit WriteConcern and ReadPreferences
* Updated unit test to fit new client
@oscerd
Copy link
Contributor

oscerd commented Dec 12, 2019

Maybe you can have a look at mongodb-gridfs component too.

@squakez
Copy link
Contributor Author

squakez commented Dec 13, 2019

Maybe you can have a look at mongodb-gridfs component too.

Good point: I've created an issue to track that - https://issues.apache.org/jira/browse/CAMEL-14293

@squakez squakez marked this pull request as ready for review December 13, 2019 08:18
@squakez
Copy link
Contributor Author

squakez commented Dec 13, 2019

Migration guide will be provided by this https://issues.apache.org/jira/browse/CAMEL-14294

@davsclaus davsclaus merged commit daae1c1 into apache:master Dec 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants