SOA 11g: BPEL > MEDIATOR > EDN and transactions problems
Hi,
I have the following scenario:
SCA1:
BPEL1 inserts data into db (a record in table "TEST") through a dbAdapter
BPEL1 invokes one-way MEDIATOR1
MEDIATOR1 posts EDN message
SCA2:
MEDIATOR2 receives EDN message posted by MEDIATOR1
MEDIATOR1 invokes one-way BPEL2
BPEL2 wants to read the data just inserted by BPEL1, but it does not find this data.
The problem seems like the BPEL1-transaction is still not committed when the message arrives to MEDIATOR2 and BPEL2.
I can't understand why, since the invocation is asynch and is also one way... Shouldn't the BPEL1 transaction be committed just after the invoke to MEDIATOR1?
I'm sure I am missing something.
Thanks in advance to all who will help me figure this out.