public class SQSInboundChannelManager extends SQSChannelManager implements InboundChannelManager
ACCESSID, ACCESSKEY, ENDPOINT, QUEUENAME, REGIONchannel| Constructor and Description |
|---|
SQSInboundChannelManager(Channel channel) |
| Modifier and Type | Method and Description |
|---|---|
void |
acknowledge(String messageId) |
void |
initialize() |
co.cask.cdap.api.dataset.lib.CloseableIterator<ChannelEvent> |
poll(String offset,
int maxFetchSize) |
configure, getAccessId, getAccessKey, getEndpoint, getQueueName, getRegion, getSQSClient, stopgetChannelclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconfigure, getChannel, stoppublic SQSInboundChannelManager(Channel channel)
public void initialize()
throws ChannelInitializationException
initialize in interface ChannelManagerinitialize in class SQSChannelManagerChannelInitializationExceptionpublic co.cask.cdap.api.dataset.lib.CloseableIterator<ChannelEvent> poll(String offset, int maxFetchSize) throws Exception
poll in interface InboundChannelManagerExceptionpublic void acknowledge(String messageId)
acknowledge in interface InboundChannelManagerCopyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.