public class QueueMessageChannel extends AbstractMessageChannel implements PollableChannel
AbstractMessageChannel.ChannelInterceptorChain
logger
INDEFINITE_TIMEOUT
Constructor and Description |
---|
QueueMessageChannel(com.amazonaws.services.sqs.AmazonSQSAsync amazonSqs,
String queueUrl) |
Modifier and Type | Method and Description |
---|---|
Message<String> |
receive() |
Message<String> |
receive(long timeout) |
protected boolean |
sendInternal(Message<?> message,
long timeout) |
addInterceptor, addInterceptor, getBeanName, getInterceptors, getLogger, removeInterceptor, removeInterceptor, send, send, setBeanName, setInterceptors, setLogger, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
send, send
public QueueMessageChannel(com.amazonaws.services.sqs.AmazonSQSAsync amazonSqs, String queueUrl)
protected boolean sendInternal(Message<?> message, long timeout)
sendInternal
in class AbstractMessageChannel
public Message<String> receive()
receive
in interface PollableChannel
public Message<String> receive(long timeout)
receive
in interface PollableChannel
Copyright © 2022 Pivotal Software, Inc.. All rights reserved.