restaurantManager.commitSeats(transactionId, true);
try
{
// tell the manager we have finished our work:
participantManager.completed();
}
catch (Exception e)
{
System.err.println("bookSeats: 'completed' callback failed");
restaurantManager.cancelSeats(transactionId);