Problem with Camel route using Annotation Based Expression Language In Bean Method

Solution Verified - Updated -


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.


JBoss Fuse 6.0
Camel 2.10.0-redhat-60024

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content