Package | Description |
---|---|
org.axonframework.boot.autoconfig | |
org.axonframework.config | |
org.axonframework.spring.config |
Modifier and Type | Method and Description |
---|---|
void |
AxonAutoConfiguration.configureEventHandling(EventHandlingConfiguration eventHandlingConfiguration,
EventProcessingConfiguration eventProcessingConfiguration,
org.springframework.context.ApplicationContext applicationContext) |
Modifier and Type | Method and Description |
---|---|
EventHandlingConfiguration |
EventHandlingConfiguration.assignHandlersMatching(String name,
int priority,
Predicate<Object> criteria)
Configures a rule to assign Event Handler beans that match the given
criteria to the Event Processor
with given name , with given priority . |
EventHandlingConfiguration |
EventHandlingConfiguration.assignHandlersMatching(String name,
Predicate<Object> criteria)
Configures a rule to assign Event Handler beans that match the given
criteria to the Event Processor
with given name , with neutral priority (value 0). |
EventHandlingConfiguration |
EventHandlingConfiguration.byDefaultAssignTo(Function<Object,String> assignmentFunction)
Registers a function that defines the Event Processor name to assign Event Handler beans to when no other, more
explicit, rule matches and no
ProcessingGroup annotation is found. |
EventHandlingConfiguration |
EventHandlingConfiguration.byDefaultAssignTo(String name)
Registers the Event Processor name to assign Event Handler beans to when no other, more explicit, rule matches
and no
ProcessingGroup annotation is found. |
EventHandlingConfiguration |
EventHandlingConfiguration.configureErrorHandler(Function<Configuration,ErrorHandler> errorHandlerBuilder)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.configureErrorHandler(String name,
Function<Configuration,ErrorHandler> errorHandlerBuilder)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.configureListenerInvocationErrorHandler(Function<Configuration,ListenerInvocationErrorHandler> listenerInvocationErrorHandlerBuilder)
Configures the default
ListenerInvocationErrorHandler for any
EventProcessor . |
EventHandlingConfiguration |
EventHandlingConfiguration.configureListenerInvocationErrorHandler(String name,
Function<Configuration,ListenerInvocationErrorHandler> listenerInvocationErrorHandlerBuilder)
|
EventHandlingConfiguration |
EventHandlingConfiguration.configureMessageMonitor(String name,
Function<Configuration,MessageMonitor<Message<?>>> messageMonitorBuilder)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.configureMessageMonitor(String name,
MessageMonitorFactory messageMonitorFactory)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerDefaultSequencingPolicy(Function<Configuration,SequencingPolicy<? super EventMessage<?>>> policyBuilder)
Registers the sequencing policy created by given
policyBuilder to the processing groups for which no
explicit policy is defined (using registerSequencingPolicy(String, Function) ). |
EventHandlingConfiguration |
EventHandlingConfiguration.registerEventHandler(Function<Configuration,Object> eventHandlerBuilder)
Register an Event Handler Bean with this configuration.
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerEventProcessor(String name,
EventHandlingConfiguration.EventProcessorBuilder eventProcessorBuilder)
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerEventProcessorFactory(EventHandlingConfiguration.EventProcessorBuilder eventProcessorBuilder)
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerHandlerInterceptor(BiFunction<Configuration,String,MessageHandlerInterceptor<? super EventMessage<?>>> interceptorBuilder)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerHandlerInterceptor(String processorName,
Function<Configuration,MessageHandlerInterceptor<? super EventMessage<?>>> interceptorBuilder)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerSequencingPolicy(String name,
Function<Configuration,SequencingPolicy<? super EventMessage<?>>> policyBuilder)
Registers the sequencing policy created by given
policyBuilder to the processing group with given
name . |
EventHandlingConfiguration |
EventHandlingConfiguration.registerSubscribingEventProcessor(String name)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerSubscribingEventProcessor(String name,
Function<Configuration,SubscribableMessageSource<? extends EventMessage<?>>> messageSource)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerTokenStore(String name,
Function<Configuration,TokenStore> tokenStore)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerTrackingProcessor(String name)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerTrackingProcessor(String name,
Function<Configuration,StreamableMessageSource<TrackedEventMessage<?>>> source)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerTrackingProcessor(String name,
Function<Configuration,StreamableMessageSource<TrackedEventMessage<?>>> source,
Function<Configuration,TrackingEventProcessorConfiguration> processorConfiguration,
Function<Configuration,SequencingPolicy<? super EventMessage<?>>> sequencingPolicy)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.registerTrackingProcessor(String name,
Function<Configuration,TrackingEventProcessorConfiguration> processorConfiguration,
Function<Configuration,SequencingPolicy<? super EventMessage<?>>> sequencingPolicy)
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.usingTrackingProcessors()
Deprecated.
|
EventHandlingConfiguration |
EventHandlingConfiguration.usingTrackingProcessors(Function<Configuration,TrackingEventProcessorConfiguration> config,
Function<Configuration,SequencingPolicy<? super EventMessage<?>>> sequencingPolicy)
Deprecated.
|
Constructor and Description |
---|
EventHandlerRegistrar(AxonConfiguration axonConfiguration,
EventHandlingConfiguration eventHandlingConfiguration)
Initialize the registrar to register beans discovered with the given
eventHandlingConfiguration . |
Copyright © 2010–2018. All rights reserved.