public class EventListener
extends java.lang.Object
EventConsumers to consume its messages.| Constructor and Description |
|---|
EventListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
start(java.lang.String projectorsPackage,
SubscriptionScanner subscriptionScanner,
SubscriptionRepository subscriptionRepository,
QueueListener queueListener)
Scans classpath (based on
projectorsPackage to register all EventConsumers into the repository.
Start consuming events from a broker
Consuming events depends on the implementation provided |
public void start(java.lang.String projectorsPackage,
SubscriptionScanner subscriptionScanner,
SubscriptionRepository subscriptionRepository,
QueueListener queueListener)
projectorsPackage to register all EventConsumers into the repository.projectorsPackage - must not be null or emptysubscriptionScanner - must not be nullsubscriptionRepository - must not be nullqueueListener - must not be null