Class TimeoutBeanConfiguration
java.lang.Object
energy.eddie.regionconnector.de.eta.TimeoutBeanConfiguration
Wires the permission request timeout feature for the German (ETA Plus) region connector.
Final customers sometimes ignore permission requests; since those can never be used to
retrieve data, they are timed out by the shared CommonTimeoutService. The service runs
on the schedule defined by the shared @Timeout annotation (enabled by the
@EnableScheduling on DeEtaSpringConfig), queries stale requests via
DePermissionRequestRepository.findStalePermissionRequests(int) and emits the
corresponding timeout events through the Outbox.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontimeoutService(DePermissionRequestRepository repository, Outbox outbox, TimeoutConfiguration timeoutConfiguration)
-
Constructor Details
-
TimeoutBeanConfiguration
public TimeoutBeanConfiguration()
-
-
Method Details