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

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

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

origin: org.axonframework/axon-core

/**
 * Register a subscribing event processor with given {@code name} that subscribes to the Event Bus.
 *
 * @param name The name of the Event Processor
 * @return event processing configuration for chaining purposes
 */
public EventProcessingConfiguration registerSubscribingEventProcessor(String name) {
  return registerSubscribingEventProcessor(name, Configuration::eventBus);
}
origin: pivotalsoftware/ESarch

@Autowired
public void config(EventProcessingConfiguration epConfig,
          @Qualifier("trade-events") SubscribableMessageSource<EventMessage<?>> tradeEvents) {
  epConfig.registerSubscribingEventProcessor("trading", c -> tradeEvents);
}
origin: org.axonframework/axon-core

/**
 * Register a subscribing processor with given {@code name} that subscribes to the given {@code messageSource}.
 * This allows the use of standard Subscribing Processors that listen to another source than the Event Bus.
 *
 * @param name          The name of the Event Processor
 * @param messageSource The source the processor should read from
 * @return this EventHandlingConfiguration instance for further configuration
 * @deprecated use {@link EventProcessingConfiguration#registerSubscribingEventProcessor(String, Function)} instead
 */
@SuppressWarnings("UnusedReturnValue")
@Deprecated
public EventHandlingConfiguration registerSubscribingEventProcessor(
    String name,
    Function<Configuration, SubscribableMessageSource<? extends EventMessage<?>>> messageSource) {
  onInit.add(conf -> conf.eventProcessingConfiguration()
              .registerSubscribingEventProcessor(name, messageSource));
  return this;
}
org.axonframework.configEventProcessingConfigurationregisterSubscribingEventProcessor

Javadoc

Register a subscribing event processor with given name that subscribes to the Event Bus.

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

  • Finding current android device location
  • runOnUiThread (Activity)
  • getContentResolver (Context)
  • notifyDataSetChanged (ArrayAdapter)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Semaphore (java.util.concurrent)
    A counting semaphore. Conceptually, a semaphore maintains a set of permits. Each #acquire blocks if
  • Github Copilot alternatives
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