message() = #{routing_key := binary(), exchange := binary(), payload := binary(), mandatory := boolean(), type := binary(), headers := list(), priority := integer(), expiration := integer(), timestamp := integer(), content_type := binary(), content_encoding := binary(), delivery_mode := integer(), correlation_id := binary(), cluster_id := binary(), message_id := binary(), user_id := binary(), app_id := binary(), reply_to := binary(), execution := kyu_publisher:execution(), timeout := infinity | integer()}
declare/2 | Makes one or more declarations on the amqp channel. |
publish/2 | Equivalent to kyu_publisher:publish(Publisher, Message). |
declare(Channel::kyu_channel:name(), Command::list() | tuple()) -> ok
Makes one or more declarations on the amqp channel.
publish(Publisher::kyu_publisher:name(), Message::message()) -> ok | {error, binary()}
Equivalent to kyu_publisher:publish(Publisher, Message).
Generated by EDoc