C# 클래스 Apache.NMS.Util.SessionUtil

Class to provide support for working with Session objects.
파일 보기 프로젝트 열기: ThorTech/apache-nms 1 사용 예제들

공개 메소드들

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