public class SNSWriterConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
autoCreate |
String |
clientEndpoint |
String |
clientFactoryMethod |
MessageQueue.DiscardAction |
discardAction |
int |
discardThreshold |
String |
subject |
String |
topicArn |
String |
topicName |
| Constructor and Description |
|---|
SNSWriterConfig(String topicName,
String topicArn,
boolean autoCreate,
String subject,
int discardThreshold,
MessageQueue.DiscardAction discardAction,
String clientFactoryMethod,
String clientEndpoint) |
public String topicName
public String topicArn
public boolean autoCreate
public String subject
public int discardThreshold
public MessageQueue.DiscardAction discardAction
public String clientFactoryMethod
public String clientEndpoint
public SNSWriterConfig(String topicName, String topicArn, boolean autoCreate, String subject, int discardThreshold, MessageQueue.DiscardAction discardAction, String clientFactoryMethod, String clientEndpoint)
topicName - Identifies the destination topic by name; may be null.topicArn - Identifies the destination topic by ARN; may be null.autoCreate - Flag to indicate topic should be created if it doesn't exist.subject - The subject to be applied to outgoing messages; blank disables.discardThreshold - The maximum number of messages that will be retained in the queue.discardAction - Controls how messages are discarded from the queue to remain within threshold.clientFactoryMethod - FQN of static factory method to create SNS client.clientEndpoint - Possibly-null endpoint for client.Copyright © 2018. All rights reserved.