publish

public abstract Ack publish(Any id, ExternalMessage message)

Publishes a given ExternalMessage to the channel under a given ID.

Return

an acknowledgment of message publishing

Parameters

id

an ID of the message packed into Any.

message

the message to publish

See also

Ack