org.objectweb.joram.client.connector

Class OutboundPublisher

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

public class OutboundPublisher
extends OutboundProducer
implements javax.jms.TopicPublisher

An OutboundPublisher instance wraps a JMS producer for a component involved in PubSub outbound messaging.

Field Summary

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

producer, session

Method Summary

Topic
getTopic()
Delegates the call to the wrapped producer.
void
publish(Message message)
Delegates the call to the wrapped producer.
void
publish(Message message, int deliveryMode, int priority, long timeToLive)
Delegates the call to the wrapped producer.
void
publish(Topic topic, Message message)
Delegates the call to the wrapped producer.
void
publish(Topic topic, 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

getTopic

public Topic getTopic()
            throws JMSException
Delegates the call to the wrapped producer.


publish

public void publish(Message message)
            throws JMSException
Delegates the call to the wrapped producer.


publish

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


publish

public void publish(Topic topic,
                    Message message)
            throws JMSException
Delegates the call to the wrapped producer.


publish

public void publish(Topic topic,
                    Message message,
                    int deliveryMode,
                    int priority,
                    long timeToLive)
            throws JMSException
Delegates the call to the wrapped producer.


Copyright B) 2004 Scalagent - All rights reserved