[
https://issues.apache.org/jira/browse/CAMEL-10846?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Zoran Regvart resolved CAMEL-10846.
-----------------------------------
Resolution: Fixed
Fix Version/s: 2.19.0
I've split the response status/message into separate issue (CAMEL-11078)
> Handle 404 situations more gracefully
> -------------------------------------
>
> Key: CAMEL-10846
> URL: https://issues.apache.org/jira/browse/CAMEL-10846
> Project: Camel
> Issue Type: Improvement
> Components: camel-salesforce
> Affects Versions: 2.19.0
> Reporter: Zoran Regvart
> Assignee: Zoran Regvart
> Priority: Minor
> Fix For: 2.19.0
>
>
> When Salesforce API returns 404 status indicating that an SObject could not
> be found using one of the operations for retrieving the SObjects, it should
> throw an more descriptive {{SalesforceException}}, for instance
> {{NoSuchSObjectException}}.
> Also add an option that would return {{null}} in case of 404 status instead
> of throwing an exception, with the default to throw the exception.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)