You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/11/14 20:38:58 UTC
[jira] [Commented] (CAMEL-10478) Support for simple language in
message headers for camel-salesforce
[ https://issues.apache.org/jira/browse/CAMEL-10478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15664945#comment-15664945 ]
ASF GitHub Bot commented on CAMEL-10478:
----------------------------------------
GitHub user zregvart opened a pull request:
https://github.com/apache/camel/pull/1272
CAMEL-10478 Support for simple language in message headers for 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}...
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zregvart/camel CAMEL-10478
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/camel/pull/1272.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 #1272
----
commit 2760d6a6f166047b6491d819baaae5eb47bafda1
Author: Zoran Regvart <zo...@regvart.com>
Date: 2016-11-14T20:33:44Z
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)