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 boolean matches(MessageEvaluationContext context) throws javax.jms.JMSException
javax.jms.JMSException
public ActiveMQDestination getDestination()
public void setDestination(ActiveMQDestination destination)
public String getSelector()
public void setSelector(String selector) throws javax.jms.InvalidSelectorException
javax.jms.InvalidSelectorException
public BooleanExpression getFilter()
public void setFilter(BooleanExpression filter)
public void setQueue(String queue)
public void setTopic(String topic)
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.