The IMessageProducer type exposes the following members.

Properties

  NameDescription
Public propertyDeliveryMode
Sets the producer's default delivery mode.

Delivery mode is set to PERSISTENT by default.

Public propertyDestination
Gets the destination associated with this MessageProducer.
Public propertyDisableMessageID

Gets an indication of whether message IDs are disabled.

Public propertyDisableMessageTimestamp

Gets an indication of whether message timestamps are disabled.

Public propertyPriority
Sets the producer's default priority.

The JMS API defines ten levels of priority value, with 0 as the lowest priority and 9 as the highest. Clients should consider priorities 0-4 as gradations of normal priority and priorities 5-9 as gradations of expedited priority. Priority is set to 4 by default.

Public propertyTimeToLive

Gets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system.

See Also