Class ProducerThread

  • All Implemented Interfaces:
    Runnable

    public class ProducerThread
    extends Thread
    • Field Detail

      • session

        protected Session session
    • Constructor Detail

    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface Runnable
        Overrides:
        run in class Thread
      • setMessageCount

        public void setMessageCount​(int messageCount)
      • getSleep

        public int getSleep()
      • setSleep

        public void setSleep​(int sleep)
      • getMessageCount

        public int getMessageCount()
      • getSentCount

        public int getSentCount()
      • isPersistent

        public boolean isPersistent()
      • setPersistent

        public void setPersistent​(boolean persistent)
      • isRunning

        public boolean isRunning()
      • setRunning

        public void setRunning​(boolean running)
      • getMsgTTL

        public long getMsgTTL()
      • setMsgTTL

        public void setMsgTTL​(long msgTTL)
      • getTransactionBatchSize

        public int getTransactionBatchSize()
      • setTransactionBatchSize

        public void setTransactionBatchSize​(int transactionBatchSize)
      • getMsgGroupID

        public String getMsgGroupID()
      • setMsgGroupID

        public void setMsgGroupID​(String msgGroupID)
      • getTextMessageSize

        public int getTextMessageSize()
      • setTextMessageSize

        public void setTextMessageSize​(int textMessageSize)
      • getMessageSize

        public int getMessageSize()
      • setMessageSize

        public void setMessageSize​(int messageSize)
      • getPayloadUrl

        public String getPayloadUrl()
      • setPayloadUrl

        public void setPayloadUrl​(String payloadUrl)
      • getMessage

        public String getMessage()
      • setMessage

        public void setMessage​(String message)
      • isRunIndefinitely

        public boolean isRunIndefinitely()
      • setRunIndefinitely

        public void setRunIndefinitely​(boolean runIndefinitely)
      • pauseProducer

        public void pauseProducer()
      • resumeProducer

        public void resumeProducer()
      • resetCounters

        public void resetCounters()