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:
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,
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: