public class FilteredDestination extends Object
| Constructor and Description |
|---|
FilteredDestination() |
| Modifier and Type | Method and Description |
|---|---|
ActiveMQDestination |
getDestination() |
BooleanExpression |
getFilter() |
String |
getSelector() |
boolean |
matches(MessageEvaluationContext context) |
void |
setDestination(ActiveMQDestination destination)
The destination to send messages to if they match the filter
|
void |
setFilter(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(MessageEvaluationContext context) throws JMSException
JMSExceptionpublic ActiveMQDestination getDestination()
public void setDestination(ActiveMQDestination destination)
public String getSelector()
public void setSelector(String selector) throws InvalidSelectorException
InvalidSelectorExceptionpublic BooleanExpression getFilter()
public void setFilter(BooleanExpression filter)
Copyright © 2005–2016 The Apache Software Foundation. All rights reserved.