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. @param destination the destination to send this message to @param message the message to send @param deliveryMode the delivery mode to use @param priority the priority for this message @param timeToLive the message's lifetime (in milliseconds) @throws JMSException if the JMS provider fails to send the message due tosome internal error. @throws UnsupportedOperationException if an invalid destination isspecified. @throws InvalidDestinationException if a client uses this method with aninvalid destination. @see javax.jms.Session#createProducer @since 1.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|