What is the supplier-managed policy?

Bruce Martin

An event channel is a shared resource used by the suppliers and consumers of the events. This leads to questions of management of the resource. For example, how is the channel created in the first place? How is the channel found? How and when is the channel destroyed?

A common design pattern for managing event channels is the supplier-managed policy. This pattern applies to uses of the event service in which a channel has a single supplier but may have multiple consumers. In this case, the supplier creates the channel, offers the channel to consumers via an operation of its interface and destroys the channel when it no longer supplies events.