Class Redispatcher

java.lang.Object
com.swiftmq.swiftlet.queue.MessageProcessor
com.swiftmq.impl.queue.standard.cluster.Redispatcher
All Implemented Interfaces:
com.swiftmq.swiftlet.threadpool.AsyncTask, Runnable

public class Redispatcher extends com.swiftmq.swiftlet.queue.MessageProcessor
  • Constructor Details

  • Method Details

    • start

      public void start() throws Exception
      Throws:
      Exception
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface com.swiftmq.swiftlet.threadpool.AsyncTask
      Overrides:
      getDescription in class com.swiftmq.swiftlet.queue.MessageProcessor
    • getDispatchToken

      public String getDispatchToken()
      Specified by:
      getDispatchToken in interface com.swiftmq.swiftlet.threadpool.AsyncTask
      Overrides:
      getDispatchToken in class com.swiftmq.swiftlet.queue.MessageProcessor
    • isValid

      public boolean isValid()
    • processException

      public void processException(Exception exception)
      Specified by:
      processException in class com.swiftmq.swiftlet.queue.MessageProcessor
    • processMessage

      public void processMessage(com.swiftmq.swiftlet.queue.MessageEntry messageEntry)
      Specified by:
      processMessage in class com.swiftmq.swiftlet.queue.MessageProcessor
    • run

      public void run()
      Specified by:
      run in interface com.swiftmq.swiftlet.threadpool.AsyncTask
      Specified by:
      run in interface Runnable
      Overrides:
      run in class com.swiftmq.swiftlet.queue.MessageProcessor
    • stop

      public void stop()
      Specified by:
      stop in interface com.swiftmq.swiftlet.threadpool.AsyncTask
      Overrides:
      stop in class com.swiftmq.swiftlet.queue.MessageProcessor
    • toString

      public String toString()
      Overrides:
      toString in class Object