BATCHADM-58: fix some tests after upgrade, ignore others

This commit is contained in:
David Syer
2010-08-12 15:22:10 +00:00
committed by Michael Minella
parent 8286facc9d
commit 3c88bea0f1
7 changed files with 59 additions and 29 deletions

View File

@@ -12,6 +12,7 @@ import org.springframework.batch.core.repository.JobRepository;
import org.springframework.integration.Message;
import org.springframework.integration.annotation.Aggregator;
import org.springframework.integration.annotation.MessageEndpoint;
import org.springframework.integration.annotation.Payloads;
import org.springframework.integration.core.MessageBuilder;
import org.springframework.integration.core.MessageChannel;
import org.springframework.integration.core.MessagingOperations;
@@ -105,7 +106,7 @@ public class MessageChannelPartitionHandler implements PartitionHandler {
* @return the list as it was passed in
*/
@Aggregator(sendPartialResultsOnExpiry = true)
public List<?> aggregate(List<?> messages) {
public List<?> aggregate(@Payloads List<?> messages) {
return messages;
}