Hi,

Would it be possible to have a starts with ignore case (like contains ignore 
case) in the simple language ? Currently it is case sensitive.  Or is there a 
possibility to set the "${header.CamelFileNameOnly} to lower case somehow ?

.when(simple("${header.CamelFileNameOnly} starts with 'MyFilename'"))

Only way I found to circumvent this was to use the contains ignore case for 
now, but it is not quite the same thing:

.when(simple("${header.CamelFileNameOnly} ~~ 'MyFilename'"))

Thanks!
--
Jari



This e-mail transmission may contain confidential or legally privileged 
information that is intended only for the individual or entity named in the 
e-mail address. If you are not the intended recipient, you are hereby notified 
that any disclosure, copying, distribution, or reliance upon the contents of 
this e-mail is strictly prohibited. If you have received this e-mail 
transmission in error, please reply to the sender, so that they can arrange for 
proper delivery, and then please delete the message from your computer systems. 
Thank you.

Reply via email to