itk_queue v0.11.4 ITKQueue.Publisher View Source

Provides methods for publishing messages.

Link to this section Summary

Functions

Publishes one or multiple messages to the given routing key

Link to this section Functions

Link to this function publish(routing_key, messages, options) View Source
publish(
  routing_key :: String.t(),
  messages :: map() | [map()],
  options :: Keyword.t()
) :: :ok

Publishes one or multiple messages to the given routing key.

Link to this function publish(routing_key, messages, headers, options) View Source
publish(
  routing_key :: String.t(),
  messages :: map() | [map()],
  headers :: ITKQueue.Headers.t(),
  options :: Keyword.t()
) :: :ok