Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Make retry delay configurable #4

Open
2 tasks
svensp opened this issue Jul 3, 2019 · 0 comments
Open
2 tasks

Make retry delay configurable #4

svensp opened this issue Jul 3, 2019 · 0 comments
Assignees

Comments

@svensp
Copy link
Collaborator

svensp commented Jul 3, 2019

When rabbitmq:listen runs into an unkown Throwable(that is: not implementing DropsMessage) it requeues the Message to return after 10 seconds.

  • Make the 10 seconds configurable through the config file and environment RMQ_RETRY_DELAY
  • New exception interface DelaysMessage with function delayForMiliseconds. Exceptions implementing this interface will be delayed for the given miliseconds instead of the global retry delay
@svensp svensp self-assigned this Jul 3, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant