> Depends on how you look at it. If sending an email is something to be
> treated as transactional ( if an email sending failure should abort
> the whole transaction ) then it's a IResource. Otherwise,

Not quite true. Considering that the Castle transaction manager is not a 2PC
TM, an email sending failure could or could not abort the whole transaction.
When the email sending is failing some of the resources enlisted could be
already committed.

Dumitru

> ISynchronization
> 
> On 8/28/06, Dru Sellers <[EMAIL PROTECTED]> wrote:
> > After an object has been successfully saved (successful
> transaction.Commit()
> > ), I want to send out an email. Should I integrate with
> > Castle.Services.Transaction at IResource or ISynchronization or is there
> > something else I should be thinking of?
> 
> --
> Cheers,
> hammett
> http://hammett.castleproject.org/
> 


-------------------------------------------------------------------------
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

Reply via email to