Uses of Interface
io.awspring.cloud.sqs.operations.SqsReceiveOptions
Packages that use SqsReceiveOptions
Package
Description
Components for converting source messages to Spring messaging messages.
-
Uses of SqsReceiveOptions in io.awspring.cloud.sqs.operations
Methods in io.awspring.cloud.sqs.operations that return SqsReceiveOptionsModifier and TypeMethodDescriptionSqsReceiveOptions.additionalHeader
(String name, Object value) Provide a header name and value to be added to returned messages.SqsReceiveOptions.additionalHeaders
(Map<String, Object> headers) Provide headers to be added to returned messages.SqsReceiveOptions.maxNumberOfMessages
(Integer maxNumberOfMessages) Set the maximum number of messages to be returned.SqsReceiveOptions.pollTimeout
(Duration pollTimeout) Set the maximum amount of time to wait for messages in the queue before returning with less than maximum of messages or empty.Set the queue name, url or ARN from which to receive messages from.SqsReceiveOptions.receiveRequestAttemptId
(UUID receiveRequestAttemptId) Set the receiveRequestAttemptId required attribute.SqsReceiveOptions.visibilityTimeout
(Duration visibilityTimeout) Set the visibility timeout to be applied by received messages.Method parameters in io.awspring.cloud.sqs.operations with type arguments of type SqsReceiveOptionsModifier and TypeMethodDescriptionSqsOperations.receive
(Consumer<SqsReceiveOptions> from) Receive a message usingSqsReceiveOptions
.SqsOperations.receive
(Consumer<SqsReceiveOptions> from, Class<T> payloadClass) Receive a message usingSqsReceiveOptions
and convert the payload to the provided class.SqsTemplate.receive
(Consumer<SqsReceiveOptions> from) SqsTemplate.receive
(Consumer<SqsReceiveOptions> from, Class<T> payloadClass) SqsAsyncOperations.receiveAsync
(Consumer<SqsReceiveOptions> from) Receive a message using theSqsReceiveOptions
options.<T> CompletableFuture<Optional<Message<T>>>
SqsAsyncOperations.receiveAsync
(Consumer<SqsReceiveOptions> from, Class<T> payloadClass) Receive a message using theSqsReceiveOptions
options and convert the payload to the provided class.SqsTemplate.receiveAsync
(Consumer<SqsReceiveOptions> from) <T> CompletableFuture<Optional<Message<T>>>
SqsTemplate.receiveAsync
(Consumer<SqsReceiveOptions> from, Class<T> payloadClass) Collection<Message<?>>
SqsOperations.receiveMany
(Consumer<SqsReceiveOptions> from) Receive a batch of messages usingSqsReceiveOptions
.<T> Collection<Message<T>>
SqsOperations.receiveMany
(Consumer<SqsReceiveOptions> from, Class<T> payloadClass) Receive a batch of messages usingSqsReceiveOptions
and convert the payloads to the provided class.Collection<Message<?>>
SqsTemplate.receiveMany
(Consumer<SqsReceiveOptions> from) <T> Collection<Message<T>>
SqsTemplate.receiveMany
(Consumer<SqsReceiveOptions> from, Class<T> payloadClass) SqsAsyncOperations.receiveManyAsync
(Consumer<SqsReceiveOptions> from) Receive a batch of messages using theSqsReceiveOptions
options.<T> CompletableFuture<Collection<Message<T>>>
SqsAsyncOperations.receiveManyAsync
(Consumer<SqsReceiveOptions> from, Class<T> payloadClass) Receive a batch of messages using theSqsReceiveOptions
options and convert the payloads to the provided class.SqsTemplate.receiveManyAsync
(Consumer<SqsReceiveOptions> from) <T> CompletableFuture<Collection<Message<T>>>
SqsTemplate.receiveManyAsync
(Consumer<SqsReceiveOptions> from, Class<T> payloadClass)