Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14872

Add Headers to camel-mongodb component for Change Stream operationType and _id

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.0
    • Fix Version/s: 3.3.0
    • Component/s: camel-mongodb
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              acosentino Andrea Cosentino
              Reporter:
              mbramwell Martin Bramwell

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 40m
                40m

                  Issue deployment