![JAR search and dependency download from the Maven repository](/logo.png)
com.amazon.sqs.javamessaging.SQSExtendedClientConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of amazon-sqs-java-extended-client-lib Show documentation
Show all versions of amazon-sqs-java-extended-client-lib Show documentation
An extension to the Amazon SQS client that enables sending and receiving messages up to 2GB via Amazon S3.
/*
* Copyright 2010-2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
package com.amazon.sqs.javamessaging;
public class SQSExtendedClientConstants {
// This constant is shared with SNSExtendedClient
// SNS team should be notified of any changes made to this
public static final String RESERVED_ATTRIBUTE_NAME = "ExtendedPayloadSize";
// This constant is shared with SNSExtendedClient
// SNS team should be notified of any changes made to this
public static final int MAX_ALLOWED_ATTRIBUTES = 10 - 1; // 10 for SQS, 1 for the reserved attribute
// This constant is shared with SNSExtendedClient
// SNS team should be notified of any changes made to this
public static final int DEFAULT_MESSAGE_SIZE_THRESHOLD = 262144;
public static final String S3_BUCKET_NAME_MARKER = "-..s3BucketName..-";
public static final String S3_KEY_MARKER = "-..s3Key..-";
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy