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(Message message) |
String |
toString() |
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
Copyright © 2019 JBoss by Red Hat. All rights reserved.