Freddy.Core.Bind (freddy v0.17.2)
Queue-Exchange or Exchange-Exchange binding configiration
Options
:routing_key
- Specifies the routing key for the binding. The routing key is used for routing messages depending on the exchange configuration. Not all exchanges use a routing key - refer to the specific exchange documentation. Default is"#"
.:nowait
- If set, the server will not respond to the method and client will not wait for a reply. Default isfalse
.:arguments
- A set of arguments for the binding. The syntax and semantics of these arguments depends on the exchange class.
Example
iex> %Freddy.Core.Bind{routing_key: "a_key"}
Link to this section Summary
Functions
Create binding configuration from keyword list or Freddy.Core.Bind
structure.
Link to this section Types
Specs
Link to this section Functions
Link to this function
new(bind)
Specs
Create binding configuration from keyword list or Freddy.Core.Bind
structure.