public class BridgeTarget
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
QUEUE_TYPE
Indicates that the target of the bridge is a queue.
|
static int |
TOPIC_TYPE
Indicates that the target of the bridge is a topic.
|
Modifier and Type | Method and Description |
---|---|
static BridgeTarget |
from(javax.management.openmbean.CompositeData cd)
For Internal use only, may be removed or deprecated in future.
|
java.lang.String |
getName()
Get the name of the destination being bridged to.
|
java.lang.String |
getSelector()
Get the selector.
|
int |
getType()
Get the type of the destination being bridged to.
|
java.lang.String |
toString() |
public static final int QUEUE_TYPE
public static final int TOPIC_TYPE
public java.lang.String getName()
public int getType()
QUEUE_TYPE
if the destination being bridged to
is a queue or TOPIC_TYPE
if it is a topic.public java.lang.String getSelector()
public java.lang.String toString()
toString
in class java.lang.Object
public static BridgeTarget from(javax.management.openmbean.CompositeData cd) throws java.lang.Exception
java.lang.IllegalArgumentException
- if CompositeType does not match
or if a null CompositeData is passed.java.lang.Exception
Copyright © Cloud Software Group, Inc. All rights reserved