[
https://issues.apache.org/jira/browse/CAMEL-14872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Claus Ibsen resolved CAMEL-14872.
---------------------------------
Resolution: Fixed
> 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
> Assignee: Andrea Cosentino
> Priority: Minor
> Fix For: 3.3.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)