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");
}
}