|
webMethods Broker API for JMS Version 9.5.1.0.171 091713 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WmTopicPublisher
Interface defining webMethods extensions to javax.jms.TopicPublisher.
Method Summary | |
---|---|
void |
publish(javax.jms.Message[] messages)
Publishes multiple messages to the topic. |
void |
publish(javax.jms.Message[] messages,
int deliveryMode,
int priority,
long timeToLive)
Publishes multiple messages to the topic, specifying delivery mode, priority, and time to live. |
void |
publish(javax.jms.Topic topic,
javax.jms.Message[] messages)
Publishes multiple messages to a topic for an unidentified message producer. |
void |
publish(javax.jms.Topic topic,
javax.jms.Message[] messages,
int deliveryMode,
int priority,
long timeToLive)
Publishes multiple messages to a topic 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.TopicPublisher |
---|
getTopic, publish, publish, publish, publish |
Methods inherited from interface javax.jms.MessageProducer |
---|
close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive |
Method Detail |
---|
void publish(javax.jms.Message[] messages) throws javax.jms.JMSException
TopicPublisher
's default delivery mode, priority, and time to live.
messages
- the messages to publish
javax.jms.JMSException
- if the JMS provider fails to publish 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 a TopicPublisher
with an invalid topic.
java.lang.UnsupportedOperationException
- if a client uses this method with a TopicPublisher
that did not specify a topic at creation time.MessageProducer.getDeliveryMode()
,
MessageProducer.getTimeToLive()
,
MessageProducer.getPriority()
void publish(javax.jms.Message[] messages, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
messages
- the messages to publishdeliveryMode
- 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 publish 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 a TopicPublisher
with an invalid topic.
java.lang.UnsupportedOperationException
- if a client uses this method with a TopicPublisher
that did not specify a topic at creation time.void publish(javax.jms.Topic topic, javax.jms.Message[] messages) throws javax.jms.JMSException
TopicPublisher
's default delivery mode, priority, and
time to live.
Typically, a message producer is assigned a topic at creation time; however, the JMS API also supports unidentified message producers, which require that the topic be supplied every time a message is published.
topic
- the topic to publish the messages tomessages
- the messages to publish
javax.jms.JMSException
- if the JMS provider fails to publish 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 topic.MessageProducer.getDeliveryMode()
,
MessageProducer.getTimeToLive()
,
MessageProducer.getPriority()
void publish(javax.jms.Topic topic, javax.jms.Message[] messages, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
Typically, a message producer is assigned a topic at creation time; however, the JMS API also supports unidentified message producers, which require that the topic be supplied every time a message is published.
topic
- the topic to publish the messages tomessages
- the messages to publishdeliveryMode
- 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 publish 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 topic.
|
webMethods Broker API for JMS Version 9.5.1.0.171 091713 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |