Interface MessageTransformer<FromT,ToT> (1.13.6)

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

Name Description
FromT
ToT

Methods

transform(FromT from)

public abstract ToT transform(FromT from)

Transform one message type to another.

Parameter
Name Description
from FromT
Returns
Type Description
ToT
Exceptions
Type Description
ApiException