Examples of ManagementService

  • org.apache.ode.axis2.service.ManagementService
    Axis2 wrapper for process and instance management interfaces.
  • org.camunda.bpm.engine.ManagementService
    Service for admin and maintenance operations on the process engine. These operations will typically not be used in a workflow driven application, but are used in for example the operational console. @author Tom Baeyens @author Joram Barrez @author Falko Menge @author Thorben Lindhauer
  • org.hornetq.core.server.management.ManagementService
    @author Jeff Mesnil @version $Revision$

  • Examples of org.hornetq.core.server.management.ManagementService

       }

       protected void removeAllMessages(final String queueName, final int index) throws Exception
       {
          ManagementService managementService = server0.getManagementService();
          if (index == 1)
          {
             managementService = server1.getManagementService();
          }
          JMSQueueControl queueControl = (JMSQueueControl)managementService.getResource(ResourceNames.JMS_QUEUE + queueName);
          queueControl.removeMessages(null);
       }
    View Full Code Here

    Examples of org.hornetq.core.server.management.ManagementService

          }
       }

       public boolean checkEmpty(final Queue queue, final int index) throws Exception
       {
          ManagementService managementService = server0.getManagementService();
          if (index == 1)
          {
             managementService = server1.getManagementService();
          }
          JMSQueueControl queueControl = (JMSQueueControl)managementService.getResource(ResourceNames.JMS_QUEUE + queue.getQueueName());

          Long messageCount = queueControl.getMessageCount();

          if (messageCount > 0)
          {
    View Full Code Here

    Examples of org.hornetq.core.server.management.ManagementService

          return true;
       }

       protected void checkNoSubscriptions(final Topic topic, final int index) throws Exception
       {
          ManagementService managementService = server0.getManagementService();
          if (index == 1)
          {
             managementService = server1.getManagementService();
          }
          TopicControl topicControl = (TopicControl)managementService.getResource(ResourceNames.JMS_TOPIC + topic.getTopicName());
          Assert.assertEquals(0, topicControl.getSubscriptionCount());

       }
    View Full Code Here

    Examples of org.hornetq.core.server.management.ManagementService

       }

       protected void removeAllMessages(final String queueName, final int index) throws Exception
       {
          ManagementService managementService = server0.getManagementService();
          if (index == 1)
          {
             managementService = server1.getManagementService();
          }
          JMSQueueControl queueControl = (JMSQueueControl)managementService.getResource(ResourceNames.JMS_QUEUE + queueName);
          queueControl.removeMessages(null);
       }
    View Full Code Here
    TOP
    Copyright © 2018 www.massapi.com. All rights reserved.
    All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.