Interface IntegrationFlowContext.IntegrationFlowRegistration
- All Superinterfaces:
- Aware,- BeanFactoryAware
- Enclosing interface:
- IntegrationFlowContext
- Since:
- 5.1
- Author:
- Gary Russell
- 
Method SummaryModifier and TypeMethodDescriptionvoiddestroy()Destroy theIntegrationFlowbean (as well as all its dependent beans) and clean up all the local cache for it.getId()Return the flow id.Return the flow input channel.Return the flow.Obtain aMessagingTemplatewith its default destination set to the input channel of theIntegrationFlow.voidstart()Start the registration.voidstop()Stop the registration.Methods inherited from interface org.springframework.beans.factory.BeanFactoryAwaresetBeanFactory
- 
Method Details- 
getId
- 
getIntegrationFlow
- 
getInputChannel
- 
getMessagingTemplateMessagingTemplate getMessagingTemplate()Obtain aMessagingTemplatewith its default destination set to the input channel of theIntegrationFlow.Any IntegrationFlowbean (not only manually registered) can be used for this method.If IntegrationFlowdoesn't start with theMessageChannel, theIllegalStateExceptionis thrown.- Returns:
- the MessagingTemplateinstance
 
- 
startvoid start()Start the registration.
- 
stopvoid stop()Stop the registration.
- 
destroyvoid destroy()Destroy theIntegrationFlowbean (as well as all its dependent beans) and clean up all the local cache for it.
 
-