Interface SqsTemplateOptions

All Superinterfaces:
MessagingTemplateOptions<SqsTemplateOptions>

public interface SqsTemplateOptions extends MessagingTemplateOptions<SqsTemplateOptions>
Sqs specific options for the SqsTemplate.
  • Method Details

    • defaultQueue

      SqsTemplateOptions defaultQueue(String defaultQueue)
      Set the default queue for this template. Default is blank.
      Parameters:
      defaultQueue - the default queue.
      Returns:
      the options instance.
    • queueNotFoundStrategy

      SqsTemplateOptions queueNotFoundStrategy(QueueNotFoundStrategy queueNotFoundStrategy)
      The QueueNotFoundStrategy for this template.
      Parameters:
      queueNotFoundStrategy - the strategy.
      Returns:
      the options instance.
    • queueAttributeNames

      SqsTemplateOptions queueAttributeNames(Collection<software.amazon.awssdk.services.sqs.model.QueueAttributeName> queueAttributeNames)
      The queue attribute names that will be retrieved by this template and added as headers to received messages. Default is none.
      Parameters:
      queueAttributeNames - the names.
      Returns:
      the options instance.
    • messageAttributeNames

      SqsTemplateOptions messageAttributeNames(Collection<String> messageAttributeNames)
      The message attributes to be retrieved with the message and added as headers to received messages. Default is ALL.
      Parameters:
      messageAttributeNames - the names.
      Returns:
      the options instance.
    • messageSystemAttributeNames

      SqsTemplateOptions messageSystemAttributeNames(Collection<software.amazon.awssdk.services.sqs.model.MessageSystemAttributeName> messageSystemAttributeNames)
      The message system attributes to be retrieved with the message and added as headers to received messages. Default is ALL.
      Parameters:
      messageSystemAttributeNames - the names.
      Returns:
      the options instance.