C# 클래스 Apache.NMS.SessionExtensions

파일 보기 프로젝트 열기: ThorTech/apache-nms

공개 메소드들

메소드 설명
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