public class EventProcessorControlService extends Object
PlatformOutboundInstructions to control EventProcessors when for example
 requested by Axon Server. Will delegate the calls to the AxonServerConnectionManager and/or EventProcessorController for further processing.| Constructor and Description | 
|---|
| EventProcessorControlService(AxonServerConnectionManager axonServerConnectionManager,
                            EventProcessorController eventProcessorController)Initialize a  EventProcessorControlServicewhich addsConsumers to the givenAxonServerConnectionManageronPlatformOutboundInstructions. | 
| EventProcessorControlService(AxonServerConnectionManager axonServerConnectionManager,
                            EventProcessorController eventProcessorController,
                            String context)Initialize a  EventProcessorControlServicewhich addsConsumers to the givenAxonServerConnectionManageronPlatformOutboundInstructions. | 
public EventProcessorControlService(AxonServerConnectionManager axonServerConnectionManager, EventProcessorController eventProcessorController)
EventProcessorControlService which adds Consumers to the given
 AxonServerConnectionManager on PlatformOutboundInstructions. These Consumers typically leverage
 the EventProcessorController to issue operations to the EventProcessors contained in this
 application. 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 receivedeventProcessorController - the EventProcessorController used to perform operations on the
                                    EventProcessorspublic EventProcessorControlService(AxonServerConnectionManager axonServerConnectionManager, EventProcessorController eventProcessorController, String context)
EventProcessorControlService which adds Consumers to the given
 AxonServerConnectionManager on PlatformOutboundInstructions. These Consumers typically leverage
 the EventProcessorController to issue operations to the EventProcessors contained in this
 application. 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 receivedeventProcessorController - the EventProcessorController used to perform operations on the
                                    EventProcessorscontext - 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.Copyright © 2010–2020. All rights reserved.