@Configuration(proxyBeanMethods=false) @ConditionalOnBean(value=org.springframework.cloud.dataflow.server.config.EnableDataFlowServerConfiguration.Marker.class) @ConditionalOnProperty(prefix="spring.cloud.dataflow.async", name="enabled", havingValue="true") @AutoConfigureAfter(value=org.springframework.boot.autoconfigure.task.TaskExecutionAutoConfiguration.class) @EnableAsync public class DataflowAsyncAutoConfiguration extends Object implements org.springframework.scheduling.annotation.AsyncConfigurer
TaskExecutorBuilder
to create an async executor and register it
with name DATAFLOW_ASYNC_EXECUTOR
.Modifier and Type | Field and Description |
---|---|
static String |
ASYNC_PROPS_PREFIX |
static String |
DATAFLOW_ASYNC_EXECUTOR |
Constructor and Description |
---|
DataflowAsyncAutoConfiguration(org.springframework.boot.task.TaskExecutorBuilder taskExecutorBuilder) |
Modifier and Type | Method and Description |
---|---|
Executor |
getAsyncExecutor() |
org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler |
getAsyncUncaughtExceptionHandler() |
public static final String ASYNC_PROPS_PREFIX
public static final String DATAFLOW_ASYNC_EXECUTOR
public DataflowAsyncAutoConfiguration(org.springframework.boot.task.TaskExecutorBuilder taskExecutorBuilder)
@Bean(name="dataflowAsyncExecutor") public Executor getAsyncExecutor()
getAsyncExecutor
in interface org.springframework.scheduling.annotation.AsyncConfigurer
public org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler getAsyncUncaughtExceptionHandler()
getAsyncUncaughtExceptionHandler
in interface org.springframework.scheduling.annotation.AsyncConfigurer
Copyright © 2025 Pivotal Software, Inc.. All rights reserved.