public interface HeaderChannelRegistry
BeanFactoryChannelResolver
to find the channel by name in
the event that the flow serialized the message at some point.Modifier and Type | Method and Description |
---|---|
MessageChannel |
channelNameToChannel(java.lang.String name)
Converts the channel name back to a
MessageChannel (if it is
registered). |
java.lang.Object |
channelToChannelName(java.lang.Object channel)
Converts the channel to a name (String).
|
void |
runReaper()
Cancel the scheduled reap task and run immediately; then reschedule.
|
int |
size() |
java.lang.Object channelToChannelName(java.lang.Object channel)
MessageChannel
, it is returned unchanged.channel
- The channel.MessageChannel channelNameToChannel(java.lang.String name)
MessageChannel
(if it is
registered).name
- The name of the channel.@ManagedAttribute int size()
@ManagedOperation(description="Cancel the scheduled reap task and run immediately; then reschedule.") void runReaper()