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.
Exception Type | Condition |
---|---|
MessageException | if JMS 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 an invalid destination. |
IMessageProducer Interface | WebLogic.Messaging Namespace | IMessageProducer.Send Overload List | CreateProducer