Re: How can I check for empty or null string with ValueBuilder?

2018-06-15 Thread Claus Ibsen
Hi You can try with simple and the null safe operator and invoke the isEmpty method on String type "${exchangeProperty.?foo.isEmpty()}" On Fri, Jun 15, 2018 at 4:12 PM, Steve973 wrote: > If I have a choice block, and if I want to examine an exchange property > with is supposed to be set as

salesforce:query limit 200 records

2018-06-15 Thread Dicken George
How can i query more than 200 records at a time from salesforce over camel.salesforce ? currently i use salesforce:query?sObjectQuery but it returns only 200 records, although my salesforce instance provides 2000 records for each query. Thanks for your feedback -- Dicken George

How can I check for empty or null string with ValueBuilder?

2018-06-15 Thread Steve973
If I have a choice block, and if I want to examine an exchange property with is supposed to be set as a String, how can I check if it's empty or null? I can check for empty with exchangeProperty(PROPERTY_NAME).isNull(), but how can I add the check for an empty string too?

Re: Simple example of passing an object in from rest to another microservice

2018-06-15 Thread Steve Hiller
Thanks, Claus! On Friday, June 15, 2018 1:29 AM, Claus Ibsen wrote: Hi You are setting the content-length header to null .setHeader(Exchange.CONTENT_LENGTH, constant(null)) If you want to remove it, then there is a removeHeader which you should use instead On Fri, Jun 15, 2018 at 1:24