Interface MessageTransformer<FromT,ToT> (1.13.2)

public interface MessageTransformer<FromT,ToT>

A MessageTransformer details how to transform a message of one type to another. It is likely that either FromT or ToT will be a Message on publish and SequencedMessage on subscribe.

Type Parameters

NameDescription
FromT
ToT

Methods

transform(FromT from)

public abstract ToT transform(FromT from)

Transform one message type to another.

Parameter
NameDescription
fromFromT
Returns
TypeDescription
ToT
Exceptions
TypeDescription
ApiException