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

Make retry delay configurable #4

@svensp

Description

@svensp

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions