Class RmiInboundGateway

java.lang.Object
org.springframework.integration.context.IntegrationObjectSupport
org.springframework.integration.endpoint.AbstractEndpoint
org.springframework.integration.gateway.MessagingGatewaySupport
org.springframework.integration.rmi.RmiInboundGateway
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.BeanNameAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.Lifecycle, org.springframework.context.Phased, org.springframework.context.SmartLifecycle, org.springframework.integration.context.ExpressionCapable, org.springframework.integration.gateway.RequestReplyExchanger, org.springframework.integration.IntegrationPattern, org.springframework.integration.support.context.NamedComponent, org.springframework.integration.support.management.IntegrationInboundManagement, org.springframework.integration.support.management.IntegrationManagement, org.springframework.integration.support.management.ManageableLifecycle, org.springframework.integration.support.management.ManageableSmartLifecycle, org.springframework.integration.support.management.TrackableComponent

@Deprecated
public class RmiInboundGateway
extends org.springframework.integration.gateway.MessagingGatewaySupport
implements org.springframework.integration.gateway.RequestReplyExchanger
Deprecated.
since 5.4 with no replacement.
An inbound Messaging Gateway for RMI-based remoting.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.springframework.integration.support.management.IntegrationManagement

    org.springframework.integration.support.management.IntegrationManagement.ManagementOverrides
  • Field Summary

    Fields 
    Modifier and Type Field Description
    static java.lang.String SERVICE_NAME_PREFIX
    Deprecated.
     

    Fields inherited from class org.springframework.integration.gateway.MessagingGatewaySupport

    messagingTemplate

    Fields inherited from class org.springframework.integration.endpoint.AbstractEndpoint

    lifecycleCondition, lifecycleLock

    Fields inherited from class org.springframework.integration.context.IntegrationObjectSupport

    EXPRESSION_PARSER, logger

    Fields inherited from interface org.springframework.integration.support.management.IntegrationManagement

    METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME

    Fields inherited from interface org.springframework.context.SmartLifecycle

    DEFAULT_PHASE
  • Constructor Summary

    Constructors 
    Constructor Description
    RmiInboundGateway()
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    void destroy()
    Deprecated.
     
    org.springframework.messaging.Message<?> exchange​(org.springframework.messaging.Message<?> message)
    Deprecated.
     
    java.lang.String getComponentType()
    Deprecated.
     
    protected void onInit()
    Deprecated.
     
    void setExpectReply​(boolean expectReply)
    Deprecated.
    Specify whether the gateway should be expected to return a reply.
    void setRegistryHost​(java.lang.String registryHost)
    Deprecated.
     
    void setRegistryPort​(int registryPort)
    Deprecated.
     
    void setRemoteInvocationExecutor​(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
    Deprecated.
     
    void setRequestChannel​(org.springframework.messaging.MessageChannel requestChannel)
    Deprecated.
    Specify the request channel where messages will be sent.
    void setRequestChannelName​(java.lang.String requestChannelName)
    Deprecated.
     

    Methods inherited from class org.springframework.integration.gateway.MessagingGatewaySupport

    buildErrorMessage, buildSendTimer, doStart, doStop, getErrorChannel, getErrorMessageAttributes, getIntegrationPatternType, getManagedName, getManagedType, getOverrides, getReplyChannel, getRequestChannel, isLoggingEnabled, receive, receive, receiveMessage, receiveMessage, registerMetricsCaptor, registerReplyMessageCorrelatorIfNecessary, send, sendAndReceive, sendAndReceiveMessage, sendAndReceiveMessageReactive, sendTimer, setErrorChannel, setErrorChannelName, setErrorMessageStrategy, setErrorOnTimeout, setLoggingEnabled, setManagedName, setManagedType, setReplyChannel, setReplyChannelName, setReplyMapper, setReplyTimeout, setRequestMapper, setRequestTimeout, setShouldTrack

    Methods inherited from class org.springframework.integration.endpoint.AbstractEndpoint

    doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop

    Methods inherited from class org.springframework.integration.context.IntegrationObjectSupport

    afterPropertiesSet, extractTypeIfPossible, generateId, getApplicationContext, getApplicationContextId, getBeanDescription, getBeanFactory, getBeanName, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, isInitialized, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.integration.support.management.IntegrationManagement

    getThisAs

    Methods inherited from interface org.springframework.integration.support.context.NamedComponent

    getBeanName, getComponentName
  • Field Details

  • Constructor Details

  • Method Details

    • setRequestChannel

      public void setRequestChannel​(org.springframework.messaging.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 org.springframework.integration.gateway.MessagingGatewaySupport
    • setRequestChannelName

      public void setRequestChannelName​(java.lang.String requestChannelName)
      Deprecated.
      Overrides:
      setRequestChannelName in class org.springframework.integration.gateway.MessagingGatewaySupport
    • 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​(java.lang.String registryHost)
      Deprecated.
    • setRegistryPort

      public void setRegistryPort​(int registryPort)
      Deprecated.
    • setRemoteInvocationExecutor

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

      public java.lang.String getComponentType()
      Deprecated.
      Specified by:
      getComponentType in interface org.springframework.integration.support.context.NamedComponent
      Overrides:
      getComponentType in class org.springframework.integration.gateway.MessagingGatewaySupport
    • onInit

      protected void onInit()
      Deprecated.
      Overrides:
      onInit in class org.springframework.integration.gateway.MessagingGatewaySupport
    • exchange

      @Nullable public org.springframework.messaging.Message<?> exchange​(org.springframework.messaging.Message<?> message)
      Deprecated.
      Specified by:
      exchange in interface org.springframework.integration.gateway.RequestReplyExchanger
    • destroy

      public void destroy()
      Deprecated.
      Specified by:
      destroy in interface org.springframework.beans.factory.DisposableBean
      Specified by:
      destroy in interface org.springframework.integration.support.management.IntegrationManagement
      Overrides:
      destroy in class org.springframework.integration.gateway.MessagingGatewaySupport