All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazon.sqs.javamessaging.SQSExtendedClientConstants Maven / Gradle / Ivy

Go to download

An extension to the Amazon SQS client that enables sending and receiving messages up to 2GB via Amazon S3.

There is a newer version: 2.1.1
Show newest version
/*
 * 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