public class FilterImpl extends Object implements Filter
SimpleString
, not java.lang.String
(see JBMESSAGING-1307).
Derived from JBoss MQ version byGENERIC_IGNORED_FILTER
Modifier 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(Filterable filterable) |
boolean |
match(Map<String,String> map) |
boolean |
match(Message message) |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
toFilterString
public static Filter createFilter(String filterStr) throws ActiveMQException
filterStr
is null or an empty String and a valid filter elseActiveMQException
- if the string does not correspond to a valid filterpublic static Filter createFilter(SimpleString filterStr) throws ActiveMQException
filterStr
is null or an empty String and a valid filter elseActiveMQException
- if the string does not correspond to a valid filterpublic SimpleString getFilterString()
getFilterString
in interface Filter
public boolean match(Filterable filterable)
Copyright © 2020 JBoss by Red Hat. All rights reserved.