Package com.babelqueue
Interface PolyglotMessage
public interface PolyglotMessage
A message that can be produced as a polyglot envelope. Implement it on your own
classes so
EnvelopeCodec.fromMessage(com.babelqueue.PolyglotMessage) can build the canonical envelope
without ever leaking a language-specific class name onto the wire.-
Method Summary
-
Method Details
-
getBabelUrn
String getBabelUrn()The stable URN that identifies this message across languages. -
toPayload
The pure-JSON payload (no class instances).
-