.toUpperCase() doesn't work in the simple expression below.

2014-11-13 Thread rajivgup...@gmail.com
'{{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.la

Re: .toUpperCase() doesn't work in the simple expression below.

2014-11-13 Thread Willem Jiang
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

Re: .toUpperCase() doesn't work in the simple expression below.

2014-11-17 Thread scottdawson
I use toUpperCase within a simple expression: ${in.header.flutype.toString().toUpperCase().charAt(0)} Try calling toString before toUpperCase. Regards, Scott -- View this message in context: http://camel.465427.n5.nabble.com/toUpperCase-doesn-t-work-in-the-simple-expression-below-tp5759065p57