[
https://issues.apache.org/jira/browse/CAMEL-10478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664965#comment-15664965
]
ASF GitHub Bot commented on CAMEL-10478:
----------------------------------------
GitHub user zregvart opened a pull request:
https://github.com/apache/camel/pull/1274
CAMEL-10478 Support simple language expressions in header values in
camel-salesforce
This is a PR against 2.18.x, as this functionality would be beneficial to
2.18
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.18.x
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1274.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 #1274
----
commit 6a28486d6714672ea67a40331d339df506aa1db2
Author: Zoran Regvart <[email protected]>
Date: 2016-11-14T20:45:07Z
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)