public class RmiOutboundGateway extends AbstractReplyProducingMessageHandler
Modifier and Type | Class and Description |
---|---|
static interface |
RmiOutboundGateway.RmiProxyFactoryBeanConfigurer
Allows configuration of the proxy factory bean before the RMI proxy is created.
|
AbstractReplyProducingMessageHandler.RequestHandler
messagingTemplate
EXPRESSION_PARSER, logger
Constructor and Description |
---|
RmiOutboundGateway(String url)
Construct an instance with a `RequestReplyExchanger` built from the
default
RmiProxyFactoryBean . |
RmiOutboundGateway(String url,
RmiOutboundGateway.RmiProxyFactoryBeanConfigurer configurer)
Construct an instance with a `RequestReplyExchanger` built from the
default
RmiProxyFactoryBean which can be modified by the
configurer. |
Modifier and Type | Method and Description |
---|---|
String |
getComponentType()
Subclasses may implement this method to provide component type information.
|
Object |
handleRequestMessage(org.springframework.messaging.Message<?> message)
Subclasses must implement this method to handle the request Message.
|
void |
setReplyChannel(org.springframework.messaging.MessageChannel replyChannel) |
doInit, doInvokeAdvisedRequestHandler, getRequiresReply, handleMessageInternal, hasAdviceChain, onInit, setAdviceChain, setBeanClassLoader, setRequiresReply
addNotPropagatedHeaders, createOutputMessage, getNotPropagatedHeaders, getOutputChannel, isAsync, produceOutput, resolveErrorChannel, sendErrorMessage, sendOutput, sendOutputs, setAsync, setNotPropagatedHeaders, setOutputChannel, setOutputChannelName, setSendTimeout, shouldCopyRequestHeaders, shouldSplitOutput
configureMetrics, getActiveCount, getActiveCountLong, getDuration, getErrorCount, getErrorCountLong, getHandleCount, getHandleCountLong, getManagedName, getManagedType, getMaxDuration, getMeanDuration, getMinDuration, getOrder, getStandardDeviationDuration, handleMessage, isCountsEnabled, isLoggingEnabled, isStatsEnabled, reset, setCountsEnabled, setLoggingEnabled, setManagedName, setManagedType, setOrder, setShouldTrack, setStatsEnabled
afterPropertiesSet, extractTypeIfPossible, getApplicationContext, getApplicationContextId, getBeanFactory, getChannelResolver, getComponentName, getConversionService, getExpression, getIntegrationProperties, getIntegrationProperty, getMessageBuilderFactory, getTaskScheduler, setApplicationContext, setBeanFactory, setBeanName, setChannelResolver, setComponentName, setConversionService, setMessageBuilderFactory, setPrimaryExpression, setTaskScheduler, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getComponentName
public RmiOutboundGateway(String url)
RmiProxyFactoryBean
.url
- the url.public RmiOutboundGateway(String url, RmiOutboundGateway.RmiProxyFactoryBeanConfigurer configurer)
RmiProxyFactoryBean
which can be modified by the
configurer.url
- the url.configurer
- the RmiOutboundGateway.RmiProxyFactoryBeanConfigurer
.public void setReplyChannel(org.springframework.messaging.MessageChannel replyChannel)
public String getComponentType()
IntegrationObjectSupport
getComponentType
in interface NamedComponent
getComponentType
in class AbstractMessageHandler
public final Object handleRequestMessage(org.springframework.messaging.Message<?> message)
AbstractReplyProducingMessageHandler
handleRequestMessage
in class AbstractReplyProducingMessageHandler
message
- The request message.null
.