WebLogic Messaging API Class Library

IMessageProducer. Method (IMessage)

Sends a message using the IMessageProducer's default delivery mode, priority, and time to live.

void (
   IMessage message
);

Parameters

IMessage
the message to send

Exceptions

Exception Type Condition
MessageException if the JMS provider fails to send the message due to some internal error.
MessageFormatException if an invalid message is specified.
InvalidDestinationException if a client uses this method with a IMessageProducer with an invalid destination.
NotSupportedException if a client uses this method with a IMessageProducer that did not specify a destination at creation time.

See Also

IMessageProducer Interface | WebLogic.Messaging Namespace | IMessageProducer. Overload List | CreateProducer