messageChannelPartitionHandler.setJobExplorer(jobExplorer); messageChannelPartitionHandler.setStepName("step1"); messageChannelPartitionHandler.setTimeout(1000L);
messageChannelPartitionHandler.setJobExplorer(jobExplorer); messageChannelPartitionHandler.setStepName("step1"); messageChannelPartitionHandler.setPollInterval(500L);
partitionHandler.setJobExplorer(this.jobExplorer); partitionHandler.setPollInterval(this.pollInterval); partitionHandler.setTimeout(this.timeout);
@Bean public PartitionHandler partitionHandler(MessagingTemplate messagingTemplate) throws Exception { MessageChannelPartitionHandler partitionHandler = new MessageChannelPartitionHandler(); partitionHandler.setStepName("slaveStep"); partitionHandler.setGridSize(GRID_SIZE); partitionHandler.setMessagingOperations(messagingTemplate); partitionHandler.setPollInterval(5000l); partitionHandler.setJobExplorer(this.jobExplorer); partitionHandler.afterPropertiesSet(); return partitionHandler; }