|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object | +--jms4spread.MessageProducer
A Client uses a MessageProducer to send a message to an object
| Constructor Summary | |
MessageProducer()
|
|
| Method Summary | |
void |
close()
Closes the MessageProducer. |
int |
getDeliveryMode()
Gets the Delivery Mode of the Message Producer |
boolean |
getDisableMessageID()
Get a boolean indicating whether messageID is disabled |
boolean |
getDisableMessageTimestamp()
Get a boolean indicating whether message time stamp is disabled |
int |
getPriority()
Get the message priority |
long |
getTimeToLive()
Get the message time to live |
void |
setDeliveryMode(int mode)
Sets the message delivery mode - only non persistant mode is supported |
void |
setDisableMessageID(boolean id)
Sets whether message ids are disabled |
void |
setDisableMessageTimestamp(boolean ts)
Sets whether message timestamps are disabled |
void |
setPriority(int p)
Sets the priority of the message |
void |
setTimeToLive(long ttl)
Sets the time to live of the message |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MessageProducer()
| Method Detail |
public int getDeliveryMode()
throws JMSException
JMSException - in case of internal error
public boolean getDisableMessageID()
throws JMSException
JMSException - in case of internal error
public boolean getDisableMessageTimestamp()
throws JMSException
JMSException - in case of internal error
public int getPriority()
throws JMSException
JMSException - in case of internal error
public long getTimeToLive()
throws JMSException
JMSException - in case of internal error
public void setDeliveryMode(int mode)
throws JMSException
mode - the delivery modeJMSException - in case of internal error
public void setDisableMessageID(boolean id)
throws JMSException
id - a boolean indicating if message ids are disabledJMSException - in case of internal error
public void setDisableMessageTimestamp(boolean ts)
throws JMSException
ts - a boolean indicating if message time stamps are disabledJMSException - in case of internal error
public void setPriority(int p)
throws JMSException
p - the priorityJMSException - in case of internal error
public void setTimeToLive(long ttl)
throws JMSException
ttl - the time to liveJMSException - in case of internal error
public void close()
throws JMSException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||