Elixir MOM v0.5.3 MOM.Message
Main Message struct as send through channels.
It has:
id
— An unique identifier, only used if requires to associate requests and responsespayload
— Data send through the channelsreply_to
— If requires reply, a channel to which reply should be writtenerror
— If there is any error processing the message, this field is set, and the message sent to :deadleatter or :invalid channel.