GitHub user zregvart opened a pull request: https://github.com/apache/camel/pull/1264
CAMEL-10471 Update Salesforce component to support limits REST API Adds support for the Organization Limits Salesforce API[1]. New operation `limit` was added and can be used like: ...to("salesforce:limit") .choice() .when( simple("${body.dailyApiRequests.remaining} > 0") )... .endChoice(); Supports all usage limits currently returned with v38.0 Salesforce API. Adding of new usage limits is performed by adding enum constant to Limits.Operation and corresponding getter to Limits class. [1] https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_limits.htm You can merge this pull request into a Git repository by running: $ git pull https://github.com/zregvart/camel CAMEL-8396-limits Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/1264.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 #1264 ---- commit ec7504ee94fa3c88ddcc7af958461cd2705ef953 Author: Zoran Regvart <zo...@regvart.com> Date: 2016-11-10T16:57:11Z CAMEL-8396 Update Salesforce component to support new REST APIs in Salesforce API V33.0 This commit adds support for the Organization Limits Salesforce API[1]. New operation `limit` was added and can be used like: ...to("salesforce:limit") .choice() .when( simple("${body.dailyApiRequests.remaining} > 0") )... .endChoice(); Supports all usage limits currently returned with v38.0 Salesforce API. Adding of new usage limits is performed by adding enum constant to Limits.Operation and corresponding getter to Limits class. [1] https://developer.salesforce.com/docs/atlas.en-us.api_rest.meta/api_rest/resources_limits.htm ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---