|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.mq.SpyMessageProducer
This class implements javax.jms.MessageProducer
Field Summary | |
protected boolean |
closed
Whether we are closed |
protected int |
defaultDeliveryMode
The defaultDeliveryMode |
protected int |
defaultPriority
The defaultPriority |
protected long |
defaultTTL
The defaultTTL |
protected javax.jms.Destination |
destination
The destination |
protected SpySession |
session
The session |
Method Summary | |
protected void |
checkClosed()
|
void |
close()
|
protected SpyMessage |
encapsulateMessage(javax.jms.Message message)
|
int |
getDeliveryMode()
|
javax.jms.Destination |
getDestination()
|
boolean |
getDisableMessageID()
|
boolean |
getDisableMessageTimestamp()
|
int |
getPriority()
|
long |
getTimeToLive()
|
void |
send(javax.jms.Destination destination,
javax.jms.Message message)
|
void |
send(javax.jms.Destination destination,
javax.jms.Message message,
int deliveryMode,
int priority,
long ttl)
|
void |
send(javax.jms.Message message)
|
void |
send(javax.jms.Message message,
int deliveryMode,
int priority,
long ttl)
|
void |
setDeliveryMode(int deli)
|
void |
setDisableMessageID(boolean value)
|
void |
setDisableMessageTimestamp(boolean value)
|
void |
setPriority(int pri)
|
void |
setTimeToLive(int timeToLive)
|
void |
setTimeToLive(long timeToLive)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected SpySession session
protected javax.jms.Destination destination
protected int defaultDeliveryMode
protected int defaultPriority
protected long defaultTTL
protected boolean closed
Method Detail |
public void setDisableMessageID(boolean value) throws javax.jms.JMSException
setDisableMessageID
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void setDisableMessageTimestamp(boolean value) throws javax.jms.JMSException
setDisableMessageTimestamp
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void setDeliveryMode(int deli) throws javax.jms.JMSException
setDeliveryMode
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void setPriority(int pri) throws javax.jms.JMSException
setPriority
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void setTimeToLive(int timeToLive) throws javax.jms.JMSException
javax.jms.JMSException
public void setTimeToLive(long timeToLive) throws javax.jms.JMSException
setTimeToLive
in interface javax.jms.MessageProducer
javax.jms.JMSException
public boolean getDisableMessageID() throws javax.jms.JMSException
getDisableMessageID
in interface javax.jms.MessageProducer
javax.jms.JMSException
public boolean getDisableMessageTimestamp() throws javax.jms.JMSException
getDisableMessageTimestamp
in interface javax.jms.MessageProducer
javax.jms.JMSException
public int getDeliveryMode() throws javax.jms.JMSException
getDeliveryMode
in interface javax.jms.MessageProducer
javax.jms.JMSException
public int getPriority() throws javax.jms.JMSException
getPriority
in interface javax.jms.MessageProducer
javax.jms.JMSException
public long getTimeToLive() throws javax.jms.JMSException
getTimeToLive
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void close() throws javax.jms.JMSException
close
in interface javax.jms.MessageProducer
javax.jms.JMSException
public javax.jms.Destination getDestination() throws javax.jms.JMSException
javax.jms.JMSException
public void send(javax.jms.Message message) throws javax.jms.JMSException
javax.jms.JMSException
public void send(javax.jms.Destination destination, javax.jms.Message message) throws javax.jms.JMSException
javax.jms.JMSException
public void send(javax.jms.Message message, int deliveryMode, int priority, long ttl) throws javax.jms.JMSException
javax.jms.JMSException
public void send(javax.jms.Destination destination, javax.jms.Message message, int deliveryMode, int priority, long ttl) throws javax.jms.JMSException
javax.jms.JMSException
public String toString()
protected void checkClosed() throws javax.jms.JMSException
javax.jms.JMSException
protected SpyMessage encapsulateMessage(javax.jms.Message message) throws javax.jms.JMSException
javax.jms.JMSException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |