C# Class Apache.NMS.Util.SessionUtil

Class to provide support for working with Session objects.
Afficher le fichier Open project: ThorTech/apache-nms Class Usage Examples

Méthodes publiques

Méthode Description
DeleteDestination ( ISession session, string destinationName ) : void

Delete the named destination by parsing the embedded type prefix. Default is Queue if no prefix is embedded in the destinationName.

DeleteDestination ( ISession session, string destinationName, DestinationType defaultType ) : void

Delete the named destination by parsing the embedded type prefix.

DeleteQueue ( ISession session, string queueName ) : void
DeleteTopic ( ISession session, string topicName ) : void
GetDestination ( ISession session, string destinationName ) : IDestination

Get the destination by parsing the embedded type prefix. Default is Queue if no prefix is embedded in the destinationName.

GetDestination ( ISession session, string destinationName, DestinationType defaultType ) : IDestination

Get the destination by parsing the embedded type prefix.

GetQueue ( ISession session, string queueName ) : IQueue
GetTopic ( ISession session, string topicName ) : ITopic

Method Details

DeleteDestination() public static méthode

Delete the named destination by parsing the embedded type prefix. Default is Queue if no prefix is embedded in the destinationName.
public static DeleteDestination ( ISession session, string destinationName ) : void
session ISession Session object to use to get the destination.
destinationName string Name of destination with embedded prefix. The embedded prefix can be one of the following: /// /// queue:// /// topic:// /// temp-queue:// /// temp-topic:// /// ///
Résultat void

DeleteDestination() public static méthode

Delete the named destination by parsing the embedded type prefix.
public static DeleteDestination ( ISession session, string destinationName, DestinationType defaultType ) : void
session ISession Session object to use to get the destination.
destinationName string Name of destination with embedded prefix. The embedded prefix can be one of the following: /// /// queue:// /// topic:// /// temp-queue:// /// temp-topic:// /// ///
defaultType DestinationType Default type if no embedded prefix is specified.
Résultat void

DeleteQueue() public static méthode

public static DeleteQueue ( ISession session, string queueName ) : void
session ISession
queueName string
Résultat void

DeleteTopic() public static méthode

public static DeleteTopic ( ISession session, string topicName ) : void
session ISession
topicName string
Résultat void

GetDestination() public static méthode

Get the destination by parsing the embedded type prefix. Default is Queue if no prefix is embedded in the destinationName.
public static GetDestination ( ISession session, string destinationName ) : IDestination
session ISession Session object to use to get the destination.
destinationName string Name of destination with embedded prefix. The embedded prefix can be one of the following: /// /// queue:// /// topic:// /// temp-queue:// /// temp-topic:// /// ///
Résultat IDestination

GetDestination() public static méthode

Get the destination by parsing the embedded type prefix.
public static GetDestination ( ISession session, string destinationName, DestinationType defaultType ) : IDestination
session ISession Session object to use to get the destination.
destinationName string Name of destination with embedded prefix. The embedded prefix can be one of the following: /// /// queue:// /// topic:// /// temp-queue:// /// temp-topic:// /// ///
defaultType DestinationType Default type if no embedded prefix is specified.
Résultat IDestination

GetQueue() public static méthode

public static GetQueue ( ISession session, string queueName ) : IQueue
session ISession
queueName string
Résultat IQueue

GetTopic() public static méthode

public static GetTopic ( ISession session, string topicName ) : ITopic
session ISession
topicName string
Résultat ITopic