Publisher

public interface Publisher implements MessageChannel

Publisher of messages of a specific type.

There can be many publishers per message type.

Inheritors

Functions

Link copied to clipboard
public abstract Ack publish(Any id, ExternalMessage message)
Publishes a given ExternalMessage to the channel under a given ID.

Inherited 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 void close()
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.