C# Class Apache.NMS.SessionExtensions

Afficher le fichier Open project: ThorTech/apache-nms

Méthodes publiques

Méthode Description
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.

Method Details

CreateXmlMessage() public static méthode

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
Résultat ITextMessage

DeleteDestination() public static méthode

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
Résultat void

DeleteDestination() public static méthode

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
Résultat void

DeleteQueue() public static méthode

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
Résultat void

DeleteTopic() public static méthode

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
Résultat void

GetDestination() public static méthode

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
Résultat IDestination

GetDestination() public static méthode

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
Résultat IDestination

GetQueue() public static méthode

Extension function to get the destination by parsing the embedded type prefix.
public static GetQueue ( this session, string queueName ) : IQueue
session this
queueName string
Résultat IQueue

GetTopic() public static méthode

Extension function to get the destination by parsing the embedded type prefix.
public static GetTopic ( this session, string topicName ) : ITopic
session this
topicName string
Résultat ITopic