WebLogic Messaging API Class Library

IMessageProducer Members

IMessageProducer overview

Public Instance Properties

DeliveryModeGets or Sets the producer's default delivery mode. Delivery mode is set to PERSISTENT by default.
DestinationGets the destination associated with this IMessageProducer.
PriorityGets or 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.
TimeToLiveGets or Sets the default length of time in milliseconds from its dispatch time that a produced message should be retained by the message system. Time to live is set to zero by default.

Public Instance Methods

CloseCloses the message producer. Since a provider may allocate some resources on behalf of a IMessageProducer outside the Java virtual machine, clients should Close them when they are not needed. Relying on garbage collection to eventually reclaim these resources may not be timely enough.
SendOverloaded. Sends a message using the IMessageProducer's default delivery mode, priority, and time to live.

See Also

IMessageProducer Interface | WebLogic.Messaging Namespace | CreateProducer