You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Martin Bramwell (Jira)" <ji...@apache.org> on 2020/04/08 16:18:00 UTC
[jira] [Created] (CAMEL-14872) Add Headers to camel-mongodb
component for Change Stream operationType and _id
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)