The IMessageProducer type exposes the following members.
Methods
Name | Description | |
---|---|---|
Close |
Close the producer.
| |
CreateBytesMessage()()()() |
Creates a new binary message
| |
CreateBytesMessage(array<Byte>[]()[][]) |
Creates a new binary message with the given body
| |
CreateMapMessage |
Creates a new Map message which contains primitive key and value pairs
| |
CreateMessage |
Creates a new message with an empty body
| |
CreateObjectMessage |
Creates a new Object message containing the given .NET object as the body
| |
CreateStreamMessage |
Creates a new stream message
| |
CreateTextMessage()()()() |
Creates a new text message with an empty body
| |
CreateTextMessage(String) |
Creates a new text message with the given body
| |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.) | |
Send(IMessage) |
Sends the message to the default destination for this producer
| |
Send(IDestination, IMessage) |
Sends the message to the given destination
| |
Send(IMessage, MsgDeliveryMode, MsgPriority, TimeSpan) |
Sends the message to the default destination with the explicit QoS configuration
| |
Send(IDestination, IMessage, MsgDeliveryMode, MsgPriority, TimeSpan) |
Sends the message to the given destination with the explicit QoS configuration
|
Extension Methods
Name | Description | |
---|---|---|
CreateXmlMessage |
Extension function to create a text message from an object. The object must be serializable to XML.
(Defined by MessageProducerExtensions.) | |
Send(Object) | Overloaded.
Sends the message to the default destination for this producer. The object must be serializable to XML.
(Defined by MessageProducerExtensions.) | |
Send(IDestination, Object) | Overloaded.
Sends the message to the given destination
(Defined by MessageProducerExtensions.) | |
Send(Object, MsgDeliveryMode, MsgPriority, TimeSpan) | Overloaded.
Sends the message to the default destination with the explicit QoS configuration. The object must be serializable to XML.
(Defined by MessageProducerExtensions.) | |
Send(IDestination, Object, MsgDeliveryMode, MsgPriority, TimeSpan) | Overloaded.
Sends the message to the given destination with the explicit QoS configuration. The object must be serializable to XML.
(Defined by MessageProducerExtensions.) |
Properties
Name | Description | |
---|---|---|
DeliveryMode | ||
DisableMessageID | ||
DisableMessageTimestamp | ||
Priority | ||
ProducerTransformer |
A delegate that is called each time a Message is sent from this Producer which allows
the application to perform any needed transformations on the Message before it is sent.
| |
RequestTimeout | ||
TimeToLive |