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

OID of created object should be stored in the message header

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.15.0
    • camel-mongodb
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: