private void publishMessages(List<Message> messages) {
        LOGGER.debug("Sending {} messages to the SQS queue: {}", messages.size(), queueName);
        SendMessageBatchRequest batch = new SendMessageBatchRequest(queueURL);
        messages.forEach(
                msg -> {
                    SendMessageBatchRequestEntry sendr =
                            new SendMessageBatchRequestEntry(msg.getId(), msg.getPayload());
                    batch.getEntries().add(sendr);
                });
        LOGGER.debug("sending {} messages in batch", batch.getEntries().size());
        SendMessageBatchResult result = client.sendMessageBatch(batch);
        LOGGER.debug("send result: {} for SQS queue: {}", result.getFailed().toString(), queueName);
    }
@param visibilityTimeout Visibility timeout for the message in SECONDS
@return builder instance
awssqs-event-queue/src/main/java/com/netflix/conductor/sqs/eventqueue/SQSObservableQueue.java