Sends a message to the specified destination, using any send options, message properties and message headers that have been defined on this {@code JMSProducer}.
@param destination the destination to send this message to
@param message the message to send
@return this {@code JMSProducer}
@throws MessageFormatRuntimeException if an invalid message is specified.
@throws InvalidDestinationRuntimeException if a client uses this method with an invalid destination.
@throws MessageNotWriteableRuntimeException if this {@code JMSProducer} has been configured to set amessage property, but the message's properties are read-only
@throws JMSRuntimeException if the JMS provider fails to send the message due to some internal error.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.