Problem

How can you provide a level of guarantee for a resource over a long-running business process?

Solution

Have a service provide a level of guarantee on resources for a limited time.

  • Messages are sent to to the reservation service by the service consumer.
  • Initial reservation request returns a reservation ID and an expiration timestamp.
  • Service consumer confirms previous registered reservation by including a valid reservation ID.
  • Expiry timestamp allows service to expire unconfirmed reservations after a given time period.

Reservation Pattern diagram