Renamed the MessageHandler interface for remote proxies to RemoteMessageHandler.
This commit is contained in:
@@ -33,7 +33,7 @@ import org.springframework.remoting.RemoteAccessException;
|
||||
*/
|
||||
public abstract class AbstractRemotingOutboundGateway extends AbstractReplyProducingMessageHandler {
|
||||
|
||||
private final MessageHandler handlerProxy;
|
||||
private final RemoteMessageHandler handlerProxy;
|
||||
|
||||
|
||||
public AbstractRemotingOutboundGateway(String url) {
|
||||
@@ -48,7 +48,7 @@ public abstract class AbstractRemotingOutboundGateway extends AbstractReplyProdu
|
||||
/**
|
||||
* Subclasses must implement this method. It will be invoked from the constructor.
|
||||
*/
|
||||
protected abstract MessageHandler createHandlerProxy(String url);
|
||||
protected abstract RemoteMessageHandler createHandlerProxy(String url);
|
||||
|
||||
|
||||
@Override
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.integration.core.Message;
|
||||
*
|
||||
* @author Mark Fisher
|
||||
*/
|
||||
public interface MessageHandler {
|
||||
public interface RemoteMessageHandler {
|
||||
|
||||
Message<?> handle(Message<?> message);
|
||||
|
||||
@@ -24,7 +24,7 @@ import org.springframework.integration.gateway.SimpleMessagingGateway;
|
||||
*
|
||||
* @author Mark Fisher
|
||||
*/
|
||||
public abstract class RemotingInboundGatewaySupport extends SimpleMessagingGateway implements MessageHandler {
|
||||
public abstract class RemotingInboundGatewaySupport extends SimpleMessagingGateway implements RemoteMessageHandler {
|
||||
|
||||
private volatile boolean expectReply = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user