EventEndpoint

public interface EventEndpoint<I> implements MessageEndpoint<I, M>

An endpoint which accepts events.

Parameters

<I>

the type of target identifier

Inheritors

Functions

Link copied to clipboard
public void onDuplicate(I target, EventEnvelope envelope)
The callback invoked if the handled signal is a duplicate.

Inherited functions

Link copied to clipboard
public abstract DispatchOutcome dispatchTo(I targetId)
Dispatches the message to the target with the passed ID.
Link copied to clipboard
public abstract Repository<I, ? extends Object> repository()
Obtains the repository which manages the target entities.