Re: Simple language in 3.1.0

2020-04-23 Thread Claus Ibsen
Hi Thanks, fixing that doc page On Thu, Apr 23, 2020 at 4:22 PM Remco Schoen wrote: > > At the URL I posted: > > https://camel.apache.org/components/latest/languages/simple-language.html > > And Google found it for me… > > > Op 23 apr. 2020, om 16:20 heeft Claus Ibsen > mailto:claus.ib...@gmail

Re: Simple language in 3.1.0

2020-04-23 Thread Remco Schoen
At the URL I posted: https://camel.apache.org/components/latest/languages/simple-language.html And Google found it for me… Op 23 apr. 2020, om 16:20 heeft Claus Ibsen mailto:claus.ib...@gmail.com>> het volgende geschreven: On Thu, Apr 23, 2020 at 4:19 PM Remco Schoen mailto:r.sch...@topdesk.

Re: Simple language in 3.1.0

2020-04-23 Thread Claus Ibsen
On Thu, Apr 23, 2020 at 4:19 PM Remco Schoen wrote: > > Hi, > > I checked the docs for 2.x and there it says it is deprecated, thanks. > > But my next question would be, is the documentation still up-to-date: > > “The simple language uses ${body} placeholders for complex expressions where > the e

Re: Simple language in 3.1.0

2020-04-23 Thread Remco Schoen
Hi, I checked the docs for 2.x and there it says it is deprecated, thanks. But my next question would be, is the documentation still up-to-date: “The simple language uses ${body} placeholders for complex expressions where the expression contains constant literals. The $\{ } placeholders can be

Re: Simple language in 3.1.0

2020-04-23 Thread Guillaume Nodet
The syntax without placeholders had been deprecated in the 2.x branch since a long time. You now need to use simple('${headers.entityMap.sourceTableName}') Le jeu. 23 avr. 2020 à 15:42, Remco Schoen a écrit : > Hi, > > I have a question about the Simple language and the use of ${}. > > Before Ca

Simple language in 3.1.0

2020-04-23 Thread Remco Schoen
Hi, I have a question about the Simple language and the use of ${}. Before Camel 3 this worked in getting data from the object in the header: .setHeader('tableName').simple('headers.entityMap.sourceTableName’) .setHeader('fields').simple('headers.entityMap.sourceFields') In Camel 3.1.0 this no l