Hi,

The itest is work in progress. But the composite file [1] already has the transaction intents declared.

<component name="TransferServiceComponent">
<implementation.java class="org.apache.tuscany.sca.itest.transaction.TransferServiceImpl" requires="managedTransaction.global" /> <reference name="savings" requires="propagatesTransaction" target="SavingsAccountServiceComponent"></reference> <reference name="checking" requires="propagatesTransaction" target="CheckingAccountServiceComponent"></reference>
</component>

As an example, the above component has to be run in a global transaction and the two references will propagate the current transaction.

[1] https://svn.apache.org/repos/asf/incubator/tuscany/java/sca/itest/transaction/src/main/resources/accounts.composite

Thanks,
Raymond

----- Original Message ----- From: "shaoguang geng" <[EMAIL PROTECTED]>
To: <tuscany-dev@ws.apache.org>
Sent: Monday, December 10, 2007 7:41 PM
Subject: How transaction intent were applied?


Hello every one:

I just saw into itest/transaction, there are classes in main folder and also a definition file in main/resource. But unfortunately, I did not see how intent in the composite description were applied.

Is there a explaination about this?

Thanks alot.


---------------------------------
Never miss a thing. Make Yahoo your homepage.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to