StepFlow.Amqp.CommonEmitter (StepFlow v0.2.5) View Source
A common emitter to send job orders to workers.
Link to this section Summary
Link to this section Functions
Publish a message.
Example:
StepFlow.Amqp.CommonEmitter.publish_json("my_rabbit_mq_queue", "{\"key\": \"value\"}")
Publish a message using JSON serialization before send it.
Example:
StepFlow.Amqp.CommonEmitter.publish_json("my_rabbit_mq_queue", 0, %{key: "value"})