public class EventProcessorControlService extends Object
PlatformOutboundInstructions to control EventProcessors when for example
requested by Axon Server. Will delegate the calls to the AxonServerConnectionManager for further processing.| Constructor and Description |
|---|
EventProcessorControlService(AxonServerConnectionManager axonServerConnectionManager,
EventProcessingConfiguration eventProcessingConfiguration,
AxonServerConfiguration axonServerConfiguration)
Initialize a
EventProcessorControlService which adds Consumers to the given
AxonServerConnectionManager on PlatformOutboundInstructions. |
EventProcessorControlService(AxonServerConnectionManager axonServerConnectionManager,
EventProcessingConfiguration eventProcessingConfiguration,
String context)
Initialize a
EventProcessorControlService which adds Consumers to the given
AxonServerConnectionManager on PlatformOutboundInstructions. |
| Modifier and Type | Method and Description |
|---|---|
Supplier<io.axoniq.axonserver.grpc.control.EventProcessorInfo> |
infoSupplier(EventProcessor processor) |
void |
start()
|
public EventProcessorControlService(AxonServerConnectionManager axonServerConnectionManager, EventProcessingConfiguration eventProcessingConfiguration, AxonServerConfiguration axonServerConfiguration)
EventProcessorControlService which adds Consumers to the given
AxonServerConnectionManager on PlatformOutboundInstructions. Uses the AxonServerConnectionManager.getDefaultContext() specified in the given axonServerConnectionManager as
the context to dispatch operations inaxonServerConnectionManager - a AxonServerConnectionManager used to add operations when PlatformOutboundInstruction have been receivedaxonServerConfiguration - the AxonServerConfiguration used to retrieve the client identifierpublic EventProcessorControlService(AxonServerConnectionManager axonServerConnectionManager, EventProcessingConfiguration eventProcessingConfiguration, String context)
EventProcessorControlService which adds Consumers to the given
AxonServerConnectionManager on PlatformOutboundInstructions. Uses the AxonServerConnectionManager.getDefaultContext() specified in the given axonServerConnectionManager as
the context to dispatch operations inaxonServerConnectionManager - a AxonServerConnectionManager used to add operations when PlatformOutboundInstruction have been receivedcontext - the context of this application instance within which outbound instruction
handlers should be specified on the given axonServerConnectionManager@StartHandler(phase=1073741833) public void start()
Consumers to the AxonServerConnectionManager for several PlatformOutboundInstructions. Will be started in phase Phase.INBOUND_EVENT_CONNECTORS, to ensure the
event processors this service provides control over have been started.public Supplier<io.axoniq.axonserver.grpc.control.EventProcessorInfo> infoSupplier(EventProcessor processor)
Copyright © 2010–2022. All rights reserved.