You would be best to look at using a distributed transaction, such as
from JTS or Web Services transactions.
Mark.
On 8 Sep 2008, at 11:44, Marchioni Francesco wrote:
Hi all !
I have the need to rewrite a System which is made up of many atomic
operations.
These operations are working in a transaction so that if one fails
all the other operations
(that is DB insert are rolled back).
These operations can be invoked by other Systems in the future, so I
thought this is a good
playground to use a ESB, turning operations into Services .
Is there a way to enlist all Services invocations in a Transaction ?
(so that if one Service fails
all the other Service operations are rolled back )
Thanks a lot
Laura
----------------------------------------------------------------------------------------------------------------------
Le informazioni trasmesse possono contenere documenti confidenziali
e/o materiale riservato; sono
quindi da intendersi esclusivamente ad uso della persona e/o società
a cui sono indirizzate.
Qualsiasi modifica, inoltro, diffusione o altro utilizzo, relativo
alle informazioni trasmesse, da parte
di persone e/o società diversi dai destinatari indicati, è proibito
ai sensi della legge 196/2003.
Qualora questa mail fosse stata ricevuta per errore, si prega di
contattare il mittente e cancellarne
il contenuto.
--
Privileged/Confidential Information may be contained in this
message. If you are not the addressee
indicated in this message (or responsible for delivery of the
message to such person), you may not
copy or deliver this message to anyone. In such case, you should
destroy this message and kindly
notify the sender by reply email. Please advise immediately if you
or your employer does not consent
to Internet email for messages of this kind. Opinions, conclusions
and other information in this
message that do not relate to the official business of my firm shall
be understood as neither given
nor endorsed by it.
----------------------------------------------------------------------------------------------------------------------
_______________________________________________
esb-users mailing list
esb-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/esb-users
---
Mark Little
mlittle(a)redhat.com
JBoss, a Division of Red Hat
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SI4 1TE, United Kingdom.
Registered in UK and Wales under Company Registration No. 3798903
Directors: Michael Cunningham (USA), Charlie Peters (USA), Matt
Parsons (USA) and Brendan Lane (Ireland).