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(String name)
Converts the channel name back to a
MessageChannel (if it is
registered). |
Object |
channelToChannelName(Object channel)
Converts the channel to a name (String).
|
Object |
channelToChannelName(Object channel,
long timeToLive)
Converts the channel to a name (String).
|
void |
runReaper()
Cancel the scheduled reap task and run immediately; then reschedule.
|
int |
size() |
Object channelToChannelName(Object channel)
MessageChannel
, it is returned unchanged.channel
- The channel.Object channelToChannelName(Object channel, long timeToLive)
MessageChannel
, it is returned unchanged.channel
- The channel.timeToLive
- How long (ms) at a minimum, the channel mapping should
remain in the registry.MessageChannel channelNameToChannel(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()