C# Class Apache.NMS.MessageProducerExtensions

Afficher le fichier Open project: ThorTech/apache-nms

Méthodes publiques

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

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 producer, object obj ) : ITextMessage
producer this
obj object
Résultat ITextMessage

Send() public static méthode

Sends the message to the given destination
public static Send ( this producer, IDestination destination, object objMessage ) : void
producer this
destination IDestination
objMessage object
Résultat void

Send() public static méthode

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

Send() public static méthode

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

Send() public static méthode

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