AMQPX v1.0.0 AMQPX.Publisher.Storage behaviour View Source

Link to this section Summary

Link to this section Callbacks

Link to this callback confirm(integer, boolean, any) View Source
confirm(integer(), boolean(), any()) :: any()
Link to this callback init(opts) View Source
init(opts :: any()) :: any()
Link to this callback pending(any) View Source
pending(any()) :: [
  %AMQPX.Publisher.Record{
    exchange: term(),
    options: term(),
    payload: term(),
    publish_seqno: term(),
    ref: term(),
    routing_key: term()
  }
]
Link to this callback store(integer, %, any) View Source
store(
  integer(),
  %AMQPX.Publisher.Record{
    exchange: term(),
    options: term(),
    payload: term(),
    publish_seqno: term(),
    ref: term(),
    routing_key: term()
  },
  any()
) :: any()