Package org.jboss.soa.esb.quickstart.test

Source Code of org.jboss.soa.esb.quickstart.test.MonitoringActionTest

package org.jboss.soa.esb.quickstart.test;

import junit.framework.Test;
import org.jboss.soa.esb.samples.quickstart.monitoringaction.test.SendJMSMessage;

public class MonitoringActionTest extends AbstractQuickstartTestCase {
  public MonitoringActionTest(String name) {
    super(name);
  }

  public void testMonitoringAction() throws Exception {
    clearMessages();
    SendJMSMessage sm = new SendJMSMessage();
        sm.setupConnection();
        sm.sendAMessage("3");
        sm.stop();

    clearMessages();
    SendJMSMessage smm = new SendJMSMessage();
        smm.setupConnection();
        smm.sendAMessage("14");
        smm.stop();
       
        clearMessages();
    SendJMSMessage sms = new SendJMSMessage();
        sms.setupConnection();
        sms.sendAMessage("23");
        sms.stop();

  }
 
  public static Test suite() throws Exception {
    return getDeploySetup(MonitoringActionTest.class, "QuickstartMessageStoreServer.sar, Quickstart_monitoring_action.esb");
  }

}
TOP

Related Classes of org.jboss.soa.esb.quickstart.test.MonitoringActionTest

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.