camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhiraj Bokde (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAMEL-6428) Salesforce Component
Date Thu, 29 Aug 2013 05:45:23 GMT

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

Dhiraj Bokde commented on CAMEL-6428:
-------------------------------------

It looks like some field names were changed in package org.apache.camel.component.salesforce.api.dto
to be camel case to satisfy checkstyle rules. However, the XML stream library throws an error
if the element name doesn't match the json from Salesforce, which does not use camel case.
The XML format tests will fail due to this change. The solution is to either:

a. Revert the checkstyle changes (simple solution)
b. Add an XStreamAlias to all the DTO fields to make sure XML messages can be handled correctly
(complex solution). Also, the camel-salesforce-plugin will have to be updated to do the same
for generated DTOs. 
                
> Salesforce Component
> --------------------
>
>                 Key: CAMEL-6428
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6428
>             Project: Camel
>          Issue Type: New Feature
>    Affects Versions: 2.12.0
>            Reporter: Dhiraj Bokde
>            Assignee: Claus Ibsen
>              Labels: patch
>             Fix For: 2.12.1
>
>         Attachments: camel-salesforce.md, salesforce-component-201306050258.patch, salesforce-login-file-fix.patch,
salesforce-plugin-parameters.patch, salesforce-uriendpoint.patch
>
>
> Submitting a new component for Salesforce support
> Supports Salesforce REST (including blob field retrieval), Batch, and Streaming APIs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message