I finally got it working with following:
PlatformEvent platformEvent = exchange.getIn().getBody(PlatformEvent.class);
System.out.println("JSON = " + JSON.toString(platformEvent.getEventData()));
On Mon, Aug 10, 2020 at 7:11 PM Saiteja wrote:
> Hi,
>
> I'm not able to get Salesforce platform e
Hi,
I'm not able to get Salesforce platform events in JSON format. I receive
the payload in the following format when set rawPayload=true&format=JSON
I used Camel 2.23.x
{data={schema=vzd40uytS5DC7A3Qshi1wQ, payload={TestNull__c=null,
News_Content__c=Fuse Test 2, CreatedById=0053t07YosdAAC,
C