|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.client.connector.OutboundProducer
An OutboundProducer
instance wraps a JMS producer
for a component involved in outbound messaging.
Field Summary | |
protected javax.jms.MessageProducer |
producer
The wrapped JMS producer. |
protected OutboundSession |
session
The OutboundSession this producer belongs to. |
Method Summary | |
protected void |
checkValidity()
Checks the validity of the subscriber instance. |
void |
close()
Delegates the call to the wrapped producer. |
int |
getDeliveryMode()
Delegates the call to the wrapped producer. |
javax.jms.Destination |
getDestination()
Delegates the call to the wrapped producer. |
boolean |
getDisableMessageID()
Delegates the call to the wrapped producer. |
boolean |
getDisableMessageTimestamp()
Delegates the call to the wrapped producer. |
int |
getPriority()
Delegates the call to the wrapped producer. |
long |
getTimeToLive()
Delegates the call to the wrapped producer. |
void |
send(javax.jms.Destination dest,
javax.jms.Message message)
Delegates the call to the wrapped producer. |
void |
send(javax.jms.Destination dest,
javax.jms.Message message,
int deliveryMode,
int priority,
long timeToLive)
Delegates the call to the wrapped producer. |
void |
send(javax.jms.Message message)
Delegates the call to the wrapped producer. |
void |
send(javax.jms.Message message,
int deliveryMode,
int priority,
long timeToLive)
Delegates the call to the wrapped producer. |
void |
setDeliveryMode(int deliveryMode)
Delegates the call to the wrapped producer. |
void |
setDisableMessageID(boolean value)
Delegates the call to the wrapped producer. |
void |
setDisableMessageTimestamp(boolean value)
Delegates the call to the wrapped producer. |
void |
setPriority(int priority)
Delegates the call to the wrapped producer. |
void |
setTimeToLive(long timeToLive)
Delegates the call to the wrapped producer. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected OutboundSession session
OutboundSession
this producer belongs to.
protected javax.jms.MessageProducer producer
Method Detail |
public void setDisableMessageID(boolean value) throws javax.jms.JMSException
setDisableMessageID
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void setDeliveryMode(int deliveryMode) throws javax.jms.JMSException
setDeliveryMode
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void setPriority(int priority) throws javax.jms.JMSException
setPriority
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void setTimeToLive(long timeToLive) throws javax.jms.JMSException
setTimeToLive
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 javax.jms.Destination getDestination() throws javax.jms.JMSException
getDestination
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 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 boolean getDisableMessageTimestamp() throws javax.jms.JMSException
getDisableMessageTimestamp
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void send(javax.jms.Message message) throws javax.jms.JMSException
send
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void send(javax.jms.Message message, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
send
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void send(javax.jms.Destination dest, javax.jms.Message message) throws javax.jms.JMSException
send
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void send(javax.jms.Destination dest, javax.jms.Message message, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
send
in interface javax.jms.MessageProducer
javax.jms.JMSException
public void close() throws javax.jms.JMSException
close
in interface javax.jms.MessageProducer
javax.jms.JMSException
protected void checkValidity() throws javax.jms.IllegalStateException
javax.jms.IllegalStateException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |