Class BatchOverrideConfiguration

    • Method Detail

      • sendRequestFrequency

        public Duration sendRequestFrequency()
        Returns:
        the maximum duration an outgoing call waits for additional messages of the same type before being sent. If the maxBatchSize() is reached before this duration, the batch will be sent immediately. The default value is 200 milliseconds.
      • receiveMessageVisibilityTimeout

        public Duration receiveMessageVisibilityTimeout()
        Returns:
        the custom visibility timeout to use when retrieving messages from SQS. If not set, the default visibility timeout configured on the SQS queue will be used.
      • receiveMessageMinWaitDuration

        public Duration receiveMessageMinWaitDuration()
        Returns:
        the minimum wait time for incoming receive message requests. Without a non-zero minimum wait time, threads can waste CPU resources busy-waiting for messages. The default value is 50 milliseconds.
      • receiveMessageSystemAttributeNames

        public List<MessageSystemAttributeName> receiveMessageSystemAttributeNames()
        Returns:
        the system attribute names to request for ReceiveMessageRequest. Requests with differing system attribute names will bypass the batch manager and make a direct call to SQS.
      • receiveMessageAttributeNames

        public List<String> receiveMessageAttributeNames()
        Returns:
        the message attribute names to request for ReceiveMessageRequest. Requests with different message attribute names will bypass the batch manager and make a direct call to SQS.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object