public class RmiInboundGateway
extends org.springframework.integration.gateway.MessagingGatewaySupport
implements org.springframework.integration.gateway.RequestReplyExchanger, org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SERVICE_NAME_PREFIX |
Constructor and Description |
---|
RmiInboundGateway() |
Modifier and Type | Method and Description |
---|---|
org.springframework.messaging.Message<?> |
exchange(org.springframework.messaging.Message<?> message) |
java.lang.String |
getComponentType() |
protected void |
onInit() |
void |
setExpectReply(boolean expectReply)
Specify whether the gateway should be expected to return a reply.
|
void |
setRegistryHost(java.lang.String registryHost) |
void |
setRegistryPort(int registryPort) |
void |
setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor) |
void |
setRequestChannel(org.springframework.messaging.MessageChannel requestChannel)
Specify the request channel where messages will be sent.
|
doStart, doStop, receive, send, sendAndReceive, sendAndReceiveMessage, setErrorChannel, setErrorChannelName, setReplyChannel, setReplyChannelName, setReplyMapper, setReplyTimeout, setRequestChannelName, setRequestMapper, setRequestTimeout, setShouldTrack
doStop, getPhase, isAutoStartup, isRunning, setAutoStartup, setPhase, setTaskScheduler, start, stop, stop
afterPropertiesSet, getApplicationContext, getApplicationContextId, getBeanFactory, getComponentName, getConversionService, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setComponentName, setConversionService, setMessageBuilderFactory, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final java.lang.String SERVICE_NAME_PREFIX
public void setRequestChannel(org.springframework.messaging.MessageChannel requestChannel)
null
, and it must have a name.setRequestChannel
in class org.springframework.integration.gateway.MessagingGatewaySupport
public void setExpectReply(boolean expectReply)
true
'.expectReply
- true when a reply is expected.public void setRegistryHost(java.lang.String registryHost)
public void setRegistryPort(int registryPort)
public void setRemoteInvocationExecutor(org.springframework.remoting.support.RemoteInvocationExecutor remoteInvocationExecutor)
public java.lang.String getComponentType()
getComponentType
in interface org.springframework.integration.support.context.NamedComponent
getComponentType
in class org.springframework.integration.gateway.MessagingGatewaySupport
protected void onInit() throws java.lang.Exception
onInit
in class org.springframework.integration.gateway.MessagingGatewaySupport
java.lang.Exception
public org.springframework.messaging.Message<?> exchange(org.springframework.messaging.Message<?> message)
exchange
in interface org.springframework.integration.gateway.RequestReplyExchanger