Interface Filterable
-
public interface FilterableA Filterable is the object being evaluated by the filters. It provides access to filtered properties.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <T> TgetBodyAs(Class<T> type)This method is used by message filters which do content based routing (Like the XPath based selectors).ObjectgetLocalConnectionId()Used by the NoLocal filter.ObjectgetProperty(String name)Extracts the named message property
-
-
-
Method Detail
-
getBodyAs
<T> T getBodyAs(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:
- the body
- Throws:
FilterException
-
getProperty
Object getProperty(String name)
Extracts the named message property- Parameters:
name-- Returns:
- the property
-
getLocalConnectionId
Object getLocalConnectionId()
Used by the NoLocal filter.- Returns:
- a unique id for the connection that produced the message.
-
-