Class EventsAutoConfiguration
java.lang.Object
com.netflix.genie.web.spring.autoconfigure.events.EventsAutoConfiguration
Configuration related to Eventing within the Genie application.
- Since:
- 3.1.2
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapplicationEventMulticaster(org.springframework.core.task.SyncTaskExecutor syncTaskExecutor, org.springframework.core.task.AsyncTaskExecutor asyncTaskExecutor) A multicast event publisher to replace the default one used by Spring via the ApplicationContext.
-
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 useasyncTaskExecutor- The asynchronous task executor to use- Returns:
- The application event multicaster to use
-