Class Consumer

java.lang.Object
com.swiftmq.impl.mqtt.pubsub.Consumer
Direct Known Subclasses:
DurableConsumer

public class Consumer extends Object
  • Field Details

    • queueReceiver

      protected com.swiftmq.swiftlet.queue.QueueReceiver queueReceiver
    • readTransaction

      protected com.swiftmq.swiftlet.queue.QueuePullTransaction readTransaction
    • transaction

      protected com.swiftmq.swiftlet.queue.QueuePullTransaction transaction
  • Constructor Details

  • Method Details

    • createReceiver

      protected com.swiftmq.swiftlet.queue.QueueReceiver createReceiver(int subscriptionId) throws Exception
      Throws:
      Exception
    • createTransaction

      public com.swiftmq.swiftlet.queue.QueuePullTransaction createTransaction() throws Exception
      Throws:
      Exception
    • createReadTransaction

      public com.swiftmq.swiftlet.queue.QueuePullTransaction createReadTransaction() throws Exception
      Throws:
      Exception
    • start

      public void start(com.swiftmq.swiftlet.queue.MessageProcessor messageProcessor) throws Exception
      Throws:
      Exception
    • restart

      public void restart() throws Exception
      Throws:
      Exception
    • stop

      public void stop() throws Exception
      Throws:
      Exception
    • close

      public void close()
    • toString

      public String toString()
      Overrides:
      toString in class Object