centiservice / mats3

Mats3: Message-based Asynchronous Transactional Staged Stateless Services
https://mats3.io/
Other
63 stars 7 forks source link

Test-framework: Way to check, after a test, whether there are unconsumed messages and DLQs #32

Open stolsvik opened 3 years ago

stolsvik commented 3 years ago

Evidently this is somewhat of a problem in testing: Some messages have not been consumed, or some messages have DLQed unexpectedly (wrt. the test).

Some kind of tool that allows for introspection of this. Problem: enumeration of queues. Possible solution: Instrument MatsFactory to note any consumers (StageProcessors) and Initiations.