[
https://issues.apache.org/jira/browse/CAMEL-12479?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoran Regvart resolved CAMEL-12479.
-----------------------------------
Resolution: Implemented
Now if the endpoint is configured with {{format=XML}} the limits API will throw
an {{IllegalArgumentException}}.
> Remove support for XML format in for Salesforce limits API
> -----------------------------------------------------------
>
> Key: CAMEL-12479
> URL: https://issues.apache.org/jira/browse/CAMEL-12479
> Project: Camel
> Issue Type: Task
> Components: camel-salesforce
> Affects Versions: 2.22.0
> Reporter: Zoran Regvart
> Assignee: Zoran Regvart
> Priority: Minor
>
> The Salesforce limits API routinely returns invalid XML that fails
> unmarshalling via XStream. We should remove XML support for the limits API.
> Sample of invalid XML:
> {code:xml}
> ...
> <Salesforce Mobile Dashboards>
> <Max>0</Max>
> <Remaining>0</Remaining>
> </Salesforce Mobile Dashboards>
> <Salesforce Touch>
> <Max>0</Max>
> <Remaining>0</Remaining>
> </Salesforce Touch>
> ...{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)