context.put(XLT_FAULT, true);
}
private void unregisterMessage(MessageContext context)
{
RequestData reqData = (RequestData) context.get(XLT_REQUEST_DATA);
if (reqData != null)
{
reqData.setRunTime();
reqData.setFailed(isFaultReceived(context));
reqData.setBytesReceived(0);
reqData.setResponseCode(getResponseCode(context));
reqData.setUrl(getServiceUrl(context));
reqData.setContentType(getContentType(context));
Session.getCurrent().getDataManager().logDataRecord(reqData);
}
}