Interface JsonMessage
-
- All Superinterfaces:
Message
public interface JsonMessage extends Message
Interface for sending JSON messages.A new
JsonMessage
can be instantiated by callingMessageFactory.createJsonImageMessage(String, String)
orMessageFactory.createJsonPatchMessage(String, String)
(MessageFactory is available viaPublisher.getMessageFactory()
).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getJson()
Gets the JSON string of the message.boolean
isPatch()
Is this JSON message a patch of existing data.-
Methods inherited from interface com.caplin.datasource.messaging.Message
getMessageType, getSubject, isImage, setImage
-
-