I use toUpperCase within a simple expression: <setHeader headerName="flutype"><simple>${in.header.flutype.toString().toUpperCase().charAt(0)}</simple></setHeader>
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-tp5759065p5759212.html Sent from the Camel - Users mailing list archive at Nabble.com.