public class FilteredDestination extends Object
| Constructor and Description |
|---|
FilteredDestination() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
org.apache.activemq.command.ActiveMQDestination |
getDestination() |
org.apache.activemq.filter.BooleanExpression |
getFilter() |
String |
getSelector() |
int |
hashCode() |
boolean |
matches(org.apache.activemq.filter.MessageEvaluationContext context) |
void |
setDestination(org.apache.activemq.command.ActiveMQDestination destination)
The destination to send messages to if they match the filter
|
void |
setFilter(org.apache.activemq.filter.BooleanExpression filter) |
void |
setQueue(String queue)
Sets the destination property to the given queue name
|
void |
setSelector(String selector)
Sets the JMS selector used to filter messages before forwarding them to this destination
|
void |
setTopic(String topic)
Sets the destination property to the given topic name
|
public FilteredDestination()
public boolean matches(org.apache.activemq.filter.MessageEvaluationContext context) throws javax.jms.JMSException
javax.jms.JMSExceptionpublic org.apache.activemq.command.ActiveMQDestination getDestination()
public void setDestination(org.apache.activemq.command.ActiveMQDestination destination)
public String getSelector()
public void setSelector(String selector) throws javax.jms.InvalidSelectorException
javax.jms.InvalidSelectorExceptionpublic org.apache.activemq.filter.BooleanExpression getFilter()
public void setFilter(org.apache.activemq.filter.BooleanExpression filter)
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.