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

Luca Burgazzoli commented on CAMEL-17719:
-----------------------------------------

I did try to use the SalesforceMetaDataExtension as you described but it does 
not wotk as the current implementation requires an sObject bat that's not what 
you get from salesforce when querying the schema of a cdc event. 

> camel-saleforce: allow to retrieve CDC json schema from meta service
> --------------------------------------------------------------------
>
>                 Key: CAMEL-17719
>                 URL: https://issues.apache.org/jira/browse/CAMEL-17719
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-salesforce
>            Reporter: Luca Burgazzoli
>            Priority: Minor
>
> To get the full schema of a change event message, it it possible to make a 
> GET request to the REST API that includes the schema ID sent in the event 
> message, as example:
> {code}
> /vXX.X/event/eventSchema/<Schema_ID>
> {code}
> or by using the event name:
> {code}
> /vXX.X/sobjects/<EventName>/eventSchema
> {code}
> It would be nice if the meta data extension would be able to return the json 
> schema of the 



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to