Package com.tibco.tibjms.admin
Class RouteSelector
- java.lang.Object
- 
- com.tibco.tibjms.admin.RouteSelector
 
- 
 public class RouteSelector extends java.lang.ObjectThis class represents a selector applied to incoming or outgoing messages on a route.
- 
- 
Constructor SummaryConstructors Constructor Description RouteSelector(java.lang.String topic, java.lang.String selector)Create a selector for messages on a given topic.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RouteSelectorfrom(javax.management.openmbean.CompositeData cd)For Internal use only, may be removed or deprecated in future.java.lang.StringgetSelector()Get the selector that messages need to match in order for them to pass through the selector.java.lang.StringgetTopic()Get the topic for this selector.voidsetSelector(java.lang.String selector)Change the selector that messages need to match in order for them to pass through the selector.java.lang.StringtoString()
 
- 
- 
- 
Constructor Detail- 
RouteSelectorpublic RouteSelector(java.lang.String topic, java.lang.String selector)Create a selector for messages on a given topic.- Parameters:
- topic- the topic on which the selector will be run.
- selector- the selector that messages need to match in order that they be sent to or received from the route.
 
 
- 
 - 
Method Detail- 
getTopicpublic java.lang.String getTopic() Get the topic for this selector.- Returns:
- the topic for the selector.
 
 - 
getSelectorpublic java.lang.String getSelector() Get the selector that messages need to match in order for them to pass through the selector.- Returns:
- the selector.
 
 - 
setSelectorpublic void setSelector(java.lang.String selector) Change the selector that messages need to match in order for them to pass through the selector.- Parameters:
- selector- the new selector.
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
frompublic static RouteSelector from(javax.management.openmbean.CompositeData cd) For Internal use only, may be removed or deprecated in future.- Returns:
- a RouteSelector object from CompositeData
- Throws:
- java.lang.IllegalArgumentException- if CompositeType does not match or if a null CompositeData is passed.
 
 
- 
 
-