amazon-sqs-java-messaging-lib icon indicating copy to clipboard operation
amazon-sqs-java-messaging-lib copied to clipboard

Set individual message delays

Open stanley-travelex opened this issue 6 years ago • 1 comments

I've just started using the new feature to add delays in #76 but I'd like to set the delay on a per message basis instead of the whole MessageProducer.

I've created #79 to add support for this, where we can set a message property to override the delay for the MessageProducer.

Let me know what you think, cheers! Stanley

stanley-travelex avatar Sep 16 '19 16:09 stanley-travelex

Is there any consideration to include this option?

While I think the change in #76 was important, I think this feature is also needed. These are two different scenarios and some use cases are not covered without this change.

Thank you for any information you can provide. I'd really rather use JMS instead of the SQS objects in the AWS SDK directly.

Flying-Bison avatar May 18 '20 20:05 Flying-Bison