public void testTransform() throws Exception {
clearMessages();
String order = "SampleOrder.xml";
String orderLocation = Helpers.getQuickstartLocation("transform_XML2POJO2" + File.separator + order);
SendJMSMessage sm = new SendJMSMessage();
sm.setupConnection();
String orderContent = sm.readAsciiFile(orderLocation);
System.out.println(orderContent);
sm.sendAMessage(orderContent);
sm.closeConnection();
clearMessages();
String petsOrder = "SamplePetsOrder.xml";
String petsOrderLocation = Helpers.getQuickstartLocation("transform_XML2POJO2" + File.separator + petsOrder);
SendJMSMessage sjm = new SendJMSMessage();
sjm.setupConnection();
String petsOrderContent = sjm.readAsciiFile(petsOrderLocation);
System.out.println(petsOrderContent);
sjm.sendAMessage(petsOrderContent);
sjm.closeConnection();
}