GitHub user NKame opened a pull request:
https://github.com/apache/camel/pull/1701
CAMEL-10728 fix handling of BasicDBList and allow better use of multi insert
Context: camel-mongodb, multi insert. Handle the case where the input is a
BasicDBList. Adds a configuration header to tell the component to avoid trying
to convert the body to a DBObject when the user knows a multi insert is needed
("CamelMongoDbMultiInsert").
See
https://issues.apache.org/jira/browse/CAMEL-10504
https://issues.apache.org/jira/browse/CAMEL-10728
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/NKame/camel master2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1701.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1701
----
commit 579a149fc1ce6cdee7331e89622ddfee74dcbf82
Author: Damien Bonvillain <[email protected]>
Date: 2017-05-17T15:44:16Z
CAMEL-10728 fix handling of BasicDBList and allow better use of multi
insert.
Context: camel-mongodb, multi insert. Handle the case where the input is a
BasicDBList. Adds a configuration header to tell the component to avoid trying
to convert the body to a DBObject when the user knows a multi insert is needed
("CamelMongoDbMultiInsert").
See
https://issues.apache.org/jira/browse/CAMEL-10504
https://issues.apache.org/jira/browse/CAMEL-10728
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---