Joram ${version}

org.objectweb.joram.client.jms
Class TopicPublisher

java.lang.Object
  extended byorg.objectweb.joram.client.jms.MessageProducer
      extended byorg.objectweb.joram.client.jms.TopicPublisher
All Implemented Interfaces:
javax.jms.MessageProducer, javax.jms.TopicPublisher

public class TopicPublisher
extends MessageProducer
implements javax.jms.TopicPublisher

Implements the javax.jms.TopicPublisher interface.


Field Summary
 
Fields inherited from class org.objectweb.joram.client.jms.MessageProducer
closed, dest, sess
 
Method Summary
 javax.jms.Topic getTopic()
          API method.
 void publish(javax.jms.Message message)
          API method.
 void publish(javax.jms.Message message, int deliveryMode, int priority, long timeToLive)
          API method.
 void publish(javax.jms.Topic topic, javax.jms.Message message)
          API method.
 void publish(javax.jms.Topic topic, javax.jms.Message message, int deliveryMode, int priority, long timeToLive)
          API method.
 java.lang.String toString()
          Returns a string view of this receiver.
 
Methods inherited from class org.objectweb.joram.client.jms.MessageProducer
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, 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

toString

public java.lang.String toString()
Returns a string view of this receiver.


getTopic

public javax.jms.Topic getTopic()
                         throws javax.jms.JMSException
API method.

Specified by:
getTopic in interface javax.jms.TopicPublisher
Throws:
javax.jms.IllegalStateException - If the publisher is closed.
javax.jms.JMSException

publish

public void publish(javax.jms.Message message,
                    int deliveryMode,
                    int priority,
                    long timeToLive)
             throws javax.jms.JMSException
API method.

Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.IllegalStateException - If the publisher is closed, or if the connection is broken.
javax.jms.JMSException - If the request fails for any other reason.

publish

public void publish(javax.jms.Message message)
             throws javax.jms.JMSException
API method.

Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.IllegalStateException - If the publisher is closed, or if the connection is broken.
javax.jms.JMSException - If the request fails for any other reason.

publish

public void publish(javax.jms.Topic topic,
                    javax.jms.Message message)
             throws javax.jms.JMSException
API method.

Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.IllegalStateException - If the publisher is closed, or if the connection is broken.
javax.jms.JMSException - If the request fails for any other reason.

publish

public void publish(javax.jms.Topic topic,
                    javax.jms.Message message,
                    int deliveryMode,
                    int priority,
                    long timeToLive)
             throws javax.jms.JMSException
API method.

Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.IllegalStateException - If the publisher is closed, or if the connection is broken.
javax.jms.JMSException - If the request fails for any other reason.

Joram ${version}

Copyright © 2005 Scalagent - All rights reserved