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(org.apache.activemq.artemis.api.core.SimpleString filterStr) |
static Filter |
createFilter(String filterStr) |
boolean |
equals(Object obj) |
org.apache.activemq.artemis.api.core.SimpleString |
getFilterString() |
int |
hashCode() |
boolean |
match(ServerMessage message) |
String |
toString() |
public static Filter createFilter(String filterStr) throws org.apache.activemq.artemis.api.core.ActiveMQException
filterStr is null or an empty String and a valid filter elseorg.apache.activemq.artemis.api.core.ActiveMQException - if the string does not correspond to a valid filterpublic static Filter createFilter(org.apache.activemq.artemis.api.core.SimpleString filterStr) throws org.apache.activemq.artemis.api.core.ActiveMQException
filterStr is null or an empty String and a valid filter elseorg.apache.activemq.artemis.api.core.ActiveMQException - if the string does not correspond to a valid filterpublic org.apache.activemq.artemis.api.core.SimpleString getFilterString()
getFilterString in interface Filterpublic boolean match(ServerMessage message)
Copyright © 2023 The Apache Software Foundation. All rights reserved.