EnrichableMessageContext

public interface EnrichableMessageContext

A common interface for message contexts that hold enrichments.

Functions

Link copied to clipboard
public Optional<E> find<E extends Message>(Class<E> cls)
Link copied to clipboard
public E get<E extends Message>(Class<E> cls)
Obtains enrichment of the passed class.
Link copied to clipboard
public abstract Enrichment getEnrichment()
Obtains an instance of Enrichment from the context of the message.