Package io.helidon.lra.coordinator.client
MicroProfile Long Running Actions Coordinator client spi.
Provides abstraction over various coordinators. Implementation of
CoordinatorClient
is expected to be
an application scoped bean.
Coordinator client is expected to leverage following configuration keys:
mp.lra.coordinator.url
URL of coordinatormp.lra.coordinator.timeout
Timeout for coordinator callsmp.lra.coordinator.timeout-unit
Timeout unit for coordinator calls timeout
-
Interface Summary Interface Description CoordinatorClient Abstraction over specific coordinator.Headers Deprecated, for removal: This API element is subject to removal in a future version. Never used on LRA api, going to be removed without replacement.Participant Participant metadata needed by LRA coordinator.PropagatedHeaders Headers propagated between Participant and Coordinator. -
Class Summary Class Description PropagatedHeaders.NoopPropagatedHeaders Noop headers, always returns same instance of empty map.PropagatedHeaders.PrefixedPropagatedHeaders Propagated headers which can scan for allowed headers with any of the preconfigured prefixes. -
Exception Summary Exception Description CoordinatorConnectionException Exception in communication with coordinator.