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
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringSERVICE_NAME_PREFIXDeprecated.Fields inherited from class org.springframework.integration.gateway.MessagingGatewaySupport
messagingTemplateFields inherited from class org.springframework.integration.endpoint.AbstractEndpoint
lifecycleCondition, lifecycleLockFields inherited from class org.springframework.integration.context.IntegrationObjectSupport
EXPRESSION_PARSER, logger -
Constructor Summary
Constructors Constructor Description RmiInboundGateway()Deprecated. -
Method Summary
Modifier and Type Method Description voiddestroy()Deprecated.org.springframework.messaging.Message<?>exchange(org.springframework.messaging.Message<?> message)Deprecated.java.lang.StringgetComponentType()Deprecated.protected voidonInit()Deprecated.voidsetExpectReply(boolean expectReply)Deprecated.Specify whether the gateway should be expected to return a reply.voidsetRegistryHost(java.lang.String registryHost)Deprecated.voidsetRegistryPort(int registryPort)Deprecated.voidsetRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)Deprecated.voidsetRequestChannel(org.springframework.messaging.MessageChannel requestChannel)Deprecated.Specify the request channel where messages will be sent.voidsetRequestChannelName(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, setShouldTrackMethods inherited from class org.springframework.integration.endpoint.AbstractEndpoint
doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stopMethods 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, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
SERVICE_NAME_PREFIX
public static final java.lang.String SERVICE_NAME_PREFIXDeprecated.- See Also:
- Constant Field Values
-
-
Constructor Details
-
RmiInboundGateway
public RmiInboundGateway()Deprecated.
-
-
Method Details
-
setRequestChannel
public void setRequestChannel(org.springframework.messaging.MessageChannel requestChannel)Deprecated.Specify the request channel where messages will be sent. It must not benull, and it must have a name.- Overrides:
setRequestChannelin classorg.springframework.integration.gateway.MessagingGatewaySupport
-
setRequestChannelName
public void setRequestChannelName(java.lang.String requestChannelName)Deprecated.- Overrides:
setRequestChannelNamein classorg.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:
getComponentTypein interfaceorg.springframework.integration.support.context.NamedComponent- Overrides:
getComponentTypein classorg.springframework.integration.gateway.MessagingGatewaySupport
-
onInit
protected void onInit()Deprecated.- Overrides:
onInitin classorg.springframework.integration.gateway.MessagingGatewaySupport
-
exchange
@Nullable public org.springframework.messaging.Message<?> exchange(org.springframework.messaging.Message<?> message)Deprecated.- Specified by:
exchangein interfaceorg.springframework.integration.gateway.RequestReplyExchanger
-
destroy
public void destroy()Deprecated.- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Specified by:
destroyin interfaceorg.springframework.integration.support.management.IntegrationManagement- Overrides:
destroyin classorg.springframework.integration.gateway.MessagingGatewaySupport
-