public class DestinationBridgeInfo
extends java.lang.Object
Constructor and Description |
---|
DestinationBridgeInfo(int sourceType,
java.lang.String sourceName,
int targetType,
java.lang.String targetName,
java.lang.String selector)
Create a DestinationBridgeInfo object that will bridge between two destinations with an optional selector.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getSelector()
Get the selector used by this bridge.
|
java.lang.String |
getSourceName()
Get the name of the destination that is the source for this bridge.
|
int |
getSourceType()
Get the type of the destination that is the source for this bridge.
|
java.lang.String |
getTargetName()
Get the name of the destination that is the target for this bridge.
|
int |
getTargetType()
Get the type of the destination that is the target for this bridge.
|
java.lang.String |
toString() |
public DestinationBridgeInfo(int sourceType, java.lang.String sourceName, int targetType, java.lang.String targetName, java.lang.String selector)
sourceType
- the type of the source destination, either DestinationInfo.QUEUE_TYPE
or DestinationInfo.TOPIC_TYPE
sourceName
- the name of the source destinationtargetType
- the type of the target destination either DestinationInfo.QUEUE_TYPE
or DestinationInfo.TOPIC_TYPE
targetName
- the name of the target destinationselector
- the selector (can be null)public int getSourceType()
DestinationInfo.QUEUE_TYPE
or DestinationInfo.TOPIC_TYPE
public java.lang.String getSourceName()
public int getTargetType()
DestinationInfo.QUEUE_TYPE
or DestinationInfo.TOPIC_TYPE
public java.lang.String getTargetName()
public java.lang.String getSelector()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © Cloud Software Group, Inc. All rights reserved