Skip to content

Latest commit

 

History

History
14 lines (11 loc) · 455 Bytes

File metadata and controls

14 lines (11 loc) · 455 Bytes

Chain of Responsibility Pattern

  • Chain of Responsibility we pass an object along the chain and it goes until the one of the handlers deals with the request

Use Chain of Responsibility

  • More than one message handler for a message
  • The set of handlers can be dynamically defined

Benefits of the Chain of Responsibility

  • Reduced coupling
  • Dynamically manage the message handlers
Related Patterns
  • Composite
  • Tree of Responsibility