Wednesday, August 4, 2010

MSMQ: Remote access in transactional context

Programmer Question

Considering MSMQ version 3.0



Hello.



I want to send and read messages from a remote MSMQ queue.



In version 3.0 remote reads with transactions are not supported.
In version 4.0 transactional reads can be made not with receive method but with peek.



I saw a problem using transactional remote reads with MessageQueueTransaction and the answer suggest to use DTC transations. (TransactionScope)



http://www.microsoft.com/communities/newsgroups/en-us/default.aspx?dg=microsoft.public.msmq.programming&tid=7dd22d35-1750-443d-a9b4-c771fde76e7b&cat=&lang=&cr=&sloc=&p=1



My question is if i can make transactional remote sends with MessageQueueTransaction object or, because it is a remote send, i need to use TransactionScope.



Thanks



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails