Evaluate Expression


The Evaluate Expression filter enables you to extract a string, convert it into a selector expression, and evaluate the contents of that expression. This filter is useful for testing purposes.

For example, you could configure an Evaluate Expression filter with the following default value:


You could then chain this filter to a Set Message filter that specifies the ${value} message attribute generated by the Evaluate Expression filter in its message body. Then in this case, the following HTTP client request would result in a value of 3 in the response message body:


For more details, see the following topics:



Enter a descriptive name for this filter.

Expression location:

Enter the selector expression to be evaluated. Defaults to the following:


Expression type:

Enter the type of the selector expression to be evaluated. Defaults to java.lang.String.