Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does this library support message timers #64

Closed
sanjesh opened this issue Jul 13, 2018 · 9 comments
Closed

Does this library support message timers #64

sanjesh opened this issue Jul 13, 2018 · 9 comments

Comments

@sanjesh
Copy link

sanjesh commented Jul 13, 2018

We can set DelaySeconds on individual messages sent to standard sqs queues
https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-send-message-with-timer.html

How to set this parameter using this library

@ilikerei
Copy link

ilikerei commented Aug 10, 2018

I found there is a branch for this feature but it has never been pulled into main over the past 3 years:
#12

@blagerweij
Copy link

I had also provided a pull-request, however there does not seem to be a lot of activity from the maintainers (Amazon AWS) to merge this functionality.
#40

@enVolt
Copy link

enVolt commented Mar 1, 2019

@mihir-aws @robin-aws

Guys, can you please look into this. This implementation is currently missing a very basic feature of SQS

@robin-aws
Copy link
Collaborator

Hi @enVolt - I'm happy to say I was already looking at this and I should be able to resolve it quickly.

I had a look at #12 and #40, but I'd actually prefer to support setting this on the SQSMessageProducer instead of the SQSMessage, as that is forwards-compatible with the feature added in JMS 2.0: https://docs.oracle.com/javaee/7/api/javax/jms/JMSProducer.html#setDeliveryDelay-long-

Would that meet people's needs well enough? I'm planning on creating my own pull request for this in the next day or two.

@saifeldeen
Copy link

G'day @robin-aws,

Yes, that would work well, i.e. allowing the set delay seconds on the SQSMessageProducer.

S

@robin-aws
Copy link
Collaborator

Great! How does this look?

#76

@saifeldeen
Copy link

saifeldeen commented Mar 10, 2019 via email

@saifeldeen
Copy link

@robin-aws

Do you have an ETA on when this feature will be released in the master?

@robin-aws
Copy link
Collaborator

This has been released in 1.0.6 - closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants