}
private void sendPayload(String key, byte[] payload) throws OutboundStorageException {
try {
AWSClient awsClient = new AWSClient(outboundConfiguration);
String result = awsClient.pushToS3(outboundConfiguration, key, payload);
if (LOGGER.isDebugEnabled()) {
LOGGER.debug("rawMessage sent to S3 identified by: " + result);
}
} catch (Exception e) {
throw new OutboundStorageException(e.getMessage(), e);