public interface Message<T extends MessageResponse> extends Serializable
Message interface represents a message the system can process. It should contain the
necessary data for the message processor to process this message. The only required property for
any message is type.| Modifier and Type | Method and Description |
|---|---|
String |
getType()
Getter for string-based message type identifier.
|
String getType()
Warning! Message type identifier should not be settable outside of this class. It should
be read-only, i.e., immutable. It's recommended that its internal declaration be marked
final.
Copyright © 2018. All rights reserved.