congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
EventProcessingConfiguration.buildEventProcessor
Code IndexAdd Tabnine to your IDE (free)

How to use
buildEventProcessor
method
in
org.axonframework.config.EventProcessingConfiguration

Best Java code snippets using org.axonframework.config.EventProcessingConfiguration.buildEventProcessor (Showing top 1 results out of 315)

origin: org.axonframework/axon-core

@Override
public void initialize(Configuration config) {
  this.configuration = config;
  eventProcessors.clear();
  Map<String, List<Function<Configuration, EventHandlerInvoker>>> builderFunctionsPerProcessor = new HashMap<>();
  invokerBuilders.forEach((processingGroup, builderFunctions) -> {
    String processorName = processorNameForProcessingGroup(processingGroup);
    builderFunctionsPerProcessor.compute(processorName, (k, currentBuilderFunctions) -> {
      if (currentBuilderFunctions == null) {
        return builderFunctions;
      }
      currentBuilderFunctions.addAll(builderFunctions);
      return currentBuilderFunctions;
    });
  });
  builderFunctionsPerProcessor.forEach((processorName, builderFunctions) ->
    eventProcessors.put(processorName,
              new Component<>(config,
                      processorName,
                      c -> buildEventProcessor(config, builderFunctions, processorName)))
  );
}
org.axonframework.configEventProcessingConfigurationbuildEventProcessor

Popular methods of EventProcessingConfiguration

  • eventProcessor
    Returns the Event Processor with the given name, if present and of the given expectedType.
  • eventProcessors
    Obtains all registered event processors. This method is to be called after Event Processor Registry
  • eventProcessorByProcessingGroup
    Returns the Event Processor by the given processingGroup, if present and of the given expectedType.
  • registerSubscribingEventProcessor
    Register a subscribing event processor with given name that subscribes to the given messageSource. T
  • <init>
  • configureErrorHandler
    Configures the default org.axonframework.eventhandling.ErrorHandler for any org.axonframework.eventh
  • configureMessageMonitor
    Configures the factory to create the Message Monitor for the EventProcessor of the given name. This
  • configureRollbackConfiguration
    Configures a RollbackConfiguration for the EventProcessor of the given name. This overrides the defa
  • configureTransactionManager
    Configures a TransactionManager for the EventProcessor of the given name. This overrides the default
  • getErrorHandler
  • getMessageMonitor
  • getRollbackConfiguration
  • getMessageMonitor,
  • getRollbackConfiguration,
  • getTransactionManager,
  • listenerInvocationErrorHandler,
  • processorNameForProcessingGroup,
  • registerEventProcessor,
  • registerEventProcessorFactory,
  • registerHandlerInterceptor,
  • registerHandlerInvoker

Popular in Java

  • Making http requests using okhttp
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getContentResolver (Context)
  • startActivity (Activity)
  • Kernel (java.awt.image)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now