org.objectweb.joram.client.connector

Class OutboundSender

Implemented Interfaces:
javax.jms.MessageProducer, javax.jms.QueueSender

public class OutboundSender
extends OutboundProducer
implements javax.jms.QueueSender

An OutboundSender instance wraps a JMS producer for a component involved in PTP outbound messaging.

Field Summary

Fields inherited from class org.objectweb.joram.client.connector.OutboundProducer

producer, session

Method Summary

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.

Methods inherited from class org.objectweb.joram.client.connector.OutboundProducer

checkValidity, close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive

Method Details

getQueue

public Queue getQueue()
            throws JMSException
Delegates the call to the wrapped producer.


send

public void send(Queue queue,
                 Message message)
            throws JMSException
Delegates the call to the wrapped producer.


send

public void send(Queue queue,
                 Message message,
                 int deliveryMode,
                 int priority,
                 long timeToLive)
            throws JMSException
Delegates the call to the wrapped producer.


Copyright B) 2004 Scalagent - All rights reserved