org.w3c.dom.Document pointerUploadResponseDocument = null;
for (Object object : messsageList)
{
if (object instanceof PointerUploadResponse)
{
PointerUploadResponse response = (PointerUploadResponse) object;
if(response.getPointerUploadConfirmation() != null)
{
System.out.println("record count :"
+ response.getPointerUploadConfirmation()
.getRecordCount());
exchange.getOut().setHeader("Response", "Confirmation");
}
if (response.getPointerUploadError() != null)
{
exchange.getOut().setHeader("Response", "Error");
}
JAXBContext jaxbContext;