Message Data types

What kind of data type we have in messages. It is limited to json types ? What about passing a Date ?

You can use JSON, Xml, or a base64 encoded binary. It needs to be part of a bigger JSON. This is an example of using protobuf with Synapse.