Conduit v0.7.0 Conduit.Plug.DeadLetter
Publishes messages that were nacked or raised an exception to a dead letter destination.
The following options are required:
broker
- The broker to publish the message with.publish_to
- The place to publish the message.
In order for this to work, you must also define an outgoing publish with the same
name as the publish_to
option in your broker.
publish :error, to: "my_app.error"
Examples
plug Conduit.Plug.DeadLetter, broker: MyApp.Broker, publish_to: :error
Summary
Functions
Publishes messages that were nacked or raised an exception to a dead letter destination
Callback implementation for Conduit.Plug.init/1
Callback implementation for Conduit.Plug.run/2
Functions
Publishes messages that were nacked or raised an exception to a dead letter destination.
Callback implementation for Conduit.Plug.init/1
.
Callback implementation for Conduit.Plug.run/2
.