public class RouteSelector
extends java.lang.Object
| Constructor and Description |
|---|
RouteSelector(java.lang.String topic,
java.lang.String selector)
Create a selector for messages on a given topic.
|
| Modifier and Type | Method and Description |
|---|---|
static RouteSelector |
from(javax.management.openmbean.CompositeData cd)
For Internal use only, may be removed or deprecated in future.
|
java.lang.String |
getSelector()
Get the selector that messages need to match in order for them to pass
through the selector.
|
java.lang.String |
getTopic()
Get the topic for this selector.
|
void |
setSelector(java.lang.String selector)
Change the selector that messages need to match in order for them to
pass through the selector.
|
java.lang.String |
toString() |
public RouteSelector(java.lang.String topic,
java.lang.String selector)
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.public java.lang.String getTopic()
public java.lang.String getSelector()
public void setSelector(java.lang.String selector)
selector - the new selector.public java.lang.String toString()
toString in class java.lang.Objectpublic static RouteSelector from(javax.management.openmbean.CompositeData cd)
java.lang.IllegalArgumentException - if CompositeType does not match
or if a null CompositeData is passed.Copyright © Cloud Software Group, Inc. All rights reserved