Blocking multiple SOA Instances when polling from DB Adapter?
829843Jun 9 2011 — edited Feb 26 2020Hi,
I am on SOA 11.1.1.3 and have a simple requirement of sequential processing from a database table. I hence created a BPEL process to poll the DB and process the records sequentially by inserting 10 records in a single XML (and doing a while loop on these records). I have also kept a polling interval of 30s with Logical Delete option.
When I have just 10 records in the table, it works fine by creating one instance. However, when there are 20 records in the table, it creates 2 instances of 10 records each and since these two instances are processed in parallel, the sequential processing no more happens and records are processed out of order.
Is it possible to limit the number of instances to just one and prevent the second instance from kicking off. I have read about the singleton process but can I use this on a single node as well?
Any inputs will be appreciated.
Thanks!