CQSAPI.sendMessage(user.getUserId(), Util.getRelativeForAbsoluteQueueUrl(absoluteQueueUrl), msg, null);
} else {
awsCredentials = new BasicAWSCredentials(user.getAccessKey(), user.getAccessSecret());
sqs = new AmazonSQSClient(awsCredentials);
sqs.setEndpoint(CMBProperties.getInstance().getCQSServiceUrl());
sqs.sendMessage(new SendMessageRequest(absoluteQueueUrl, msg));
}
if (CMBProperties.getInstance().getMaxMessagePayloadLogLength() > 0) {
if (msg.length() > CMBProperties.getInstance()
.getMaxMessagePayloadLogLength()) {