From 2c572d477e15c657500e98ec32c9460f929fad0e Mon Sep 17 00:00:00 2001 From: Mark Fisher Date: Fri, 12 Nov 2010 18:03:30 -0500 Subject: [PATCH] deprected AbstractRemotingOutboundGateway and RemotingInboundGatewaySupport (httpinvoker is deprecated already, this code will be limited to RMI only as of 2.1) --- .../integration/gateway/AbstractRemotingOutboundGateway.java | 3 +++ .../integration/gateway/RemotingInboundGatewaySupport.java | 3 +++ 2 files changed, 6 insertions(+) diff --git a/spring-integration-core/src/main/java/org/springframework/integration/gateway/AbstractRemotingOutboundGateway.java b/spring-integration-core/src/main/java/org/springframework/integration/gateway/AbstractRemotingOutboundGateway.java index 9d0bf095b9..1efd3f5464 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/gateway/AbstractRemotingOutboundGateway.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/gateway/AbstractRemotingOutboundGateway.java @@ -29,7 +29,10 @@ import org.springframework.remoting.RemoteAccessException; * A base class for outbound URL-based Messaging Gateways. * * @author Mark Fisher + * + * @deprecated as of 2.0. Will be removed in 2.1. */ +@Deprecated public abstract class AbstractRemotingOutboundGateway extends AbstractReplyProducingMessageHandler { private final RequestReplyExchanger proxy; diff --git a/spring-integration-core/src/main/java/org/springframework/integration/gateway/RemotingInboundGatewaySupport.java b/spring-integration-core/src/main/java/org/springframework/integration/gateway/RemotingInboundGatewaySupport.java index 8dc7af8632..933ae5a69d 100644 --- a/spring-integration-core/src/main/java/org/springframework/integration/gateway/RemotingInboundGatewaySupport.java +++ b/spring-integration-core/src/main/java/org/springframework/integration/gateway/RemotingInboundGatewaySupport.java @@ -22,7 +22,10 @@ import org.springframework.integration.Message; * Support class for inbound Messaging Gateways. * * @author Mark Fisher + * + * @deprecated as of 2.0. Will be removed in 2.1. */ +@Deprecated public abstract class RemotingInboundGatewaySupport extends MessagingGatewaySupport implements RequestReplyExchanger { private volatile boolean expectReply = true;