SOA 11g, Oracle Mediator Resequencer which guarantees to maintain the desired message sequence in a reliable and robust manner.
You can implement the resequencer in Mediator by just selecting from the drop down box like below.
Now, coming to the topic. How to release the lock if there is any,
- Normally these mediator would have been implemented with fault policies such as Manual Recovery. In that case go to EM console, navigate to Faults and Rejected Messages and enable "Show only recoverable faults". Click on "Recovery" icon and retry the instance.
- If suppose there isn't any Error handling techniques, search for the faulted instances and abort it.
- If nothing works, directly login to the Database with SOAINFRA schema. And use the below queries to unlock the sequence.
Select * from mediator_group_status where status!=0;
Update mediator_group_status set status=0 where status!=0;
Select * from SCFS2O_SOAINFRA.mediator_group_status where status!=0;
Update SCFS2O_SOAINFRA.mediator_group_status set status=0 where status != 0;
Credits:
http://prabhasoablog.blogspot.mx/2016/02/how-to-release-sequence-lock-in-mediator.html