...
- We don't support creating the queues. Setting autoCreateObjects property to true will do nothing. The name of the queue you send in the method calls must exist already.
- Grouper messaging with SQS only supports queue types so setting queueType property to topic will throw IllegalArgumentException
- Make sure you call acknowledge method after receiving the messages otherwise you will keep receiving the same messages over and over.
- We use message based deduplication for FIFO types. We assign a UUID to each message to make it unique.
- return_to_end_of_queue acknowledgment type can only work with FIFO type.
All the properties you can set in grouper.client.properties for AWS SQS.
Code Block |
---|
grouper.sqs.messaging.accessKey = ABC123
grouper.sqs.messaging.secretKey = xyz789
grouper.sqs.messaging.defaultPageSize = 5
#SQS can return maximum of 10 messages at once so don't set the value higher than 10.
grouper.sqs.messaging.maxPageSize = 10 |