public class OutboundSender extends OutboundProducer implements QueueSender
OutboundSender
instance wraps a JMS producer
for a component involved in PTP outbound messaging.Modifier and Type | Field and Description |
---|---|
static org.objectweb.util.monolog.api.Logger |
logger |
producer, session, valid
Constructor and Description |
---|
OutboundSender(MessageProducer producer,
OutboundSession session)
Constructs an
OutboundSender instance. |
Modifier and Type | Method and Description |
---|---|
Queue |
getQueue()
Delegates the call to the wrapped producer.
|
void |
send(Queue queue,
Message message)
Delegates the call to the wrapped producer.
|
void |
send(Queue queue,
Message message,
int deliveryMode,
int priority,
long timeToLive)
Delegates the call to the wrapped producer.
|
checkValidity, close, getDeliveryDelay, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, send, send, send, send, setDeliveryDelay, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
send, send
close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive
OutboundSender(MessageProducer producer, OutboundSession session)
OutboundSender
instance.public Queue getQueue() throws JMSException
getQueue
in interface QueueSender
JMSException
public void send(Queue queue, Message message, int deliveryMode, int priority, long timeToLive) throws JMSException
send
in interface QueueSender
JMSException
public void send(Queue queue, Message message) throws JMSException
send
in interface QueueSender
JMSException
Copyright © 2013 ScalAgent D.T.. All Rights Reserved.