public class QueueMessagingTemplate extends AbstractMessageChannelMessagingSendingTemplate<QueueMessageChannel> implements org.springframework.messaging.core.DestinationResolvingMessageReceivingOperations<QueueMessageChannel>
| Constructor and Description |
|---|
QueueMessagingTemplate(com.amazonaws.services.sqs.AmazonSQS amazonSqs) |
QueueMessagingTemplate(com.amazonaws.services.sqs.AmazonSQS amazonSqs,
org.springframework.cloud.aws.core.env.ResourceIdResolver resourceIdResolver) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.messaging.Message<?> |
receive() |
org.springframework.messaging.Message<?> |
receive(QueueMessageChannel destination) |
org.springframework.messaging.Message<?> |
receive(String destinationName) |
<T> T |
receiveAndConvert(Class<T> targetClass) |
<T> T |
receiveAndConvert(QueueMessageChannel destination,
Class<T> targetClass) |
<T> T |
receiveAndConvert(String destinationName,
Class<T> targetClass) |
protected QueueMessageChannel |
resolveMessageChannel(String physicalResourceIdentifier) |
convertAndSend, convertAndSend, convertAndSend, convertAndSend, doSend, resolveMessageChannelByLogicalName, send, setDefaultDestinationNameconvertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, convertAndSend, doConvert, getDefaultDestination, getMessageConverter, getRequiredDefaultDestination, processHeadersToSend, send, send, setDefaultDestination, setMessageConverterpublic QueueMessagingTemplate(com.amazonaws.services.sqs.AmazonSQS amazonSqs,
org.springframework.cloud.aws.core.env.ResourceIdResolver resourceIdResolver)
public QueueMessagingTemplate(com.amazonaws.services.sqs.AmazonSQS amazonSqs)
protected QueueMessageChannel resolveMessageChannel(String physicalResourceIdentifier)
resolveMessageChannel in class AbstractMessageChannelMessagingSendingTemplate<QueueMessageChannel>public org.springframework.messaging.Message<?> receive()
throws org.springframework.messaging.MessagingException
receive in interface org.springframework.messaging.core.MessageReceivingOperations<QueueMessageChannel>org.springframework.messaging.MessagingExceptionpublic org.springframework.messaging.Message<?> receive(QueueMessageChannel destination) throws org.springframework.messaging.MessagingException
receive in interface org.springframework.messaging.core.MessageReceivingOperations<QueueMessageChannel>org.springframework.messaging.MessagingExceptionpublic <T> T receiveAndConvert(Class<T> targetClass) throws org.springframework.messaging.MessagingException
receiveAndConvert in interface org.springframework.messaging.core.MessageReceivingOperations<QueueMessageChannel>org.springframework.messaging.MessagingExceptionpublic <T> T receiveAndConvert(QueueMessageChannel destination, Class<T> targetClass) throws org.springframework.messaging.MessagingException
receiveAndConvert in interface org.springframework.messaging.core.MessageReceivingOperations<QueueMessageChannel>org.springframework.messaging.MessagingExceptionpublic org.springframework.messaging.Message<?> receive(String destinationName) throws org.springframework.messaging.MessagingException
receive in interface org.springframework.messaging.core.DestinationResolvingMessageReceivingOperations<QueueMessageChannel>org.springframework.messaging.MessagingExceptionpublic <T> T receiveAndConvert(String destinationName, Class<T> targetClass) throws org.springframework.messaging.MessagingException
receiveAndConvert in interface org.springframework.messaging.core.DestinationResolvingMessageReceivingOperations<QueueMessageChannel>org.springframework.messaging.MessagingExceptionCopyright © 2014 Pivotal Software, Inc.. All rights reserved.