C# 클래스 Apache.NMS.MessageProducerExtensions

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

공개 메소드들

메소드 설명
CreateXmlMessage ( this producer, object obj ) : ITextMessage

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

Send ( this producer, IDestination destination, object objMessage ) : void

Sends the message to the given destination

Send ( this producer, IDestination destination, object objMessage, MsgDeliveryMode deliveryMode, MsgPriority priority, System.TimeSpan timeToLive ) : void

Sends the message to the given destination with the explicit QoS configuration. The object must be serializable to XML.

Send ( this producer, object objMessage ) : void

Sends the message to the default destination for this producer. The object must be serializable to XML.

Send ( this producer, object objMessage, MsgDeliveryMode deliveryMode, MsgPriority priority, System.TimeSpan timeToLive ) : void

Sends the message to the default destination with the explicit QoS configuration. The object must be serializable to XML.

메소드 상세

CreateXmlMessage() 공개 정적인 메소드

Extension function to create a text message from an object. The object must be serializable to XML.
public static CreateXmlMessage ( this producer, object obj ) : ITextMessage
producer this
obj object
리턴 ITextMessage

Send() 공개 정적인 메소드

Sends the message to the given destination
public static Send ( this producer, IDestination destination, object objMessage ) : void
producer this
destination IDestination
objMessage object
리턴 void

Send() 공개 정적인 메소드

Sends the message to the given destination with the explicit QoS configuration. The object must be serializable to XML.
public static Send ( this producer, IDestination destination, object objMessage, MsgDeliveryMode deliveryMode, MsgPriority priority, System.TimeSpan timeToLive ) : void
producer this
destination IDestination
objMessage object
deliveryMode MsgDeliveryMode
priority MsgPriority
timeToLive System.TimeSpan
리턴 void

Send() 공개 정적인 메소드

Sends the message to the default destination for this producer. The object must be serializable to XML.
public static Send ( this producer, object objMessage ) : void
producer this
objMessage object
리턴 void

Send() 공개 정적인 메소드

Sends the message to the default destination with the explicit QoS configuration. The object must be serializable to XML.
public static Send ( this producer, object objMessage, MsgDeliveryMode deliveryMode, MsgPriority priority, System.TimeSpan timeToLive ) : void
producer this
objMessage object
deliveryMode MsgDeliveryMode
priority MsgPriority
timeToLive System.TimeSpan
리턴 void