WebLogic Messaging API Class Library

IMessageProducer�Methods

The methods of the IMessageProducer interface are listed below. For a complete list of IMessageProducer interface members, see the IMessageProducer Members topic.

Public Instance Methods

CloseCloses the message producer. Since JMS allocates some resources on behalf of a IMessageProducer outside the .NET CLR, clients should Close them when they are not needed. Relying on garbage collection to eventually reclaim these resources may not be timely enough. There is no need to close a message producer if the producer's parent session or connection is closed, or if its parent context has been closed with CloseAll.
SendOverloaded. Sends a message using the IMessageProducer's delivery mode, priority, and time to live.

See Also

IMessageProducer Interface | WebLogic.Messaging Namespace | CreateProducer