Re: Changing header value

2016-04-13 Thread Claus Ibsen
n > > -Original Message- > From: Kasim Sert (Ibtech-Software Infrastructure) > [mailto:kasim.s...@ibtech.com.tr] > Sent: Mittwoch, 13. April 2016 12:08 > To: users@camel.apache.org > Subject: RE: Changing header value > > Hi, > > You mean since its a constant expressi

RE: Changing header value

2016-04-13 Thread Siano, Stephan
Stephan -Original Message- From: Kasim Sert (Ibtech-Software Infrastructure) [mailto:kasim.s...@ibtech.com.tr] Sent: Mittwoch, 13. April 2016 12:08 To: users@camel.apache.org Subject: RE: Changing header value Hi, You mean since its a constant expression it is evaluated at the beginning

RE: Changing header value

2016-04-13 Thread Kasim Sert (Ibtech-Software Infrastructure)
Message- From: Siano, Stephan [mailto:stephan.si...@sap.com] Sent: Wednesday, April 13, 2016 12:11 PM To: users@camel.apache.org Subject: RE: Changing header value Hi, At the beginning of the route you are setting the header to the value a has when the route is started (it's a con

RE: Changing header value

2016-04-13 Thread Siano, Stephan
Hi, At the beginning of the route you are setting the header to the value a has when the route is started (it's a constant expression). In the processor you are incrementing the value and are then setting the header to the current value of the variable a, so the route behaves as one would expec