MessageProducer's default delivery mode, priority, and time to live.
@param message the message to send
@throws JMSException if the JMS provider fails to send the message due to someinternal error.
@throws MessageFormatException if an invalid message is specified.
@throws InvalidDestinationException if a client uses this method with a MessageProducer with an invalid destination.
@throws java.lang.UnsupportedOperationException if a client uses this method with a MessageProducer that did not specify a destination at creation time.
@see javax.jms.Session#createProducer
@see javax.jms.MessageProducer
@since 1.1
| |
| |