From d7061e873029044c01ace36327613ca8fd5c6451 Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Tue, 9 Mar 2010 20:05:32 +0000 Subject: [PATCH] INT-975 AbstractReplyProducingMessageHandler now implements the MessageProducer interface. --- .../handler/AbstractReplyProducingMessageHandler.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/org.springframework.integration/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java b/org.springframework.integration/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java index 3df75feddb..9cf5804ffa 100644 --- a/org.springframework.integration/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.java +++ b/org.springframework.integration/src/main/java/org/springframework/integration/handler/AbstractReplyProducingMessageHandler.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. @@ -24,6 +24,7 @@ import org.springframework.integration.channel.MessageChannelTemplate; 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.message.MessageBuilder; import org.springframework.integration.message.MessageDeliveryException; import org.springframework.integration.message.MessageHandlingException; @@ -35,7 +36,8 @@ import org.springframework.util.Assert; * @author Mark Fisher * @author Iwein Fuld */ -public abstract class AbstractReplyProducingMessageHandler extends AbstractMessageHandler implements BeanFactoryAware { +public abstract class AbstractReplyProducingMessageHandler extends AbstractMessageHandler + implements MessageProducer, BeanFactoryAware { public static final long DEFAULT_SEND_TIMEOUT = 1000;