camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rajivgupta1@gmail.com" <rajivgup...@gmail.com>
Subject .toUpperCase() doesn't work in the simple expression below.
Date Thu, 13 Nov 2014 19:02:36 GMT
<simple>'{{mainframe.filename}}.$simple{$simple{file:onlyname.noext}.toUpperCase()}.$simple{date:now:'D'yyMMdd}.$simple{date:now:'T'HHmmsss}'</simple>
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.

Mime
View raw message