Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Component Services / July 2006

Tip: Looking for answers? Try searching our database.

Queued Components and TransactionScope

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John - 18 Jul 2006 01:06 GMT
Hi,

I have an app that uses Queued Components.  The queue is set as
transactional and the transaction is set to Supported (I've also tried
Required).  Everything is running on the same box (tried XP and 2k3).  In my
app I wrap the queued component call in a TransactionScope.  I'm using
EnterpriseServicesInteropOption.Full in creating the scope.  Right after
queuing the component I intentionally throw an exception and don't complete
the scope.  The message stays on the queue and gets processed.  This is a
simplified version of what my program really does, which is call a database
update within that same scope.  When something fails I want the entire
transaction rolled back; DB and MSMQ.  What actually happens though is that
the DB rolls back but MSMQ doesn't.  I created the simplified version just
to see if I could get MSMQ to roll back, but I can't.  So what am I missing?

John
John - 24 Jul 2006 18:00 GMT
Can anyone help?  Am I posting to the correct group?
John

> Hi,
>
[quoted text clipped - 13 lines]
>
> John

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.