Search in sources :

Example 1 with PropertyExpression

use of org.apache.activemq.filter.PropertyExpression in project activemq-artemis by apache.

the class SelectorParserTest method assertPropertyExpression.

protected void assertPropertyExpression(String message, Expression expression, String expected) {
    assertTrue(message + ". Must be PropertyExpression", expression instanceof PropertyExpression);
    PropertyExpression propExp = (PropertyExpression) expression;
    assertEquals(message + ". Property name", expected, propExp.getName());
}
Also used : PropertyExpression(org.apache.activemq.filter.PropertyExpression)

Aggregations

PropertyExpression (org.apache.activemq.filter.PropertyExpression)1