Class CommandListener

java.lang.Object
org.javalite.async.CommandListener
All Implemented Interfaces:
javax.jms.MessageListener
Direct Known Subclasses:
DBCommandListener

public class CommandListener extends Object implements javax.jms.MessageListener
Author:
Igor Polevoy on 4/5/15.
  • Constructor Details

    • CommandListener

      public CommandListener()
  • Method Details

    • onMessage

      public void onMessage(javax.jms.Message message)
      Specified by:
      onMessage in interface javax.jms.MessageListener
    • onCommand

      public <T extends Command> void onCommand(T command)
    • parseCommand

      protected Command parseCommand(javax.jms.Message message) throws IOException, javax.jms.JMSException
      Throws:
      IOException
      javax.jms.JMSException