camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Babak Vahdat <babak.vah...@swissonline.ch>
Subject Re: LogProcessor & Simple UnaryExpression
Date Wed, 25 Sep 2013 19:32:45 GMT


Am 25.09.13 20:56 schrieb "Charles Moulliard" unter <ch007m@gmail.com>:

>Hi,
>
>Is there a trick to avoid that Simple language uses unary expression when
>the mog message contains '---' characters

Hi

This has been already fixed so maybe try to upgrade:

https://issues.apache.org/jira/browse/CAMEL-6414

Babak

>
>
> <log message="--- SOAP Response received : ${body} ---">
>
>.camel.TypeConversionException: Error during type conversion from type:
>java.lang.String to the required type: java.lang.Number with value   due
>java.lang.NumberFormatException: For input string: " "
>org.apache.camel.TypeConversionException: Error during type conversion
>from
>type: java.lan
>g.String to the required type: java.lang.Number with value   due
>java.lang.NumberFormatException: For input string: " "
>at
>org.apache.camel.impl.converter.BaseTypeConverterRegistry.convertTo(BaseTy
>peConverterRegistry.java:126)
>at
>org.apache.camel.support.ExpressionAdapter.evaluate(ExpressionAdapter.java
>:37)
>at
>org.apache.camel.language.simple.ast.UnaryExpression$2.evaluate(UnaryExpre
>ssion.java:114)*
>
>Regards,
>
>-- 
>Charles Moulliard
>Apache Committer / Architect @RedHat
>Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com



Mime
View raw message