Interface Filterable
-
public interface Filterable
A Filterable is the object being evaluated by the filters. It provides access to filtered properties.- Version:
- $Revision: 1.4 $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> T
getBodyAs(java.lang.Class<T> type)
This method is used by message filters which do content based routing (Like the XPath based selectors).java.lang.Object
getLocalConnectionId()
Used by the NoLocal filter.java.lang.Object
getProperty(org.apache.activemq.artemis.api.core.SimpleString name)
Extracts the named message property
-
-
-
Method Detail
-
getBodyAs
<T> T getBodyAs(java.lang.Class<T> type) throws FilterException
This method is used by message filters which do content based routing (Like the XPath based selectors).- Type Parameters:
T
-- Parameters:
type
-- Returns:
- Throws:
FilterException
-
getProperty
java.lang.Object getProperty(org.apache.activemq.artemis.api.core.SimpleString name)
Extracts the named message property- Parameters:
name
-- Returns:
-
getLocalConnectionId
java.lang.Object getLocalConnectionId()
Used by the NoLocal filter.- Returns:
- a unique id for the connection that produced the message.
-
-