I am using amazon sqs queues to consume message asynchronously. I have started consuming the messages using amazon sqs JMS api's. So I have implemented MessageListener and doing my work once message arrive in onMessage method. Since amazon sqs is charged based on request made to the server I would like to restrict polling interval to 1 minute or may be more since I do not need message immediately.
I there anyway we can configure polling interval in JMS or I should use amazon sqs API to handle this on my own.
Thanks
Aucun commentaire:
Enregistrer un commentaire