Class AbstractJmsListener

    • Constructor Summary

      Modifier Constructor Description
      protected AbstractJmsListener​(Delegator delegator)
      Initializes the LocalDispatcher for this service listener.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isConnected()
      Indicator if a connection is present.
      void onException​(JMSException je)
      On exception try to re-establish connection to the JMS server.
      void onMessage​(Message message)
      Receives the MapMessage and processes the service.
      void refresh()
      Refresh the connection.
      protected java.util.Map<java.lang.String,​java.lang.Object> runService​(MapMessage message)
      Runs the service defined in the MapMessage
      protected void setConnected​(boolean connected)
      Setter method for the connected field.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait