The resequencer pattern is one of the Enterprise Application Integration (EAI) message routing patterns like the previously described splitter pattern. Many EAI patterns can be found through the Enterprise Application Integration site http://www.eaipatterns.com/. The resequencer pattern can be used to collect and reorder messages, so that they can be published in a specified order. An orchestration receives a number of messages in a different order and they are reordered within the orchestration. Basically, the orchestration acts as a buffer to store out-of-sequence messages until a complete sequence is obtained. These messages are then sent through a port that preserves the order.