public interface QueueListener
| Modifier and Type | Method and Description |
|---|---|
void |
listen(SubscriptionRepository subscriptionRepository)
Starts consuming a queue and apply
EventConsumers on each message read from the queue. |
void listen(SubscriptionRepository subscriptionRepository)
EventConsumers on each message read from the queue.subscriptionRepository - repository that can be used to find a set of EventConsumer to use for each event to consume; must not be null