I think you can consider to set exchange property by using some other script
which supports toUpperCase(). Then reference it in the simple expression.
--
Willem Jiang
Red Hat, Inc.
Web: http://www.redhat.com
Blog: http://willemjiang.blogspot.com (English)
http://jnn.iteye.com (Chinese)
Twitter: willemjiang
Weibo: 姜宁willem
On November 14, 2014 at 3:04:04 AM, rajivgup...@gmail.com
(rajivgup...@gmail.com) wrote:
'{{mainframe.filename}}.$simple{$simple{file:onlyname.noext}.toUpperCase()}.$simple{date:now:'D'yyMMdd}.$simple{date:now:'T'HHmmsss}'
I need to send a upper cased file name to mainframe and the expression above
throws the following error.
Is there a work around for this issue ?
org.apache.camel.language.simple.types.SimpleIllegalSyntaxException: Unknown
function: mediacashpaid.toUpperCase() at location 26
'DDSTEST.SAP.ZBTO.SAPFILE.$simple{$simple{file:onlyname.noext}.toUpperCase()}.$simple{date:now:'D'yyMMdd}.$simple{date:now:'T'HHmmsss}'
--
View this message in context:
http://camel.465427.n5.nabble.com/toUpperCase-doesn-t-work-in-the-simple-expression-below-tp5759065.html
Sent from the Camel - Users mailing list archive at Nabble.com.