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

OID of created object should be stored in the message header

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.15.0
    • Component/s: camel-mongodb
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      After new DbObject is persisted, the user can't retrieve the OID of the stored record. We should store the OID in the header so this construct should be possible:

      from("direct:...").
        to("mongodb:...operation=insert").setBody().header(MongoDbConstants.OID);
      

        Attachments

          Activity

            People

            • Assignee:
              hekonsek Henryk Konsek
              Reporter:
              hekonsek Henryk Konsek
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: