Class TraceTopicPublisher

java.lang.Object
org.aoju.bus.tracer.binding.jms.TraceTopicPublisher
All Implemented Interfaces:
javax.jms.MessageProducer, javax.jms.TopicPublisher

public final class TraceTopicPublisher extends Object implements javax.jms.TopicPublisher
Since:
Java 17+
Author:
Kimi Liu
  • Constructor Details

    • TraceTopicPublisher

      public TraceTopicPublisher(TraceMessageProducer messageProducer, javax.jms.TopicPublisher delegate)
  • Method Details

    • 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.Message message) throws javax.jms.JMSException
      Specified by:
      publish 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
      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
      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
      Specified by:
      publish in interface javax.jms.TopicPublisher
      Throws:
      javax.jms.JMSException
    • send

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

      public void send(javax.jms.Message message, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
      Specified by:
      send in interface javax.jms.MessageProducer
      Throws:
      javax.jms.JMSException
    • send

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

      public void send(javax.jms.Destination destination, javax.jms.Message message, int deliveryMode, int priority, long timeToLive) throws javax.jms.JMSException
      Specified by:
      send 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
    • setDisableMessageID

      public void setDisableMessageID(boolean value) throws javax.jms.JMSException
      Specified by:
      setDisableMessageID 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
    • setDisableMessageTimestamp

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

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

      public void setDeliveryMode(int deliveryMode) throws javax.jms.JMSException
      Specified by:
      setDeliveryMode 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
    • setPriority

      public void setPriority(int defaultPriority) throws javax.jms.JMSException
      Specified by:
      setPriority 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
    • setTimeToLive

      public void setTimeToLive(long timeToLive) throws javax.jms.JMSException
      Specified by:
      setTimeToLive 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
    • close

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