useOutputStream = (config.getAttribute(PRINT_STREAM, "true").equals("true") ? true : false);
String primaryDataLocation = config.getAttribute("datalocation");
if(primaryDataLocation != null) {
config.setAttribute(MessagePayloadProxy.GET_PAYLOAD_LOCATION, primaryDataLocation);
payloadProxy = new MessagePayloadProxy(config);
} else {
payloadProxy = new MessagePayloadProxy(config,
new String[] {BytesBody.BYTES_LOCATION},
new String[] {BytesBody.BYTES_LOCATION});
}
payloadProxy.setNullGetPayloadHandling(MessagePayloadProxy.NullPayloadHandling.LOG);
}