Package org.apache.activemq.filter
Class XQueryExpression
java.lang.Object
org.apache.activemq.filter.XQueryExpression
- All Implemented Interfaces:
BooleanExpression
,Expression
Used to evaluate an XQuery Expression in a JMS selector.
-
Method Summary
Modifier and TypeMethodDescriptionevaluate
(MessageEvaluationContext message) boolean
matches
(MessageEvaluationContext message) toString()
-
Method Details
-
evaluate
- Specified by:
evaluate
in interfaceExpression
- Returns:
- the value of this expression
- Throws:
jakarta.jms.JMSException
-
toString
-
matches
- Specified by:
matches
in interfaceBooleanExpression
- Parameters:
message
-- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
jakarta.jms.JMSException
-