*/
public void testMessageOrderPersistence_1() throws Exception
{
Connection conn = cf.createConnection();
Session sessSend = conn.createSession(false, Session.AUTO_ACKNOWLEDGE);
MessageProducer prod = sessSend.createProducer(queue);
TextMessage m0 = sessSend.createTextMessage("a");
TextMessage m1 = sessSend.createTextMessage("b");
TextMessage m2 = sessSend.createTextMessage("c");
TextMessage m3 = sessSend.createTextMessage("d");
TextMessage m4 = sessSend.createTextMessage("e");
TextMessage m5 = sessSend.createTextMessage("f");
TextMessage m6 = sessSend.createTextMessage("g");
TextMessage m7 = sessSend.createTextMessage("h");
TextMessage m8 = sessSend.createTextMessage("i");
TextMessage m9 = sessSend.createTextMessage("j");
prod.send(m0, DeliveryMode.PERSISTENT, 0, 0);
prod.send(m1, DeliveryMode.PERSISTENT, 1, 0);
prod.send(m2, DeliveryMode.PERSISTENT, 2, 0);
prod.send(m3, DeliveryMode.PERSISTENT, 3, 0);
prod.send(m4, DeliveryMode.PERSISTENT, 4, 0);
prod.send(m5, DeliveryMode.PERSISTENT, 5, 0);
prod.send(m6, DeliveryMode.PERSISTENT, 6, 0);
prod.send(m7, DeliveryMode.PERSISTENT, 7, 0);
prod.send(m8, DeliveryMode.PERSISTENT, 8, 0);
prod.send(m9, DeliveryMode.PERSISTENT, 9, 0);
conn.close();
ServerManagement.stopServerPeer();