simple language bodyOneLine throws error

2020-06-16 Thread shiva kumar g.v
Hi team, I am trying to use camel simple expression bodyOneLine for logging payload in single line. But it throws below error while starting the route. Camel version= 2.23.1 Code: .log(org.apache.camel.LoggingLevel.INFO,"Request Received : ${bodyOneLine}") Error: Caused by:

Re: simple language bodyOneLine throws error

2020-06-16 Thread Alex Dettinger
Hi Shiva, bodyOneLine was introduced since camel 3 onward, https://issues.apache.org/jira/browse/CAMEL-13674. Maybe it's time to get a ride at camel 3 https://camel.apache.org/manual/latest/camel-3-migration-guide.html ;) Alex On Tue, Jun 16, 2020 at 9:57 AM Gv, Shivakumar wrote: > Hi team,

simple language bodyOneLine throws error

2020-06-16 Thread Gv, Shivakumar
Hi team, I am trying to use camel simple expression bodyOneLine for logging payload in single line. But it throws below error while starting the route. Camel version= 2.23.1 Code: .log(org.apache.camel.LoggingLevel.INFO,"Request Received : ${bodyOneLine}") Error: Caused by: