WebLogic Messaging API Class Library |

# IMessageProducer. Method

Sends a message to a destination for an unidentified message producer. Uses the `IMessageProducer`'s delivery mode, priority, and time to live.

Typically, a message producer is assigned a destination at creation time; however, the JMS API also supports unidentified message producers, which require that the destination be supplied every time a message is sent.

#### Overload List

Sends a message to a destination for an unidentified message producer. Uses the `IMessageProducer`'s delivery mode, priority, and time to live. Typically, a message producer is assigned a destination at creation time; however, the JMS API also supports unidentified message producers, which require that the destination be supplied every time a message is sent.

> void (IDestination,IMessage);

Sends a message to a destination for an unidentified message producer, specifying delivery mode, priority and time to live. Typically, a message producer is assigned a destination at creation time; however, the JMS API also supports unidentified message producers, which require that the destination be supplied every time a message is sent.

> void (IDestination,IMessage,Constants.DeliveryMode,Int32,Int64);

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

> void (IMessage);

Sends a message to the destination, specifying delivery mode, priority, and time to live.

> void (IMessage,Constants.DeliveryMode,Int32,Int64);

#### See Also

IMessageProducer Interface | WebLogic.Messaging Namespace | CreateProducer