| Interface | Description |
|---|---|
| BrokerSubscriptionConfiguration |
Defines all properties to connect a message broker.
|
| BrokerSubscriptionConfigurationProvider |
Service that provides an instance of
BrokerSubscriptionConfiguration. |
| EventConsumer |
Defines how to process an event.
|
| QueueListener |
Start consuming a queue.
|
| Class | Description |
|---|---|
| BrokerSubscriptionEnvironmentConfigurationProvider |
Service that reads an environment variable
BROKER_SUBSCRIPTION_IMPLEMENTATION to instanciate a BrokerSubscriptionConfiguration using reflection. |
| EventListener |
Bootstrap class to connect a message broker and start a set of
EventConsumers to consume its messages. |
| Subscription |
Immutable class that represents a consumer of events mapped to all events
that satisfy a
SubscriptionQuery. |
| SubscriptionQuery |
Immutable class to match
Events based on their metadata. |
| SubscriptionRepository | |
| SubscriptionScanner |
Scans classpath to find
EventConsumers that define consuming methods (represented by Subscriptions). |
| Enum | Description |
|---|---|
| EventMappingKind |
Mirror enumeration of
EventKind for matching events. |
| EventMappingStatus |
Mirror enumeration of
EventStatus for matching events. |
| Exception | Description |
|---|---|
| BrokerException | |
| ConsumptionException |
Error that can occur during the consumption of an
Event. |
| Annotation Type | Description |
|---|---|
| EventMapping |
Event's metadata to match an
EventConsumer method. |