Apache.NMS.MessageProducerExtensions.Send C# (CSharp) Method

Send() public static method

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
return void
        public static void Send(this IMessageProducer producer, IDestination destination, object objMessage, MsgDeliveryMode deliveryMode, MsgPriority priority, TimeSpan timeToLive)
        {
            producer.Send(destination, producer.CreateXmlMessage(objMessage), deliveryMode, priority, timeToLive);
        }

Same methods

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