Class FFMQServer

  • All Implemented Interfaces:
    Runnable, FFMQServerMBean, net.timewalker.ffmq4.local.FFMQEngineListener

    public final class FFMQServer
    extends Object
    implements FFMQServerMBean, net.timewalker.ffmq4.local.FFMQEngineListener, Runnable

    Implementation of an FFMQ Server instance.

    • Constructor Detail

      • FFMQServer

        public FFMQServer​(String engineName,
                          net.timewalker.ffmq4.utils.Settings settings)
                   throws javax.jms.JMSException
        Constructor
        Throws:
        javax.jms.JMSException
    • Method Detail

      • isStarted

        public boolean isStarted()
        Description copied from interface: FFMQServerMBean
        Test if the server is started
        Specified by:
        isStarted in interface FFMQServerMBean
        Returns:
        the started
      • engineDeployed

        public void engineDeployed()
        Specified by:
        engineDeployed in interface net.timewalker.ffmq4.local.FFMQEngineListener
      • engineUndeployed

        public void engineUndeployed()
        Specified by:
        engineUndeployed in interface net.timewalker.ffmq4.local.FFMQEngineListener
      • queueDeployed

        public void queueDeployed​(net.timewalker.ffmq4.local.destination.LocalQueue queue)
        Specified by:
        queueDeployed in interface net.timewalker.ffmq4.local.FFMQEngineListener
      • queueUndeployed

        public void queueUndeployed​(net.timewalker.ffmq4.local.destination.LocalQueue queue)
        Specified by:
        queueUndeployed in interface net.timewalker.ffmq4.local.FFMQEngineListener
      • topicDeployed

        public void topicDeployed​(net.timewalker.ffmq4.local.destination.LocalTopic topic)
        Specified by:
        topicDeployed in interface net.timewalker.ffmq4.local.FFMQEngineListener
      • topicUndeployed

        public void topicUndeployed​(net.timewalker.ffmq4.local.destination.LocalTopic topic)
        Specified by:
        topicUndeployed in interface net.timewalker.ffmq4.local.FFMQEngineListener
      • run

        public void run()
        Specified by:
        run in interface Runnable
      • pleaseStop

        public void pleaseStop()
      • isInRunnableMode

        public boolean isInRunnableMode()
        Returns:
        the inRunnableMode