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

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

    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

          Issue Links

            Activity

              People

              • Assignee:
                acosentino Andrea Cosentino
                Reporter:
                mbramwell Martin Bramwell
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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