You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Henryk Konsek (JIRA)" <ji...@apache.org> on 2014/11/05 13:01:33 UTC
[jira] [Created] (CAMEL-7996) OID of created object should be
stored in the message header
Henryk Konsek created CAMEL-7996:
------------------------------------
Summary: OID of created object should be stored in the message header
Key: CAMEL-7996
URL: https://issues.apache.org/jira/browse/CAMEL-7996
Project: Camel
Issue Type: Bug
Components: camel-mongodb
Reporter: Henryk Konsek
Assignee: Henryk Konsek
Fix For: 2.15.0
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:
{code}
from("direct:...").
to("mongodb:...operation=insert").setBody().header(MongoDbConstants.OID);
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)