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:
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
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.integration.support.management.IntegrationManagement
IntegrationManagement.ManagementOverrides -
Field Summary
Fields Modifier and Type Field Description static 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, loggerFields inherited from interface org.springframework.integration.support.management.IntegrationManagement
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME -
Constructor Summary
Constructors Constructor Description RmiInboundGateway()Deprecated. -
Method Summary
Modifier and Type Method Description voiddestroy()Deprecated.Message<?>exchange(Message<?> message)Deprecated.StringgetComponentType()Deprecated.Subclasses may implement this method to provide component type information.protected voidonInit()Deprecated.Subclasses may implement this for initialization logic.voidsetExpectReply(boolean expectReply)Deprecated.Specify whether the gateway should be expected to return a reply.voidsetRegistryHost(String registryHost)Deprecated.voidsetRegistryPort(int registryPort)Deprecated.voidsetRemoteInvocationExecutor(RemoteInvocationExecutor remoteInvocationExecutor)Deprecated.voidsetRequestChannel(MessageChannel requestChannel)Deprecated.Specify the request channel where messages will be sent.voidsetRequestChannelName(String requestChannelName)Deprecated.Set the request channel name.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, waitMethods inherited from interface org.springframework.integration.support.management.IntegrationManagement
getThisAsMethods inherited from interface org.springframework.integration.support.context.NamedComponent
getBeanName, getComponentName
-
Field Details
-
SERVICE_NAME_PREFIX
Deprecated.- See Also:
- Constant Field Values
-
-
Constructor Details
-
RmiInboundGateway
public RmiInboundGateway()Deprecated.
-
-
Method Details
-
setRequestChannel
Deprecated.Specify the request channel where messages will be sent. It must not benull, and it must have a name.- Overrides:
setRequestChannelin classMessagingGatewaySupport- Parameters:
requestChannel- the channel to which request messages will be sent
-
setRequestChannelName
Deprecated.Description copied from class:MessagingGatewaySupportSet the request channel name.- Overrides:
setRequestChannelNamein classMessagingGatewaySupport- 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
Deprecated. -
setRegistryPort
public void setRegistryPort(int registryPort)Deprecated. -
setRemoteInvocationExecutor
Deprecated. -
getComponentType
Deprecated.Description copied from class:IntegrationObjectSupportSubclasses may implement this method to provide component type information.- Specified by:
getComponentTypein interfaceNamedComponent- Overrides:
getComponentTypein classMessagingGatewaySupport
-
onInit
protected void onInit()Deprecated.Description copied from class:IntegrationObjectSupportSubclasses may implement this for initialization logic.- Overrides:
onInitin classMessagingGatewaySupport
-
exchange
Deprecated.- Specified by:
exchangein interfaceRequestReplyExchanger
-
destroy
public void destroy()Deprecated.- Specified by:
destroyin interfaceDisposableBean- Specified by:
destroyin interfaceIntegrationManagement- Overrides:
destroyin classMessagingGatewaySupport
-