package org.jboss.soa.esb.quickstart.test;
import junit.framework.Test;
import org.jboss.soa.esb.samples.quickstart.jmstransacted.test.SendJMSMessage;
public class JMSTransactedTest extends AbstractQuickstartTestCase {
public JMSTransactedTest(String name) {
super(name);
}
public void testTransacted() throws Exception {
String content = "Hello Transacted JMS World]";
clearMessages();
SendJMSMessage sm = new SendJMSMessage();
sm.setupConnection();
sm.sendAMessage(content);
sm.stop();
}
public static Test suite() throws Exception {
return getDeploySetup(JMSTransactedTest.class, "QuickstartMessageStoreServer.sar, Quickstart_JMS_Transacted.esb");
}
}