Package org.apache.activemq.filter
Class XPathExpression
java.lang.Object
org.apache.activemq.filter.XPathExpression
- All Implemented Interfaces:
BooleanExpression,Expression
Used to evaluate an XPath Expression in a JMS selector.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionevaluate(MessageEvaluationContext message) booleanmatches(MessageEvaluationContext message) protected static voidsetupFeatures(DocumentBuilderFactory factory) toString()
-
Field Details
-
DOCUMENT_BUILDER_FACTORY_FEATURE
- See Also:
-
-
Method Details
-
setupFeatures
-
evaluate
- Specified by:
evaluatein interfaceExpression- Returns:
- the value of this expression
- Throws:
jakarta.jms.JMSException
-
toString
-
matches
- Specified by:
matchesin interfaceBooleanExpression- Parameters:
message-- Returns:
- true if the expression evaluates to Boolean.TRUE.
- Throws:
jakarta.jms.JMSException
-