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;