put_message/5 is an Erlang function exported by "imq" module. Puts a new message into a queue. By selecting control fields you can redefine the data type and other characteristics of the message. The following message control fields are available: •{message_format, string()} - Defaults to ?IMQ_MQFMT_STRING •{message_type, string()} - Defaults to ?IMQ_MQMT_DATAGRAM •{message_id, binary()} •{message_group, binary()} •{message_correlation, binary()} •{message_datetime, string()} - the value should be provided in ISO8601 date and time format. •{message_expiry, integer()} - expire time calculated in milliseconds from the registration time stamp of the message. •{message_persistence, integer()} •{message_priority, integer()} •{message_sequence, integer()} •{message_charset, integer()} •{message_encoding, integer()} |
|
|