Class EventsAutoConfiguration

java.lang.Object
com.netflix.genie.web.spring.autoconfigure.events.EventsAutoConfiguration

@Configuration public class EventsAutoConfiguration extends Object
Configuration related to Eventing within the Genie application.
Since:
3.1.2
  • Constructor Details

    • EventsAutoConfiguration

      public EventsAutoConfiguration()
  • Method Details

    • applicationEventMulticaster

      @Bean @ConditionalOnMissingBean(GenieEventBus.class) public GenieEventBusImpl applicationEventMulticaster(@Qualifier("genieSyncTaskExecutor") org.springframework.core.task.SyncTaskExecutor syncTaskExecutor, @Qualifier("genieAsyncTaskExecutor") org.springframework.core.task.AsyncTaskExecutor asyncTaskExecutor)
      A multicast event publisher to replace the default one used by Spring via the ApplicationContext.
      Parameters:
      syncTaskExecutor - The synchronous task executor to use
      asyncTaskExecutor - The asynchronous task executor to use
      Returns:
      The application event multicaster to use