My Oracle Support Banner

Message Sequencing Patterns using Oracle Mediator Resequencer (Doc ID 2929874.1)

Last updated on APRIL 12, 2024

Applies to:

Oracle SOA Suite - Version and later
SOA Suite Cloud Service - Version N/A and later
SOA on Marketplace - Version N/A and later
Information in this document applies to any platform.


One of the consequences of Asynchronous SOA-based integration patterns is that it does not guarantee that messages will reach their destination in the same sequence as initiated at the source.

Ever faced an integration scenario where an update order is processed in the integration layer before the create order? the target system cannot process two orders for the same customer?

Common fixes you may have seen include:

Singleton BPEL implementations, singleton JCA adapters, custom sequencing logic using tables etc.

These common 'fixes' often result in performance bottlenecks since all messages are usually funneled through a single threaded component. These approaches also become unreliable and counter-productive when used in clustered deployments. Error scenarios can also cause unexpected behavior.

To address the sequencing requirement without these shortcomings, Oracle SOA Suite provides the Mediator Resequencer component that allows you to build/rebuild a sequence from an out-of-sequence set of input messages. The Resequencer enforces sequential processing of related messages and performs parallel processing of unrelated messages, thereby keeping up the performance levels.

The white paper below aims to provide a common set of use cases for using a Resequencer, Resequencer modes, best practices, configurations, handling error scenarios, HA, failover, etc.

To guarantee that messages will reach their destination in the same sequence as initiated at the source using Mediator Resequencer.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.