You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Jeremy Ross (Jira)" <ji...@apache.org> on 2021/11/16 18:34:00 UTC

[jira] [Closed] (CAMEL-16157) salesforce: Support composite's new collateSubrequests option

     [ https://issues.apache.org/jira/browse/CAMEL-16157?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jeremy Ross closed CAMEL-16157.
-------------------------------
    Resolution: Not A Problem

Since salesforce collates automatically starting with v49, I don't see a need to change anything.

> salesforce: Support composite's new collateSubrequests option
> -------------------------------------------------------------
>
>                 Key: CAMEL-16157
>                 URL: https://issues.apache.org/jira/browse/CAMEL-16157
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-salesforce
>            Reporter: Jeremy Ross
>            Priority: Minor
>
> From the [docs|https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/requests_composite.htm]:
> {quote}Controls whether the API collates unrelated subrequests to bulkify them ({{true}}) or not ({{false}}).
> When subrequests are collated, the processing speed is faster, but the order of execution is not guaranteed (unless there is an explicit dependency between the subrequests).
> If collation is disabled, then the subrequests are executed in the order in which they are received.
> Subrequests that contain valid HTTP headers are not collated.
> In API version 49.0 and later, the default value is {{true}}. In version 48.0, the default value is {{false}}.
> Subrequests can be collated if they meet these conditions: * The HTTP methods are the same.
>  * The API versions of the resources are the same.
>  * The parents of the resources are {{/sobjects}} resources.
>  * No more than five sObjects resources are present across a grouping of subrequests.{quote}



--
This message was sent by Atlassian Jira
(v8.20.1#820001)