[ https://issues.apache.org/jira/browse/CAMEL-10478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664959#comment-15664959 ]
ASF GitHub Bot commented on CAMEL-10478: ---------------------------------------- GitHub user zregvart opened a pull request: https://github.com/apache/camel/pull/1273 CAMEL-10478 Support simple language expressions in header values in camel-salesforce This is a PR against 2.17.x, as this functionality would be beneficial to 2.17 users as well. Implements support for simple language expressions in header values for the camel-salesforce component. AbstractSalesforceProcessor was modified to post-process values retrieved from message header and evaluate them with simple language. This greatly simplifies usage in downstream salesforce components as they can have access upstream values. For instance: salesforce:queryMore?sObjectQuery=${header.nextRecordsUrl}... You can merge this pull request into a Git repository by running: $ git pull https://github.com/zregvart/camel CAMEL-10478-camel-2.17.x Alternatively you can review and apply these changes as the patch at: https://github.com/apache/camel/pull/1273.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 #1273 ---- commit 214fb5d6ad3384d86e2e64e76b40f3798dfa2bd3 Author: Zoran Regvart <zo...@regvart.com> Date: 2016-11-14T20:41:29Z Support simple language expressions in header values in camel-salesforce Implements support for simple language expressions in header values for the camel-salesforce component. AbstractSalesforceProcessor was modified to post-process values retrieved from message header and evaluate them with simple language. This greatly simplifies usage in downstream salesforce components as they can have access upstream values. For instance: salesforce:queryMore?sObjectQuery=${header.nextRecordsUrl}... ---- > Support for simple language in message headers for camel-salesforce > ------------------------------------------------------------------- > > Key: CAMEL-10478 > URL: https://issues.apache.org/jira/browse/CAMEL-10478 > Project: Camel > Issue Type: Improvement > Components: camel-salesforce > Affects Versions: 2.17.4, 2.18.1 > Environment: Any > Reporter: Zoran Regvart > > Salesforce component could benefit greatly from supporting simple expressions > in header values. This would allow for natural chaining of salesforce > components for the `query` and `queryNext` operations, as former returns the > URL needed for the later. -- This message was sent by Atlassian JIRA (v6.3.4#6332)