[ https://issues.apache.org/jira/browse/CAMEL-13180?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17445324#comment-17445324 ]
Jesse Sightler commented on CAMEL-13180: ---------------------------------------- Yes, the apex code generates a custom json response for us, and we parse that response body to get the reason in the case of error messages. > camel-salesforce - Apex calls could support more flexible response parsing > -------------------------------------------------------------------------- > > Key: CAMEL-13180 > URL: https://issues.apache.org/jira/browse/CAMEL-13180 > Project: Camel > Issue Type: New Feature > Components: camel-salesforce > Reporter: Jesse Sightler > Priority: Major > > The current approach requires following a very strict format for error codes > other than 2xx. This isn't necessarily the case, though, for custom apex > classes. > Ideally, it would be possible to (optionally) handle the parsing in the camel > route itself. -- This message was sent by Atlassian Jira (v8.20.1#820001)