Enterprise Integration Patterns
Conversation Patterns
HOME PATTERNS RAMBLINGS ARTICLES TALKS DOWNLOAD BOOKS CONTACT
Conversation Patterns
Introduction to Resource ManagementConversation Patterns » Resource Management

Some conversations do not have a natural termination point. For example, Subscribe-Notify continues indefinitely, unless the subscriber or the provider explicitly terminate it. Many other conversations require providers to allocate resources, such as storage, connections, or money for another conversation participant, such as a service consumer. In a loosely coupled setting, the provider should not hold these resources indefinitely, but should make sure the consumer is still present and does still require the resources. Otherwise, the service may hold resources for no longer existing clients and run out of resources before too long.

The following considerations play an important role in conversations that deal with resource management.