We have currently setup SOA 10g(10.1.3.5.2) cluster.According to Oracle documentation other than File/FTP adapters all other adapters behave concurrently i.e; we can have these adapters in active-active topology in the cluster.
Now we have a built a sample ESB project with inbound DB adapter and two routing rules.One invoking a BPEL process and another creating a File.
We have the DB adapter in active-active mode.Now at runtime when we insert some record into a table polled by the above DB adapter, we find that duplicate BPEL instances are created and duplicate files get created(on both application hosts).
However if I change the active-active topology of the adapter into active-passive topology by inserting clusterGroupId property on endpoint of the adapter then only a single BPEL instance and single File is created.
Please let us know how we can achieve the above with active-active mode of the adapters.
Thanks for your response. However when we enabling distributed polling then we find that the behavior is not consistent.
I am explaining the inconsistency below-
When ESB_DT with service-weight=100 is up then ESB to BPEL invocation(SOAP) creates duplicate BPEL instances but when I shutdown that ESB_DT and the other ESB_DT with service-weight = 50 goes up then we find that duplicate BPEL instances are not getting created.
So is this a default behavior i.e; active-active topology behavior is not consistent?