C# Класс Apache.NMS.SessionExtensions

Показать файл Открыть проект

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

Метод Описание
CreateXmlMessage ( this session, object obj ) : ITextMessage

Extension function to create a text message from an object. The object must be serializable to XML.

DeleteDestination ( this session, string destinationName ) : void

Extension function to delete the named destination by parsing the embedded type prefix. Default is Queue if no prefix is embedded in the destinationName.

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

Extension function to delete the named destination by parsing the embedded type prefix.

DeleteQueue ( this session, string queueName ) : void

Extension function to delete the named destination by parsing the embedded type prefix.

DeleteTopic ( this session, string topicName ) : void

Extension function to delete the named destination by parsing the embedded type prefix.

GetDestination ( this session, string destinationName ) : IDestination

Extension function to get the destination by parsing the embedded type prefix. Default is Queue if no prefix is embedded in the destinationName.

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

Extension function to get the destination by parsing the embedded type prefix.

GetQueue ( this session, string queueName ) : IQueue

Extension function to get the destination by parsing the embedded type prefix.

GetTopic ( this session, string topicName ) : ITopic

Extension function to get the destination by parsing the embedded type prefix.

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

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

Extension function to create a text message from an object. The object must be serializable to XML.
public static CreateXmlMessage ( this session, object obj ) : ITextMessage
session this
obj object
Результат ITextMessage

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

Extension function to delete the named destination by parsing the embedded type prefix. Default is Queue if no prefix is embedded in the destinationName.
public static DeleteDestination ( this session, string destinationName ) : void
session this
destinationName string
Результат void

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

Extension function to delete the named destination by parsing the embedded type prefix.
public static DeleteDestination ( this session, string destinationName, DestinationType defaultType ) : void
session this
destinationName string
defaultType DestinationType
Результат void

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

Extension function to delete the named destination by parsing the embedded type prefix.
public static DeleteQueue ( this session, string queueName ) : void
session this
queueName string
Результат void

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

Extension function to delete the named destination by parsing the embedded type prefix.
public static DeleteTopic ( this session, string topicName ) : void
session this
topicName string
Результат void

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

Extension function to get the destination by parsing the embedded type prefix. Default is Queue if no prefix is embedded in the destinationName.
public static GetDestination ( this session, string destinationName ) : IDestination
session this
destinationName string
Результат IDestination

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

Extension function to get the destination by parsing the embedded type prefix.
public static GetDestination ( this session, string destinationName, DestinationType defaultType ) : IDestination
session this
destinationName string
defaultType DestinationType
Результат IDestination

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

Extension function to get the destination by parsing the embedded type prefix.
public static GetQueue ( this session, string queueName ) : IQueue
session this
queueName string
Результат IQueue

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

Extension function to get the destination by parsing the embedded type prefix.
public static GetTopic ( this session, string topicName ) : ITopic
session this
topicName string
Результат ITopic