camel-issues mailing list archives

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


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:
>             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:, 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:

View raw message