Problem with Camel route using Annotation Based Expression Language In Bean Method
Issue
A problem has been discover when using the Annotation Based Expression Language in a Bean method as follows:
public boolean returnSuccess (@Simple("${exception} == null") boolean success) {
return success;
}
A route may try to invoke this method to see if the exception is null, however a bug was discovered as the expression @Simple("${exception} == null") is not properly evaluated.
Environment
JBoss Fuse 6.0
Camel 2.10.0-redhat-60024
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.
