|
webMethods Broker API for JMS Version 9.5.1.0.171 091713 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WmQueueSender
Interface defining webMethods extensions to javax.jms.QueueSender.
Method Summary | |
---|---|
void |
send(javax.jms.Queue queue,
javax.jms.Message[] messages)
Sends multiple messages to a queue for an unidentified message producer. |
void |
send(javax.jms.Queue queue,
javax.jms.Message[] messages,
int deliveryMode,
int priority,
long timeToLive)
Sends multiple messages to a queue for an unidentified message producer, specifying delivery mode, priority and time to live. |
Methods inherited from interface com.webmethods.jms.WmMessageProducer |
---|
getCompressionLevel, getCompressionThreshold, getOutputStream, getOutputStream, send, send, send, send, setCompressionLevel, setCompressionThreshold |
Methods inherited from interface javax.jms.QueueSender |
---|
getQueue, send, send, send, send |
Methods inherited from interface javax.jms.MessageProducer |
---|
close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive |
Method Detail |
---|
void send(javax.jms.Queue queue, javax.jms.Message[] messages) throws javax.jms.JMSException
QueueSender
's default delivery mode, priority, and time to
live.
Typically, a message producer is assigned a queue at creation time; however, the JMS API also supports unidentified message producers, which require that the queue be supplied every time a message is sent.
queue
- the queue to send the messages tomessages
- the messages to send
javax.jms.JMSException
- if the JMS provider fails to send the message due to some internal error.
javax.jms.MessageFormatException
- if an invalid message is specified.
javax.jms.InvalidDestinationException
- if a client uses this method with an invalid queue.MessageProducer.getDeliveryMode()
,
MessageProducer.getTimeToLive()
,
MessageProducer.getPriority()
void send(javax.jms.Queue queue, javax.jms.Message[] messages, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
Typically, a message producer is assigned a queue at creation time; however, the JMS API also supports unidentified message producers, which require that the queue be supplied every time a message is sent.
queue
- the queue to send the messages tomessages
- the messages to senddeliveryMode
- the delivery mode to usepriority
- the priority for this messagetimeToLive
- the message's lifetime (in milliseconds)
javax.jms.JMSException
- if the JMS provider fails to send the message due to some internal error.
javax.jms.MessageFormatException
- if an invalid message is specified.
javax.jms.InvalidDestinationException
- if a client uses this method with an invalid queue.
|
webMethods Broker API for JMS Version 9.5.1.0.171 091713 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |