on 02-24-2014 3:17 AM
Hello PI Gurus,
One of my client want to experiment with 2 Phase Commit
According to
I should use the TU&C/C Interface Pattern
Here's my case
Inpout XML file
2)
If number in XML < 10 write the following process in a 2PC transaction
a. Store the record in the Table
b. Send message to JMS Q
3) Else write the following process in a 2PC transaction
a. Store the record in Error table
b. Send message to Error JMS
c. Throw exception to have process roll back
According to the error Message I get when I create Service Interface with Interface Pattern TU&C/C I ge the follwoing
A service interface with pattern TU&C/C must have at least one operation with pattern Compensate Ope... |
A service interface with pattern TU&C/C must have at least one operation with pattern Confirm Operat... |
Both frankly I am not sure how to properly configure it so my 2PC will work properly.
I need a concrete a exemple.
Thanks
Vincent
Hi,
If you are creating an SI with pattern TU&C/C you need to provide an operation of operation pattern TU, one of Confirm & one compensate, apart from your normal operation. It is also mentioned in Page-4 of the document that you have mentioned above.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.