Not able to get Salesforce Platform events in JSON format with Camel Salesforce

2020-08-10 Thread Saiteja
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

RE: Create ErrorHandler class

2020-08-10 Thread Shultz, Dmitry
I'm using DSL for routes configurartion and CDI for injecting DeadLetterChannelBuilder into the RouteBuilder class and then registering it (errorHandler(myDeadLetterChannelBuilder);). CDI allows to use custom annotaion with parameters (redeliveryPolicy, maxRedeliveries, deadLetterUri, ...) make

Re: Create ErrorHandler class

2020-08-10 Thread Firas Khasawneh
Hi Dmitry, Can you please expand on how to customize DeadLetterChannelBuilder? We are using Xml dsl for setting up routes. Thanks, Firas On 8/7/20, 6:38 PM, "Shultz, Dmitry" wrote: EXTERNAL You can customize the DeadLetterChannelBuilder the way you want it and register it in y