Route

public interface Route<M extends Message, C extends Message, R> implements BiFunction<T, U, R>, Serializable

Obtains one or more entity identifiers based on a message and its context.

Parameters

<M>

the type of messages to get IDs from

<C>

the type of message context

<R>

the type of the route function result

Inheritors

Functions

Link copied to clipboard
public abstract R apply(M message, C context)
Obtains entity ID(s) from the passed message and its context.

Inherited functions

Link copied to clipboard
public BiFunction<T, U, V> andThen<V>(Function<? extends Object, ? extends V> after)