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