Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ public static <E> Builder<AmazonSNS, PublishBatchRequest, PublishBatchResult, E,
/**
* Creates a new v1 SNS template with default settings.
*
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} instead
* @param amazonSnsClient the v1 {@link AmazonSNS} client
* @param topicProperty the topic configuration
*/
Expand All @@ -84,6 +85,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v1 SNS template with a custom publish decorator.
*
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} and {@link Builder#publishDecorator(UnaryOperator)} instead
* @param amazonSnsClient the v1 {@link AmazonSNS} client
* @param topicProperty the topic configuration
* @param publishDecorator a decorator for the publish batch request
Expand All @@ -99,6 +101,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v1 SNS template with a custom topic request queue.
*
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} and {@link Builder#topicRequests(BlockingQueue)} instead
* @param amazonSnsClient the v1 {@link AmazonSNS} client
* @param topicProperty the topic configuration
* @param topicRequests the blocking queue for topic requests
Expand All @@ -114,6 +117,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v1 SNS template with a custom queue and publish decorator.
*
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} with {@link Builder#topicRequests(BlockingQueue)} and {@link Builder#publishDecorator(UnaryOperator)} instead
* @param amazonSnsClient the v1 {@link AmazonSNS} client
* @param topicProperty the topic configuration
* @param topicRequests the blocking queue for topic requests
Expand All @@ -131,6 +135,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v1 SNS template with a custom ObjectMapper.
*
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} and {@link Builder#objectMapper(ObjectMapper)} instead
* @param amazonSnsClient the v1 {@link AmazonSNS} client
* @param topicProperty the topic configuration
* @param objectMapper the Jackson ObjectMapper for payload serialization
Expand All @@ -146,6 +151,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v1 SNS template with a custom ObjectMapper and publish decorator.
*
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} with {@link Builder#objectMapper(ObjectMapper)} and {@link Builder#publishDecorator(UnaryOperator)} instead
* @param amazonSnsClient the v1 {@link AmazonSNS} client
* @param topicProperty the topic configuration
* @param objectMapper the Jackson ObjectMapper for payload serialization
Expand All @@ -163,6 +169,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v1 SNS template with a custom queue and ObjectMapper.
*
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} with {@link Builder#topicRequests(BlockingQueue)} and {@link Builder#objectMapper(ObjectMapper)} instead
* @param amazonSnsClient the v1 {@link AmazonSNS} client
* @param topicProperty the topic configuration
* @param topicRequests the blocking queue for topic requests
Expand All @@ -180,6 +187,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v1 SNS template with full custom configuration.
*
* @deprecated since 1.3.0, use {@link #builder(AmazonSNS, TopicProperty)} with builder setters instead
* @param amazonSnsClient the v1 {@link AmazonSNS} client
* @param topicProperty the topic configuration
* @param topicRequests the blocking queue for topic requests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public static <E> Builder<SnsClient, PublishBatchRequest, PublishBatchResponse,
/**
* Creates a new v2 SNS template with default settings.
*
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} instead
* @param amazonSnsClient the v2 {@link SnsClient}
* @param topicProperty the topic configuration
*/
Expand All @@ -85,6 +86,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v2 SNS template with a custom publish decorator.
*
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} and {@link Builder#publishDecorator(UnaryOperator)} instead
* @param amazonSnsClient the v2 {@link SnsClient}
* @param topicProperty the topic configuration
* @param publishDecorator a decorator for the publish batch request
Expand All @@ -100,6 +102,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v2 SNS template with a custom topic request queue.
*
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} and {@link Builder#topicRequests(BlockingQueue)} instead
* @param amazonSnsClient the v2 {@link SnsClient}
* @param topicProperty the topic configuration
* @param topicRequests the blocking queue for topic requests
Expand All @@ -115,6 +118,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v2 SNS template with a custom queue and publish decorator.
*
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} with {@link Builder#topicRequests(BlockingQueue)} and {@link Builder#publishDecorator(UnaryOperator)} instead
* @param amazonSnsClient the v2 {@link SnsClient}
* @param topicProperty the topic configuration
* @param topicRequests the blocking queue for topic requests
Expand All @@ -132,6 +136,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v2 SNS template with a custom ObjectMapper.
*
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} and {@link Builder#objectMapper(ObjectMapper)} instead
* @param amazonSnsClient the v2 {@link SnsClient}
* @param topicProperty the topic configuration
* @param objectMapper the Jackson ObjectMapper for payload serialization
Expand All @@ -147,6 +152,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v2 SNS template with a custom ObjectMapper and publish decorator.
*
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} with {@link Builder#objectMapper(ObjectMapper)} and {@link Builder#publishDecorator(UnaryOperator)} instead
* @param amazonSnsClient the v2 {@link SnsClient}
* @param topicProperty the topic configuration
* @param objectMapper the Jackson ObjectMapper for payload serialization
Expand All @@ -164,6 +170,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v2 SNS template with a custom queue and ObjectMapper.
*
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} with {@link Builder#topicRequests(BlockingQueue)} and {@link Builder#objectMapper(ObjectMapper)} instead
* @param amazonSnsClient the v2 {@link SnsClient}
* @param topicProperty the topic configuration
* @param topicRequests the blocking queue for topic requests
Expand All @@ -181,6 +188,7 @@ public AmazonSnsTemplate(
/**
* Creates a new v2 SNS template with full custom configuration.
*
* @deprecated since 1.3.0, use {@link #builder(SnsClient, TopicProperty)} with builder setters instead
* @param amazonSnsClient the v2 {@link SnsClient}
* @param topicProperty the topic configuration
* @param topicRequests the blocking queue for topic requests
Expand Down