From 7c9fc39c8c2e0295502834708fff4a8e905f9d1b Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Tue, 9 Mar 2010 20:04:17 +0000 Subject: [PATCH] INT-975 AbstractMessageBarrierHandler now implements the MessageProducer interface. --- .../aggregator/AbstractMessageBarrierHandler.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/org.springframework.integration/src/main/java/org/springframework/integration/aggregator/AbstractMessageBarrierHandler.java b/org.springframework.integration/src/main/java/org/springframework/integration/aggregator/AbstractMessageBarrierHandler.java index ca467711a7..aaef44033b 100644 --- a/org.springframework.integration/src/main/java/org/springframework/integration/aggregator/AbstractMessageBarrierHandler.java +++ b/org.springframework.integration/src/main/java/org/springframework/integration/aggregator/AbstractMessageBarrierHandler.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2009 the original author or authors. + * Copyright 2002-2010 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -35,6 +35,7 @@ import org.springframework.integration.context.IntegrationContextUtils; import org.springframework.integration.core.Message; import org.springframework.integration.core.MessageChannel; import org.springframework.integration.core.MessageHeaders; +import org.springframework.integration.core.MessageProducer; import org.springframework.integration.handler.AbstractMessageHandler; import org.springframework.integration.message.MessageBuilder; import org.springframework.integration.message.MessageDeliveryException; @@ -75,7 +76,7 @@ import org.springframework.util.Assert; * @author Marius Bogoevici */ public abstract class AbstractMessageBarrierHandler>> - extends AbstractMessageHandler implements BeanFactoryAware, InitializingBean { + extends AbstractMessageHandler implements MessageProducer, BeanFactoryAware, InitializingBean { public final static long DEFAULT_SEND_TIMEOUT = 1000;