Class SendingEventHandler
java.lang.Object
energy.eddie.regionconnector.dk.energinet.permission.handler.SendingEventHandler
- All Implemented Interfaces:
EventHandler<DKValidatedEvent>
@Component
public class SendingEventHandler
extends Object
implements EventHandler<DKValidatedEvent>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final reactor.util.retry.RetryBackoffSpec -
Constructor Summary
ConstructorsConstructorDescriptionSendingEventHandler(Outbox outbox, EventBus eventBus, EnerginetCustomerApiClient customerApi, DkPermissionRequestRepository repository) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(DKValidatedEvent permissionEvent) Subscription method for the event bus
-
Field Details
-
RETRY_BACKOFF_SPEC
public static final reactor.util.retry.RetryBackoffSpec RETRY_BACKOFF_SPEC
-
-
Constructor Details
-
Method Details
-
accept
Description copied from interface:EventHandlerSubscription method for the event bus- Specified by:
acceptin interfaceEventHandler<DKValidatedEvent>- Parameters:
permissionEvent- event that indicates that a permission request has been changed
-