This class replaces the old BridgeInfo class to represent bridges between destinations.
More...
This class replaces the old BridgeInfo class to represent bridges between destinations.
DestinationBridgeInfo objects can be created and then passed to an Admin object to create or update the bridge on the EMS server. DestinationBridgeInfo objects represent a bridge between a single source and a single target unlike the old BridgeInfo objects which had one source but could have multuple targets. To modify a DestinationBridgeInfo object it is necessary to delete the old bridge and create a new one.
TIBCO.EMS.ADMIN.DestinationBridgeInfo.DestinationBridgeInfo |
( |
DestinationType |
sourceType, |
|
|
string |
sourceName, |
|
|
DestinationType |
targetType, |
|
|
string |
targetName, |
|
|
string |
selector |
|
) |
| |
|
inline |
Create a DestinationBridgeInfo object that will bridge between two destinations with an optional selector.
The bridge is not created on the server until the object is passed to Admin.createDestinationBridge().
- Parameters
-
sourceType | the type of the source destination, either DestinationType.Queue or DestinationType.Topic. DestinationType |
sourceName | the name of the source destination |
targetType | the type of the target destination, either DestinationType.Queue or DestinationType.Topic. DestinationType |
targetName | the name of the target destination |
selector | the selector (can be null) |
override string TIBCO.EMS.ADMIN.DestinationBridgeInfo.ToString |
( |
| ) |
|
|
inline |
Returns a String that represents the current Object
string TIBCO.EMS.ADMIN.DestinationBridgeInfo.Selector |
|
get |
Get the selector used by this bridge.
Only messages that pass this selector will be bridged from the source destination to the target destination.
- Returns
- the selector or null if one is not set
string TIBCO.EMS.ADMIN.DestinationBridgeInfo.SourceName |
|
get |
Get the name of the destination that is the source for this bridge.
- Returns
- the source's name
Get the type of the destination that is the source for this bridge.
- Returns
- the source's type, either DestinationType.Queue or DestinationType.Topic. DestinationType
string TIBCO.EMS.ADMIN.DestinationBridgeInfo.TargetName |
|
get |
Get the name of the destination that is the target for this bridge.
- Returns
- the target's name
Get the type of the destination that is the target for this bridge.
- Returns
- the target's type, either DestinationType.Queue or DestinationType.Topic. DestinationType