Class AmazonSQSProducer

    • Constructor Detail

      • AmazonSQSProducer

        public AmazonSQSProducer()
    • Method Detail

      • stop

        public void stop()
      • close

        public void close()
      • getDelaySeconds

        public java.lang.Integer getDelaySeconds()
        Delay seconds for every message
      • setDelaySeconds

        public void setDelaySeconds​(java.lang.Integer delaySeconds)
        Delay seconds for every message
      • getSendAttributes

        @NonNull
        public @NonNull java.util.List<java.lang.String> getSendAttributes()
        Specify a list of a metadata keys that should be attached to a message.

        Amazon SQS supports a limited set of attributes (10 at current count) that can be attached to a message; use this list to specify the metadata keys that must be sent as attributes, otherwise all metadata is ignored.

      • setSendAttributes

        public void setSendAttributes​(@NonNull
                                      @NonNull java.util.List<java.lang.String> sendAttributes)
        Specify a list of a metadata keys that should be attached to a message.

        Amazon SQS supports a limited set of attributes (10 at current count) that can be attached to a message; use this list to specify the metadata keys that must be sent as attributes, otherwise all metadata is ignored.

      • getOwnerAwsAccountId

        public java.lang.String getOwnerAwsAccountId()
        The AWS account ID of the account that created the queue. When omitted the default setting on the queue will be used.
      • setOwnerAwsAccountId

        public void setOwnerAwsAccountId​(java.lang.String ownerAwsAccountId)
        The AWS account ID of the account that created the queue. When omitted the default setting on the queue will be used.
      • getQueue

        public java.lang.String getQueue()
        The SQS Queue name
      • setQueue

        public void setQueue​(java.lang.String queue)
        The SQS Queue name