Access Endpoint from Exchange

2020-08-11 Thread Firas Khasawneh
Hi all, When sending a message to a service endpoint, in case of Exception, is there a way to get the endpoint from Exchange? I see the api call getFromEndpoint method but I am not sure that gives me the destination service endpoint? Do you know if and how I can get the service endpoint from Exc

Re: Potential bug in ThreadPoolProfile.clone ?

2020-08-11 Thread Claus Ibsen
Hi Yes you are right. That is a little bug. I took the liberty of fixing this on the 3.x branches. On Tue, Aug 11, 2020 at 3:54 PM Andreas Becker wrote: > > Hello, > > can you please check the following code in the current version of Camel which > we supect to be a bug: > > Class: org.apache.ca

Potential bug in ThreadPoolProfile.clone ?

2020-08-11 Thread Andreas Becker
Hello,   can you please check the following code in the current version of Camel which we supect to be a bug:   Class: org.apache.camel.spi.ThreadPoolProfile Method: clone Problem: In the clone member poolSize is set to the value of maxPoolSize:   cloned.setMaxPoolSize(maxPoolSize); cloned.setPo

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

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