In 2.0m2 try without the ' ' around the left hand side value. That
should work too.


On Wed, Jul 29, 2009 at 7:15 PM, msjwhite<marksjwh...@hotmail.com> wrote:
>
> Thanks, Claus.
>
> It does indeed work when using 2.0-M3.  My only problem now is that the XSD
> for 2.0-M3 is still missing, so we can't test our routes 100% accurately
> with M3 yet (which is why I was still testing against M2 originally).
>
> Thanks
> Mark
>
> INFO  [RouteTest                     ] - Expected message count
> OUT_QUEUE_1=1, OUT_QUEUE_2=1, ERROR=0
> INFO  [RouteTest                     ] - Sent exchange: Exchange[Message: ]
> INFO  [Logger                        ] -
> ID:mswxp2-3007-1248886647937-0:4:1:1:1 >>> from(jms://IN_QUEUE) -->,
> Pattern:InOnly, Headers:{JMSXGroupID=null, JMSCorrelationID=null,
> JMSType=null, JMSExpiration=0,
> JMSMessageID=ID:mswxp2-3007-1248886647937-0:4:1:1:1, JMSRedelivered=false,
> JMSDeliveryMode=2, JMSPriority=4, type=INPUT, JMSReplyTo=null,
> JMSTimestamp=1248886648953, JMSDestination=queue://IN_QUEUE},
> BodyType:String, Body:
> INFO  [Logger                        ] - ID-mswxp2-3009-1248886648265-0-0
>>>>  -->, Pattern:InOnly, Headers:{type=TYPE1}, BodyType:String, Body:
> INFO  [Logger                        ] - ID-mswxp2-3009-1248886648265-0-0
>>>>  --> ${header.type} == 'TYPE1', Pattern:InOnly, Headers:{type=TYPE1},
> BodyType:String, Body:
> INFO  [Logger                        ] - ID-mswxp2-3009-1248886648265-0-1
>>>> ${header.type} == 'TYPE1' -->, Pattern:InOnly, Headers:{type=TYPE2},
> BodyType:String, Body:
> INFO  [Logger                        ] - ID-mswxp2-3009-1248886648265-0-1
>>>>  --> ${header.type} == 'TYPE2', Pattern:InOnly, Headers:{type=TYPE2},
> BodyType:String, Body:
> INFO  [RouteTest                     ] - Got message count OUT_QUEUE_1=1,
> OUT_QUEUE_2=1, ERROR=0
>
>
>
> Claus Ibsen-2 wrote:
>>
>> Hi
>>
>> Could you try with 2.0m3 there was a fix in the simple language in
>> relation to use ' ' in the left hand side.
>>
>> You can also try other combos
>>
>> ${in.header.type} == TYPE1
>> ${out.header.type} == TYPE1
>>
>> Just to see if you get a match.
>>
>> If still an issue let me know and if you can create a sample / unit
>> test that demos it then I can take a look and debug / fix the issue.
>>
>> --
>> Claus Ibsen
>> Apache Camel Committer
>>
>> Open Source Integration: http://fusesource.com
>> Blog: http://davsclaus.blogspot.com/
>> Twitter: http://twitter.com/davsclaus
>>
>>
>
> --
> View this message in context: 
> http://www.nabble.com/Simple-language-checks-failing-after-split-tp24722130p24723769.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
>



-- 
Claus Ibsen
Apache Camel Committer

Open Source Integration: http://fusesource.com
Blog: http://davsclaus.blogspot.com/
Twitter: http://twitter.com/davsclaus

Reply via email to