You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2020/04/08 16:28:00 UTC

[jira] [Work logged] (CAMEL-14872) Add Headers to camel-mongodb component for Change Stream operationType and _id

     [ https://issues.apache.org/jira/browse/CAMEL-14872?focusedWorklogId=418671&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-418671 ]

ASF GitHub Bot logged work on CAMEL-14872:
------------------------------------------

                Author: ASF GitHub Bot
            Created on: 08/Apr/20 16:27
            Start Date: 08/Apr/20 16:27
    Worklog Time Spent: 10m 
      Work Description: mbramwell1 commented on pull request #3721: CAMEL-14872 Adds Headers for operationType and _id to camel-mongodb component
URL: https://github.com/apache/camel/pull/3721
 
 
   [x ] Make sure there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL) filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
   [x ] Each commit in the pull request should have a meaningful subject line and body.
   [ ] If you're unsure, you can format the pull request title like `[CAMEL-XXX] Fixes bug in camel-file component`, where you replace `CAMEL-XXX` with the appropriate JIRA issue.
   [ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
   [ ] Run `mvn clean install -Psourcecheck` in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
   Below are the contribution guidelines:
   https://github.com/apache/camel/blob/master/CONTRIBUTING.md
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

            Worklog Id:     (was: 418671)
    Remaining Estimate: 0h
            Time Spent: 10m

> 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: 10m
>  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)