public static interface IntegrationFlowContext.IntegrationFlowRegistration extends BeanFactoryAware
| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Destroy the
IntegrationFlow bean (as well as all its dependent beans)
and clean up all the local cache for it. |
String |
getId()
Return the flow id.
|
MessageChannel |
getInputChannel()
Return the flow input channel.
|
IntegrationFlow |
getIntegrationFlow()
Return the flow.
|
MessagingTemplate |
getMessagingTemplate()
Obtain a
MessagingTemplate with its default destination set to the input channel
of the IntegrationFlow. |
void |
start()
Start the registration.
|
void |
stop()
Stop the registration.
|
setBeanFactoryString getId()
IntegrationFlow getIntegrationFlow()
MessageChannel getInputChannel()
MessagingTemplate getMessagingTemplate()
MessagingTemplate with its default destination set to the input channel
of the IntegrationFlow.
Any IntegrationFlow bean (not only manually registered) can be used for this method.
If IntegrationFlow doesn't start with the MessageChannel, the
IllegalStateException is thrown.
MessagingTemplate instancevoid start()
void stop()
void destroy()
IntegrationFlow bean (as well as all its dependent beans)
and clean up all the local cache for it.