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

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

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

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

import org.jboss.soa.esb.message.Message;
import org.jboss.soa.esb.message.format.MessageFactory;
import org.jboss.soa.esb.client.ServiceInvoker;

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

  public void testMessageAlerts() throws Exception {
    clearMessages();
    SendJMSMessage sm = new SendJMSMessage();
    String content = "Message Alerts";
        sm.setupConnection();
        sm.sendAMessage(content);
        sm.stop();
  }
 
  public static Test suite() throws Exception {
    return getDeploySetup(MessageAlertsTest.class, "QuickstartMessageStoreServer.sar, Quickstart_messagealerts.esb");
  }

}
TOP

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

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.