Example of transactions?

View: New views
2 Messages — Rating Filter:   Alert me  

Example of transactions?

by Darko Androsevic :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

Can someone post some example on how to use transactions and propagate
it from SU to SU in petals?
I recall Roland mentioned that one can use SU to manage transaction
context/manager and pass it to another SU.

Is it possible to use some other transaction managers (e.g. spring
framework which we utilize for JMS transaction support) and pass it
using messsage exchange?

Thanks,
Darko


--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

Re: Example of transactions?

by Roland Naudin - EBM WebSourcing :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Darko,

i remember i was mention to use an interceptor to handle transaction in
a generic way in the CDK components.

Thus you can specify to commit or rollback a transaction at every step
of an exchange in its MEP.

First, we must provide the transaction support (enlist XA resource) in
the JDBC (XQuare) and JMS components, which is not done.

For the moment, it is possible to get open or get a current transaction
in the code of your CDK component by using the getCurrentTransaction()
method.

Any contribution is welcome!
Cheers

Le mercredi 10 décembre 2008 à 18:26 -0800, Darko Androsevic a écrit :

> Hi all,
>
> Can someone post some example on how to use transactions and propagate
> it from SU to SU in petals?
> I recall Roland mentioned that one can use SU to manage transaction
> context/manager and pass it to another SU.
>
> Is it possible to use some other transaction managers (e.g. spring
> framework which we utilize for JMS transaction support) and pass it
> using messsage exchange?
>
> Thanks,
> Darko
> pièce jointe document plein texte (message-footer.txt)
> --
> You receive this message as a subscriber of the petals-users@... mailing list.
> To unsubscribe: mailto:petals-users-unsubscribe@...
> For general help: mailto:sympa@...?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Roland NAUDIN
PEtALS team
EBM Websourcing

Try PEtALS at http://petals.ow2.org



--
You receive this message as a subscriber of the petals-users@... mailing list.
To unsubscribe: mailto:petals-users-unsubscribe@...
For general help: mailto:sympa@...?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws