C# Класс Apache.NMS.Util.SessionUtil

Class to provide support for working with Session objects.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

DeleteDestination() публичный статический Метод

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:// /// ///
Результат void

DeleteDestination() публичный статический Метод

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.
Результат void

DeleteQueue() публичный статический Метод

public static DeleteQueue ( ISession session, string queueName ) : void
session ISession
queueName string
Результат void

DeleteTopic() публичный статический Метод

public static DeleteTopic ( ISession session, string topicName ) : void
session ISession
topicName string
Результат void

GetDestination() публичный статический Метод

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:// /// ///
Результат IDestination

GetDestination() публичный статический Метод

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.
Результат IDestination

GetQueue() публичный статический Метод

public static GetQueue ( ISession session, string queueName ) : IQueue
session ISession
queueName string
Результат IQueue

GetTopic() публичный статический Метод

public static GetTopic ( ISession session, string topicName ) : ITopic
session ISession
topicName string
Результат ITopic