com.sun.genericra.outbound
Class MessageProducerProxy

java.lang.Object
  extended by com.sun.genericra.outbound.MessageProducerProxy
All Implemented Interfaces:
javax.jms.MessageProducer, javax.jms.QueueSender, javax.jms.TopicPublisher

public class MessageProducerProxy
extends java.lang.Object
implements javax.jms.QueueSender, javax.jms.TopicPublisher

MessageProducerProxy. This is used to update messages with unwrapped destinations and reply destinations.


Constructor Summary
MessageProducerProxy(javax.jms.MessageProducer mp)
           
 
Method Summary
 void close()
           
 int getDeliveryMode()
           
 javax.jms.Destination getDestination()
           
 boolean getDisableMessageID()
           
 boolean getDisableMessageTimestamp()
           
 int getPriority()
           
 javax.jms.Queue getQueue()
           
 long getTimeToLive()
           
 javax.jms.Topic getTopic()
           
 void publish(javax.jms.Message msg)
           
 void publish(javax.jms.Message msg, int i, int j, long l)
           
 void publish(javax.jms.Topic topic, javax.jms.Message msg)
           
 void publish(javax.jms.Topic topic, javax.jms.Message msg, int i, int j, long l)
           
 void send(javax.jms.Destination dest, javax.jms.Message msg)
           
 void send(javax.jms.Destination dest, javax.jms.Message msg, int i, int j, long l)
           
 void send(javax.jms.Message msg)
           
 void send(javax.jms.Message msg, int i, int j, long l)
           
 void send(javax.jms.Queue queue, javax.jms.Message msg)
           
 void send(javax.jms.Queue queue, javax.jms.Message msg, int i, int j, long l)
           
 void setDeliveryMode(int i)
           
 void setDisableMessageID(boolean b)
           
 void setDisableMessageTimestamp(boolean b)
           
 void setPriority(int i)
           
 void setTimeToLive(long l)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MessageProducerProxy

public MessageProducerProxy(javax.jms.MessageProducer mp)
Method Detail

getDeliveryMode

public int getDeliveryMode()
                    throws javax.jms.JMSException
Specified by:
getDeliveryMode in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

getPriority

public int getPriority()
                throws javax.jms.JMSException
Specified by:
getPriority in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

getTimeToLive

public long getTimeToLive()
                   throws javax.jms.JMSException
Specified by:
getTimeToLive in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

close

public void close()
           throws javax.jms.JMSException
Specified by:
close in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

getDisableMessageID

public boolean getDisableMessageID()
                            throws javax.jms.JMSException
Specified by:
getDisableMessageID in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

getDisableMessageTimestamp

public boolean getDisableMessageTimestamp()
                                   throws javax.jms.JMSException
Specified by:
getDisableMessageTimestamp in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

setDeliveryMode

public void setDeliveryMode(int i)
                     throws javax.jms.JMSException
Specified by:
setDeliveryMode in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

setPriority

public void setPriority(int i)
                 throws javax.jms.JMSException
Specified by:
setPriority in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

setTimeToLive

public void setTimeToLive(long l)
                   throws javax.jms.JMSException
Specified by:
setTimeToLive in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

setDisableMessageID

public void setDisableMessageID(boolean b)
                         throws javax.jms.JMSException
Specified by:
setDisableMessageID in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

setDisableMessageTimestamp

public void setDisableMessageTimestamp(boolean b)
                                throws javax.jms.JMSException
Specified by:
setDisableMessageTimestamp in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

send

public void send(javax.jms.Message msg)
          throws javax.jms.JMSException
Specified by:
send in interface javax.jms.MessageProducer
Specified by:
send in interface javax.jms.QueueSender
Throws:
javax.jms.JMSException

send

public void send(javax.jms.Message msg,
                 int i,
                 int j,
                 long l)
          throws javax.jms.JMSException
Specified by:
send in interface javax.jms.MessageProducer
Specified by:
send in interface javax.jms.QueueSender
Throws:
javax.jms.JMSException

send

public void send(javax.jms.Destination dest,
                 javax.jms.Message msg)
          throws javax.jms.JMSException
Specified by:
send in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

send

public void send(javax.jms.Destination dest,
                 javax.jms.Message msg,
                 int i,
                 int j,
                 long l)
          throws javax.jms.JMSException
Specified by:
send in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

getDestination

public javax.jms.Destination getDestination()
                                     throws javax.jms.JMSException
Specified by:
getDestination in interface javax.jms.MessageProducer
Throws:
javax.jms.JMSException

getQueue

public javax.jms.Queue getQueue()
                         throws javax.jms.JMSException
Specified by:
getQueue in interface javax.jms.QueueSender
Throws:
javax.jms.JMSException

send

public void send(javax.jms.Queue queue,
                 javax.jms.Message msg)
          throws javax.jms.JMSException
Specified by:
send in interface javax.jms.QueueSender
Throws:
javax.jms.JMSException

send

public void send(javax.jms.Queue queue,
                 javax.jms.Message msg,
                 int i,
                 int j,
                 long l)
          throws javax.jms.JMSException
Specified by:
send in interface javax.jms.QueueSender
Throws:
javax.jms.JMSException

publish

public void publish(javax.jms.Message msg)
             throws javax.jms.JMSException
Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.JMSException

publish

public void publish(javax.jms.Message msg,
                    int i,
                    int j,
                    long l)
             throws javax.jms.JMSException
Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.JMSException

getTopic

public javax.jms.Topic getTopic()
                         throws javax.jms.JMSException
Specified by:
getTopic in interface javax.jms.TopicPublisher
Throws:
javax.jms.JMSException

publish

public void publish(javax.jms.Topic topic,
                    javax.jms.Message msg)
             throws javax.jms.JMSException
Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.JMSException

publish

public void publish(javax.jms.Topic topic,
                    javax.jms.Message msg,
                    int i,
                    int j,
                    long l)
             throws javax.jms.JMSException
Specified by:
publish in interface javax.jms.TopicPublisher
Throws:
javax.jms.JMSException