I think that this is how it is done.
[Transaction]
public void MyMethod()
{
ISynchronization sync = new EmailSynchronization("data");
this._transactionManager.CurrentTransaction.RegisterSynchronization(sync);
}
However I am not a big fan of this as it is quite involved. I would love to see
[Transaction(Synchronizations(EmailSynchronization))]
public void MyMethod()
{
}
But how do you then get data into the EmalEmailSynchronization object?
Any thoughts, hate it, love it etc.
dru
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ CastleProject-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/castleproject-users
