public class AmazonSQSRemoteMessageDispatcherFactory extends AbstractMessageDispatcherFactory<String>
Constructor and Description |
---|
AmazonSQSRemoteMessageDispatcherFactory() |
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Destroy.
|
<S extends Message,T extends Message> |
dispatch(SinkModule<S,T> module,
String topic,
T message) |
void |
init()
Initializes the producers.
|
void |
setAwsSqsManager(AmazonSQSManager awsSqsManager)
Sets the AWS SQS manager.
|
createAsyncDispatcher, createSyncDispatcher, createSyncDispatcher, getMetrics, getModuleMetadata
public AmazonSQSRemoteMessageDispatcherFactory()
public <S extends Message,T extends Message> void dispatch(SinkModule<S,T> module, String topic, T message)
dispatch
in class AbstractMessageDispatcherFactory<String>
public void init() throws IOException
IOException
- Signals that an I/O exception has occurred.public void destroy()
public void setAwsSqsManager(AmazonSQSManager awsSqsManager)
awsSqsManager
- the new AWS SQS managerCopyright © 2018. All rights reserved.