You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2017/02/13 13:48:41 UTC

[jira] [Commented] (CAMEL-10743) Add support in Salesforce component for plain JSON input and output

    [ https://issues.apache.org/jira/browse/CAMEL-10743?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15863696#comment-15863696 ] 

Claus Ibsen commented on CAMEL-10743:
-------------------------------------

This would help this trivial example with twitter -> salesforce to avoid the POJO transformation. If we can make the json mapping simpler, maybe using some velocity.vm or other template file.
https://github.com/apache/camel/blob/master/examples/camel-example-twitter-salesforce/src/main/java/org/apache/camel/example/mention/TwitterSalesforceRoute.java#L32

> Add support in Salesforce component for plain JSON input and output
> -------------------------------------------------------------------
>
>                 Key: CAMEL-10743
>                 URL: https://issues.apache.org/jira/browse/CAMEL-10743
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-salesforce
>    Affects Versions: 2.18.1, 2.19.0
>            Reporter: Dhiraj Bokde
>            Assignee: Dhiraj Bokde
>
> Salesforce component uses DTOs by default, but it should be possible to bypass all the DTO processing to send/receive JSON strings. 
> It won't be able to validate the JSON, but this approach would make it easier to build simpler Salesforce interfaces, which do not need to manipulate SObjects as DTOs. 



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)