Details
Description
When using the mongodb component as a ChangeStreams consumer, the fullDocument is null for update operations. It's normal if we refer to mongodb documentation.
As a temporary fix, you can use the object id to get the modified document with a route like this:
from("mongodb:mongo?consumerType=changeStreams....") .to("mongodb:mongo?operation=findById")
The MongoDbChangeStreamsThread.initializeCursor() method should be changed to use the fullDocument option when creating the iterable.