public class FilterImpl extends Object implements Filter
SimpleString
, not java.lang.String
(see JBMESSAGING-1307).
Derived from JBoss MQ version by, Norbert Lataille, Juha Lindfors, Jason Dillon, Scott Stark, Tim FoxModifier and Type | Method and Description |
---|---|
static Filter |
createFilter(SimpleString filterStr) |
static Filter |
createFilter(String filterStr) |
boolean |
equals(Object obj) |
SimpleString |
getFilterString() |
int |
hashCode() |
boolean |
match(ServerMessage message) |
String |
toString() |
public static Filter createFilter(String filterStr) throws HornetQException
filterStr
is null or an empty String and a valid filter elseHornetQException
- if the string does not correspond to a valid filterpublic static Filter createFilter(SimpleString filterStr) throws HornetQException
filterStr
is null or an empty String and a valid filter elseHornetQException
- if the string does not correspond to a valid filterpublic SimpleString getFilterString()
getFilterString
in interface Filter
public boolean match(ServerMessage message)
Copyright © 2018 JBoss by Red Hat. All rights reserved.