Hi,

I currently trie to remove all deprecated use of MongoDB Java driver to
ease the migration from 2.13 to 3.0 when it will be realease.

Since version 2.13 of Java Driver, lt of method in WriteResult object are
deprecated https://api.mongodb.org/java/2.13/com/mongodb/WriteResult.html .
As explain, the MongoClient should relie on the write concern and not use
the getLastError or getCachedLastError. If my french is good
the invokeGetLastError option of the component is also useless and we
should invite people to use the right write concern.

How do you manage such a case in Camel ? Is it possible to depreciate a
attribute to remove it in a further version ? Do you remove it immediatly ?
Do we keep it but with no effect ?

Thanks for you replie.

Pierre-Alban DEWITTE
@__pad__

Reply via email to