Construction of Delivery Processes with Stateful Components