cgl.narada.jms
Class JmsMessageProducer
java.lang.Object
cgl.narada.jms.JmsMessageProducer
- All Implemented Interfaces:
- MessageProducer
- Direct Known Subclasses:
- JmsTopicPublisher
public class JmsMessageProducer
- extends Object
- implements MessageProducer
A client uses a MessageProducer object to send messages to a destination.
A MessageProducer object is created by passing a Destination object to a
message-producer creation method supplied by a session. MessageProducer is
the parent interface for all message producers.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JmsMessageProducer
public JmsMessageProducer()
setDisableMessageID
public void setDisableMessageID(boolean value)
throws JMSException
- Specified by:
setDisableMessageID in interface MessageProducer
- Throws:
JMSException
getDisableMessageID
public boolean getDisableMessageID()
throws JMSException
- Specified by:
getDisableMessageID in interface MessageProducer
- Throws:
JMSException
setDisableMessageTimestamp
public void setDisableMessageTimestamp(boolean value)
throws JMSException
- Specified by:
setDisableMessageTimestamp in interface MessageProducer
- Throws:
JMSException
getDisableMessageTimestamp
public boolean getDisableMessageTimestamp()
throws JMSException
- Specified by:
getDisableMessageTimestamp in interface MessageProducer
- Throws:
JMSException
setDeliveryMode
public void setDeliveryMode(int deliveryMode)
throws JMSException
- Specified by:
setDeliveryMode in interface MessageProducer
- Throws:
JMSException
getDeliveryMode
public int getDeliveryMode()
throws JMSException
- Specified by:
getDeliveryMode in interface MessageProducer
- Throws:
JMSException
setPriority
public void setPriority(int defaultPriority)
throws JMSException
- Specified by:
setPriority in interface MessageProducer
- Throws:
JMSException
getPriority
public int getPriority()
throws JMSException
- Specified by:
getPriority in interface MessageProducer
- Throws:
JMSException
setTimeToLive
public void setTimeToLive(long timeToLive)
throws JMSException
- Specified by:
setTimeToLive in interface MessageProducer
- Throws:
JMSException
getTimeToLive
public long getTimeToLive()
throws JMSException
- Specified by:
getTimeToLive in interface MessageProducer
- Throws:
JMSException
close
public void close()
throws JMSException
- Specified by:
close in interface MessageProducer
- Throws:
JMSException
For comments and suggestions please send
e-mail to
The NaradaBrokering Project