public class FilteredDestination extends java.lang.Object
Constructor and Description |
---|
FilteredDestination() |
Modifier and Type | Method and Description |
---|---|
ActiveMQDestination |
getDestination() |
BooleanExpression |
getFilter() |
java.lang.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(java.lang.String queue)
Sets the destination property to the given queue name
|
void |
setSelector(java.lang.String selector)
Sets the JMS selector used to filter messages before forwarding them to this destination
|
void |
setTopic(java.lang.String topic)
Sets the destination property to the given topic name
|
public FilteredDestination()
public boolean matches(MessageEvaluationContext context) throws javax.jms.JMSException
javax.jms.JMSException
public ActiveMQDestination getDestination()
public void setDestination(ActiveMQDestination destination)
public java.lang.String getSelector()
public void setSelector(java.lang.String selector) throws javax.jms.InvalidSelectorException
javax.jms.InvalidSelectorException
public BooleanExpression getFilter()
public void setFilter(BooleanExpression filter)
public void setQueue(java.lang.String queue)
public void setTopic(java.lang.String topic)
Copyright © 2005-2017. All Rights Reserved.