@Configuration @EnableBatchProcessing @EnableBatchIntegration @Import(value={DataSourceConfiguration.class,BrokerConfiguration.class}) public class WorkerConfiguration extends java.lang.Object
Constructor and Description |
---|
WorkerConfiguration(RemotePartitioningWorkerStepBuilderFactory workerStepBuilderFactory) |
Modifier and Type | Method and Description |
---|---|
org.springframework.integration.dsl.IntegrationFlow |
inboundFlow(org.apache.activemq.ActiveMQConnectionFactory connectionFactory) |
org.springframework.integration.channel.DirectChannel |
requests() |
Tasklet |
tasklet(java.lang.String partition) |
Step |
workerStep() |
public WorkerConfiguration(RemotePartitioningWorkerStepBuilderFactory workerStepBuilderFactory)
@Bean public org.springframework.integration.channel.DirectChannel requests()
@Bean public org.springframework.integration.dsl.IntegrationFlow inboundFlow(org.apache.activemq.ActiveMQConnectionFactory connectionFactory)
@Bean public Step workerStep()
@Bean @StepScope public Tasklet tasklet(@Value(value="#{stepExecutionContext[\'partition\']}") java.lang.String partition)