pma/amqp

Send a message including type

Closed this issue · 1 comments

Hi,

I need to send a message setting the type field.
How can I do it. Can I use the BasicPublish ?

Thanks in advance

ono commented

Hi @mvbaffa. Thanks for using the library.

You might have already figured but yes you can set message type with Basic.publish/5. Please check the API documentation for the detail: https://hexdocs.pm/amqp/0.2.0-pre.1/AMQP.Basic.html#publish/5