Creates a message definition.
The type of the message
Optional
The default handler for the message
A message definition
Creates a message definition.