Hi,

any info about this? Or can you lead me to some previous discussion? Operator 
"==" in Simple expression works in 2.11 but not in 2.11.1 version. It's 
regression.


Tested with something like this:

<simple>${header.number} == 1</simple>


Regards,
Robert


----- Original Message -----
From: "Antoine DESSAIGNE" <[email protected]>
To: [email protected]
Sent: Wednesday, June 26, 2013 9:51:22 AM
Subject: Re: == operator in Simple expressions

Hi,

Unfortunately there's no response.

I'll try to rephrase: should the "==" operator be available in Simple
expressions? I want to know whether or not I should create an issue.

Thanks a lot for your insights,

Antoine.


2013/6/13 Antoine DESSAIGNE <[email protected]>

> Hi everyone,
>
> We had a unexpected behavior with this simple expression:
> <setHeader headerName="isFour">
>     <simple>${body[value]} == 4</simple>
> </setHeader>
>
> It does not return true or false but a string like "4 == 4".
>
> The documentation is unclear about == operator used in expressions (and
> not predicates). Is this the desired behavior ?
>
> Thanks a lot,
>
> Antoine.
>

Reply via email to