NumberFormatException while using camel log
Issue
- Getting NumberFormatException while printing contents of IN message body
<log id="_log1" message="++body contains sting 'ABC' ++${body}++"/>
Exception
caught: org.apache.camel.TypeConversionException: Error during type conversion from type: java.lang.String to the required type: java.lang.Number with value
due to java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)[:1.8.0_73]
Environment
- Red Hat JBoss Fuse
- 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
