Class RmiInboundGateway

All Implemented Interfaces:
Aware, BeanFactoryAware, BeanNameAware, DisposableBean, InitializingBean, ApplicationContextAware, Lifecycle, Phased, SmartLifecycle, ExpressionCapable, RequestReplyExchanger, IntegrationPattern, NamedComponent, IntegrationInboundManagement, IntegrationManagement, ManageableLifecycle, ManageableSmartLifecycle, TrackableComponent

@Deprecated public class RmiInboundGateway extends MessagingGatewaySupport implements RequestReplyExchanger
Deprecated.
since 5.4 with no replacement.
An inbound Messaging Gateway for RMI-based remoting.
Author:
Mark Fisher, Artem Bilan, Gary Russell
  • Field Details

  • Constructor Details

    • RmiInboundGateway

      public RmiInboundGateway()
      Deprecated.
  • Method Details

    • setRequestChannel

      public void setRequestChannel(MessageChannel requestChannel)
      Deprecated.
      Specify the request channel where messages will be sent. It must not be null, and it must have a name.
      Overrides:
      setRequestChannel in class MessagingGatewaySupport
      Parameters:
      requestChannel - the channel to which request messages will be sent
    • setRequestChannelName

      public void setRequestChannelName(String requestChannelName)
      Deprecated.
      Description copied from class: MessagingGatewaySupport
      Set the request channel name.
      Overrides:
      setRequestChannelName in class MessagingGatewaySupport
      Parameters:
      requestChannelName - the channel bean name to which request messages will be sent
    • setExpectReply

      public void setExpectReply(boolean expectReply)
      Deprecated.
      Specify whether the gateway should be expected to return a reply. The default is 'true'.
      Parameters:
      expectReply - true when a reply is expected.
    • setRegistryHost

      public void setRegistryHost(String registryHost)
      Deprecated.
    • setRegistryPort

      public void setRegistryPort(int registryPort)
      Deprecated.
    • setRemoteInvocationExecutor

      public void setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
      Deprecated.
    • getComponentType

      public String getComponentType()
      Deprecated.
      Description copied from class: IntegrationObjectSupport
      Subclasses may implement this method to provide component type information.
      Specified by:
      getComponentType in interface NamedComponent
      Overrides:
      getComponentType in class MessagingGatewaySupport
    • onInit

      protected void onInit()
      Deprecated.
      Description copied from class: IntegrationObjectSupport
      Subclasses may implement this for initialization logic.
      Overrides:
      onInit in class MessagingGatewaySupport
    • exchange

      @Nullable public Message<?> exchange(Message<?> message)
      Deprecated.
      Specified by:
      exchange in interface RequestReplyExchanger
    • destroy

      public void destroy()
      Deprecated.
      Specified by:
      destroy in interface DisposableBean
      Specified by:
      destroy in interface IntegrationManagement
      Overrides:
      destroy in class MessagingGatewaySupport