Amazon SQS Connector Guide

Amazon SQS Connector Guide

Amazon SQS Event Target Properties

Amazon SQS Event Target Properties

For each connection, you can include one or more event targets that specify options for writing SQS messages when the event target is called from a process.
The following table describes the Amazon SQS event target properties:
Property
Description.
Queue Name
Required. Name of the Amazon SQS queue. If the named queue does not exist, the connection automatically creates the queue.
The question mark (?) character is prohibited in this field. It is not supported by Apache Camel and you cannot publish a connection that contains this value.
Query Parameters
Optional. You can specify other parameters that define how to connect to servers, if required by the SQS client. For example, you can use the standard URI query syntax to provide additional information for the client to successfully connect.
Queue Owner AWS Account ID
Optional. The AWS account ID of the account owner that created the queue (if the queue already exists).
Region
Optional. The AWS region for the SQS queue. For example:
us-west-1
Content Format
Required. Identifies the format of the content to be processed.
Select one of the following values:
  • TEXT
    . The content is a string and handled like plain text.
  • XML
    . The content is parsed and converted to an object or a list of process objects.
  • JSON
    . The content is parsed and converted to an object or a list of process objects.
The following table describes the advanced properties for an event target:
Property
Description
Visibility Timeout
Optional. Duration in seconds for which messages are hidden from subsequent retrieve requests after the messages are retrieved by a ReceiveMessage request.
Policy
Optional. The JSON-based access policy language required by Amazon to be applied to any new queues created by the process.
Maximum Message Size
Optional. The maximum message size in bytes permitted in this queue. Enter a value between 1000 and 256000.
Message Retention Period
Optional. The retention period, in seconds, for messages in this queue.
Range: 60 seconds to 14 days.
Delay
Optional. The period, in seconds, for which the action for sending messages must be delayed.
Message Group Id Strategy
Required. Use this option for FIFO queues. The option defines the strategy for setting the messageGroupId attribute for the message.
Select one of the following values:
  • useConstant. The
    CamelSingleMessageGroup
    string is used as the message group ID.
  • useExchangeId. The value of the custom Camel message header
    AeMessageGroupId
    is used as the message group ID.
  • usePropertyValue. The value of the custom Camel message header
    AeMessageGroupId
    is used as the message group ID.
Default is
useConstant
.
Message Deduplication Id Strategy
Required. Use this option for FIFO queues. The option defines the deduplication strategy for the message.
Select one of the following values:
  • useExchangeId. The messages are deduplicated by the Camel exchangeId.
  • useContentBasedDeduplication. The messages are deduplicated by the message content. No messageDeduplicationId is set.
Default is
useExchangeId
.

0 COMMENTS

We’d like to hear from you!