@Deprecated public class RmiInboundGateway extends MessagingGatewaySupport implements RequestReplyExchanger
IntegrationManagement.ManagementOverrides
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME_PREFIX
Deprecated.
|
messagingTemplate
lifecycleCondition, lifecycleLock
EXPRESSION_PARSER, logger
METER_PREFIX, RECEIVE_COUNTER_NAME, SEND_TIMER_NAME
DEFAULT_PHASE
Constructor and Description |
---|
RmiInboundGateway()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
destroy()
Deprecated.
|
Message<?> |
exchange(Message<?> message)
Deprecated.
|
String |
getComponentType()
Deprecated.
Subclasses may implement this method to provide component type information.
|
protected void |
onInit()
Deprecated.
Subclasses may implement this for initialization logic.
|
void |
setExpectReply(boolean expectReply)
Deprecated.
Specify whether the gateway should be expected to return a reply.
|
void |
setRegistryHost(String registryHost)
Deprecated.
|
void |
setRegistryPort(int registryPort)
Deprecated.
|
void |
setRemoteInvocationExecutor(RemoteInvocationExecutor remoteInvocationExecutor)
Deprecated.
|
void |
setRequestChannel(MessageChannel requestChannel)
Deprecated.
Specify the request channel where messages will be sent.
|
void |
setRequestChannelName(String requestChannelName)
Deprecated.
Set the request channel name.
|
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
doStop, getPhase, getRole, isActive, isAutoStartup, isRunning, setAutoStartup, setPhase, setRole, start, stop, stop
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getThisAs
getBeanName, getComponentName
public static final String SERVICE_NAME_PREFIX
public void setRequestChannel(MessageChannel requestChannel)
null
, and it must have a name.setRequestChannel
in class MessagingGatewaySupport
requestChannel
- the channel to which request messages will be sentpublic void setRequestChannelName(String requestChannelName)
MessagingGatewaySupport
setRequestChannelName
in class MessagingGatewaySupport
requestChannelName
- the channel bean name to which request messages will be sentpublic void setExpectReply(boolean expectReply)
true
'.expectReply
- true when a reply is expected.public void setRegistryHost(String registryHost)
public void setRegistryPort(int registryPort)
public void setRemoteInvocationExecutor(RemoteInvocationExecutor remoteInvocationExecutor)
public String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class MessagingGatewaySupport
protected void onInit()
IntegrationObjectSupport
onInit
in class MessagingGatewaySupport
@Nullable public Message<?> exchange(Message<?> message)
exchange
in interface RequestReplyExchanger
public void destroy()
destroy
in interface DisposableBean
destroy
in interface IntegrationManagement
destroy
in class MessagingGatewaySupport