assertEquals("MSH|^~\\&|MYSENDER||||200701011539||ADR^A19||||123", lines[0]);
assertEquals("MSA|AA|123", lines[1]);
}
public void process(Exchange exchange) throws Exception {
QRY_A19 a19 = exchange.getIn().getBody(QRY_A19.class);
MSH msh = a19.getMSH();
assertEquals("MYSENDER", msh.getSendingApplication().getHd1_NamespaceID().getValue());
String out = "MSH|^~\\&|MYSENDER||||200701011539||ADR^A19||||123\rMSA|AA|123\n";
exchange.getOut().setBody(out);
}