Class ConsumerThread

  • All Implemented Interfaces:
    Runnable

    public class ConsumerThread
    extends Thread
    • Constructor Detail

    • Method Detail

      • run

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

        public int getReceived()
      • isDurable

        public boolean isDurable()
      • setDurable

        public void setDurable​(boolean durable)
      • setMessageCount

        public void setMessageCount​(int messageCount)
      • setBreakOnNull

        public void setBreakOnNull​(boolean breakOnNull)
      • getBatchSize

        public int getBatchSize()
      • setBatchSize

        public void setBatchSize​(int batchSize)
      • getMessageCount

        public int getMessageCount()
      • isBreakOnNull

        public boolean isBreakOnNull()
      • getReceiveTimeOut

        public int getReceiveTimeOut()
      • setReceiveTimeOut

        public void setReceiveTimeOut​(int receiveTimeOut)
      • isRunning

        public boolean isRunning()
      • setRunning

        public void setRunning​(boolean running)
      • getSleep

        public int getSleep()
      • setSleep

        public void setSleep​(int sleep)
      • isBytesAsText

        public boolean isBytesAsText()
      • setBytesAsText

        public void setBytesAsText​(boolean bytesAsText)