The TaskConfigurer is a strategy interface allowing for users to customize the way
components of Spring Cloud Task are configured. By default, we provide the
DefaultTaskConfigurer that provides logical defaults (Map based in memory components
useful for development if no DataSource is provided and JDBC based components if there
is a DataSource available.
The TaskConfigurer allows the configuration of three main components:
| Component | Description | Default (provided by DefaultTaskConfigurer) |
|---|---|---|
| The implementation of the |
|
| The implementation of the |
|
| A transaction manager to be used when executing updates for tasks. |
|
Customizing any of the above is accomplished via a custom implementation of the
TaskConfigurer interface. Typically, extending the DefaultTaskConfigurer (which is
provided out of the box if a TaskConfigurer is not found) and overriding the
required getter is sufficient, however, implementing your own from scratch may be
required.