Skip to content

Latest commit

 

History

History

chain.of.responsibility.pattern

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