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

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

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

origin: org.axonframework/axon-core

@Override
public void initialize(Configuration config) {
  this.config = config;
  eventProcessingConfiguration().registerHandlerInvoker(processorInfo.getProcessingGroup(), c -> sagaManager.get());
  eventProcessingConfiguration().registerTokenStore(processorInfo.getProcessingGroup(), c -> tokenStore.get());
  eventProcessingConfiguration().configureMessageMonitor(processorInfo.getProcessingGroup(),
                           c -> (MessageMonitor<Message<?>>) messageMonitor.get());
  eventProcessingConfiguration().configureErrorHandler(processorInfo.getProcessingGroup(), c -> errorHandler.get());
  eventProcessingConfiguration().configureRollbackConfiguration(processorInfo.getProcessingGroup(),
                              c -> rollbackConfiguration.get());
  eventProcessingConfiguration().configureTransactionManager(processorInfo.getProcessingGroup(), c -> transactionManager.get());
  handlerInterceptors.forEach(i -> eventProcessingConfiguration()
      .registerHandlerInterceptor(processorInfo.getProcessingGroup(), i));
  if (processorInfo.isCreateNewProcessor()) {
    switch (processorInfo.getType()) {
      case TRACKING:
        eventProcessingConfiguration().registerEventProcessor(processorInfo.getProcessingGroup(),
                                   this::buildTrackingEventProcessor);
        break;
      case SUBSCRIBING:
        eventProcessingConfiguration().registerEventProcessor(processorInfo.getProcessingGroup(),
                                   this::buildSubscribingEventProcessor);
        break;
      default:
        throw new IllegalStateException("Unsupported event processor type.");
    }
  }
}
org.axonframework.configEventProcessingConfigurationconfigureRollbackConfiguration

Javadoc

Configures a RollbackConfiguration for the EventProcessor of the given name. This overrides the default RollbackConfiguration configured through the Configurer.

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>
  • buildEventProcessor
  • 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
  • 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

  • Start an intent from android
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Queue (java.util)
    A collection designed for holding elements prior to processing. Besides basic java.util.Collection o
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • Top PhpStorm plugins
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