de.otto.synapse.translator.Decoder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of synapse-core Show documentation
Show all versions of synapse-core Show documentation
A library used at otto.de to implement Spring Boot based event-sourcing microservices.
package de.otto.synapse.translator;
import de.otto.synapse.message.TextMessage;
import java.util.function.Function;
/**
* A {@code Decoder} IS-A {@code Function} that is decoding objects of Type <T> into
* {@link TextMessage TextMessages}, mostly used as an adapter to some receiver-endpoint
* infrastructure.
*
* @param the type of the source objects that are decoded into text messages.
*/
public interface Decoder extends Function {
}