Remiworks / EventBusFramework

Wrapper for RabbitMQ. This includes an attribute library for handling incoming events and commands.
GNU General Public License v3.0
1 stars 2 forks source link

Events get lost when one listens to a queue, but not to all topics from that queue #18

Closed mikederksen closed 6 years ago

mikederksen commented 6 years ago

Imagine that an application listens to the 'TestQueue' queue and to the topics 'Some.Thing1' and 'Some.Thing2'. When an event with topic 'Some.Thing3' comes in, the framework will pick up this event from the queue. Then it starts parsing the key to see if it has a matching topic listener somewhere. If it does not have a matching topic listener, nothing is called, but the event is gone from the queue.

This can be solve by disabling auto-acknowledge. When the framework finds a matching topic, it can acknowledge the event.

TiruYasha commented 6 years ago

Not an issue