Joram ${version}

org.objectweb.joram.client.connector
Class OutboundPublisher

java.lang.Object
  extended byorg.objectweb.joram.client.connector.OutboundProducer
      extended byorg.objectweb.joram.client.connector.OutboundPublisher
All 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
 javax.jms.Topic getTopic()
          Delegates the call to the wrapped producer.
 void publish(javax.jms.Message message)
          Delegates the call to the wrapped producer.
 void publish(javax.jms.Message message, int deliveryMode, int priority, long timeToLive)
          Delegates the call to the wrapped producer.
 void publish(javax.jms.Topic topic, javax.jms.Message message)
          Delegates the call to the wrapped producer.
 void publish(javax.jms.Topic topic, javax.jms.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.jms.MessageProducer
close, getDeliveryMode, getDestination, getDisableMessageID, getDisableMessageTimestamp, getPriority, getTimeToLive, send, send, send, send, setDeliveryMode, setDisableMessageID, setDisableMessageTimestamp, setPriority, setTimeToLive
 

Method Detail

getTopic

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

Specified by:
getTopic in interface javax.jms.TopicPublisher
Throws:
javax.jms.JMSException

publish

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

Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.JMSException

publish

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

Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.JMSException

publish

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

Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.JMSException

publish

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

Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.JMSException

Joram ${version}

Copyright ? 2005 Scalagent - All rights reserved