Martin Bramwell created CAMEL-14872:
---------------------------------------
Summary: Add Headers to camel-mongodb component for Change Stream
operationType and _id
Key: CAMEL-14872
URL: https://issues.apache.org/jira/browse/CAMEL-14872
Project: Camel
Issue Type: Improvement
Components: camel-mongodb
Affects Versions: 3.3.0
Reporter: Martin Bramwell
Fix For: 3.3.0
The camel-mongodb component currently returns only the document itself on
subscription. There is no way of knowing what type of operation took place, in
the case of a deletion the stream simply says "null". Ticket raised to add the
document id as a header to the exchange, and the operation type, as well as
making the exchange body useful in the case of a delete.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)