Skip to content

Dead letter handling #8

@bolshakov

Description

@bolshakov

Currently, the only way to signal to the framework that the message was not handled is by raising a NoMatchingPattern exception:

def receive(msg)
  case msg
  in String
   # do the thing
  end
end

in this example, if an actor receives anything other than a string, the exception is thrown. However, when the receivemethod is called, it's not possible to say whether the error was thrown because the message is unhandled or due to an error in the handling logic.

  • Implement dead letter routing
  • Make it possible to explicitly mark a message as unhandled
  • Handle NoMatchingPattern a more reliable way
  • Messages sent to stopped actor go to dead letter queue
  • Messages received after Terminate go to dead letter queue
  • [ ]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions