Shuttle / Shuttle.Esb

A highly extensible service bus implementation.
http://shuttle.github.io/shuttle-esb/
BSD 3-Clause "New" or "Revised" License
95 stars 30 forks source link

- Move IsReusable on IMessageHandler to own interface #12

Closed eben-roux closed 8 years ago

eben-roux commented 8 years ago

Since the majority of handlers are stateless it is cumbersome to have to add the IsReusable property to each handler.

Rather create a separate IReusability interface that can be implemented in scenarios where the developer would like to specify whether or not the handler can be re-used.

This interface should be placed in Shuttle.Core.Infrastructure.

eben-roux commented 8 years ago

https://github.com/Shuttle/Shuttle.Core.Infrastructure/commit/445a9167b5e3d2576cc4e1489b74b419fc99fd9a