MessageChannel

public interface MessageChannel implements AutoCloseable

A channel dedicated to exchanging the messages.

Inheritors

Functions

Link copied to clipboard
public static ChannelId channelIdFor(TypeUrl messageType)
Converts the given message type into a ChannelId.
Link copied to clipboard
public abstract ChannelId id()
Obtains the channel identifier.
Link copied to clipboard
public abstract boolean isStale()
Allows to understand whether this channel is stale and can be closed.
Link copied to clipboard
public TypeUrl targetType()
Obtains the type of the messages transferred through this channel.

Inherited functions

Link copied to clipboard
public abstract void close()