public class FlowMessageHandlerFactoryBean extends org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<FlowMessageHandler> implements org.springframework.beans.factory.InitializingBean
FlowMessageHandler
Constructor and Description |
---|
FlowMessageHandlerFactoryBean() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
protected FlowMessageHandler |
createHandler() |
void |
setErrorChannel(org.springframework.messaging.MessageChannel errorChannel) |
void |
setFlow(Flow flow) |
void |
setInputPortName(java.lang.String inputPortName) |
void |
setTimeout(long timeout) |
protected FlowMessageHandler createHandler()
createHandler
in class org.springframework.integration.config.AbstractSimpleMessageHandlerFactoryBean<FlowMessageHandler>
public void setFlow(Flow flow)
flow
- the flow handled by the FlowMessageHandlerpublic void setInputPortName(java.lang.String inputPortName)
inputPortName
- the flow input port associated with the handler. If
not set and the flow defines only one input port, that will be used by
default.public void setTimeout(long timeout)
timeout
- send timeout for the handlerpublic void setErrorChannel(org.springframework.messaging.MessageChannel errorChannel)
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
java.lang.Exception