Rambla v0.5.2 Rambla.Amqp View Source
Default connection implementation for 🐰 Rabbit.
publish/2
accepts the following options:
exchange
[binary()
, mandatory] the exchange to publish toqueue
[binary()
, optional] if passed, the queue will be created and bound to the exchange; it’s slowing down publishing, but safer for the cold RebbatMQ installationdeclare?
[boolean()
, optional, default:true
] if false is passed, the exchange would not be declared; use it if the exchange already surely exists to speed up the publishingrouting_key
[binary()
, optional, default:""
] if passed, used as a routing keyoptions
[keyword()
, optional, default:[]
] the options to be passe as is to call toAMQP.Basic.publish/5