.comment-link {margin-left:.6em;}

Ben Cops

Thursday, June 17, 2004

DTC Transactions from BizTalk 2004

DTC Transactions from BizTalk - this is a hot topic. Nobody blogging on this seems to have run a quick test on this yet?
Anyway, a colleague did the other day - it turns out that if you use a serviced component set to "supports" or "requires transactions" in an atomic scope with a send shape, the work the component does is enlisted in the DTC transaction that inserts the message into the message box.
Correspondingly, if its set to "requires new", its not enlisted in that transaction.

What does this mean? Well for a start, when you send the message, although control will pass to the next shape in the scope as if the message has been sent, the message won't have been sent. Remember that a send shape doesn't really put the message on whatever transport you're targeting through your port, it just puts it in the message box and marks it for the port specified in the orchestration and its bindings. Later on, the subscriber (the send pipeline), picks up the message and forwards it on. You can see this in those "transport ID" tags in BTSSubscriptionViewer.exe. So if you do this put inside a running DTC transaction, the message will have been written but not committed to the message box (which is, of course, simply a SQL Server database). Only when the scope shape is finished can the message be committed to the database. This is the point at which the message is picked up by the send pipeline, and handed to the adapter specified by your physical port, which puts it on the target transport.

So don't try listening for a reply in an atomic scope shape.

29 Comments:

  • Hi neighbor just a note to say I saw your blog and found it interesting. So if you have the time check mine out and say Hi neighbor. Also would like to exchange some links.
    Thanks

    By Anonymous Cards, at 3:00 PM  

  • VM4JKo The best blog you have!

    By Anonymous <a href="http://hydrocodone.99k.org/index.php">Hydrocodone</a>, at 10:46 AM  

  • z0Sq5B Magnific!

    By Anonymous <a href="http://users2.titanichost.com/buyviagra/82.html">benefits of managing an insurance company</a>, at 5:40 PM  

  • Thanks to author.

    By Anonymous <a href="http://free.7host07.com/nmcfgy/187.html">allman brothers 2007 tour</a>, at 6:30 PM  

  • Thanks to author.

    By Anonymous <a href="http://fioricet.clanteam.com/?pharma=146">cods fioricet overnight and sat delivery</a>, at 7:13 PM  

  • Hello all!

    By Anonymous <a href="http://celebrex.zxq.net/?pharma=1506">genric drug for celebrex</a>, at 8:19 PM  

  • Nice Article.

    By Anonymous <a href="http://m1.aol.com/BrettHead14/284.html">new jersey department of banking and insurance</a>, at 9:20 PM  

  • Please write anything else!

    By Anonymous <a href="http://users2.titanichost.com/buyviagra/index2.html">cheap phentermine at our canadian pharma</a>, at 10:52 AM  

  • Thanks to author.

    By Anonymous <a href="http://xanax.newsit.es/drug-interaction-lopressor-xanax.html">drug interaction lopressor xa</a>, at 3:30 PM  

  • Thanks to author.

    By Anonymous <a href="http://tramadol.newsit.es/tramadol-and-celexa.html">tramadol and celexa</a>, at 4:31 PM  

  • Nice Article.

    By Anonymous <a href="http://tramadol.newsit.es/rapid-detox-tramadol.html">rapid detox tramadol</a>, at 5:31 PM  

  • Hello all!

    By Anonymous <a href="http://phentermine.whdot.com/index10.html">cheap phentermine discount phentermine buy phenter</a>, at 6:17 PM  

  • JIWSzk write more, thanks.

    By Anonymous <a href="users2.titanichost.com/amalopra">JohnBraun</a>, at 7:29 PM  

  • actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.

    By Anonymous <a href="http://users2.titanichost.com/popebatret/index6.html">colin farell sex</a>, at 4:02 AM  

  • Thanks to author.

    By Anonymous <a href="http://users2.titanichost.com/inoryum/index10.html">dvd chinese sex</a>, at 4:36 AM  

  • Please write anything else!

    By Anonymous <a href="http://users2.titanichost.com/hviler/index2.html">animal hentai sex</a>, at 6:26 AM  

  • Magnific!

    By Anonymous <a href="http://users2.titanichost.com/ansfur/index34.html">lean muscle sex</a>, at 7:01 AM  

  • Wonderful blog.

    By Anonymous <a href="http://users2.titanichost.com/olds77/index9.html">double vaginal double anal</a>, at 7:34 AM  

  • Hello all!

    By Anonymous <a href="http://users2.titanichost.com/shingro/index7.html">sex after transgendering</a>, at 8:01 AM  

  • Nice Article.

    By Anonymous <a href="http://users2.titanichost.com/scersi/index15.html">elf joy sex</a>, at 8:34 AM  

  • actually, that's brilliant. Thank you. I'm going to pass that on to a couple of people.

    By Anonymous <a href="http://users2.titanichost.com/t1fielde/index2.html">oslo sex scene</a>, at 9:04 AM  

  • Please write anything else!

    By Anonymous <a href="http://users2.titanichost.com/adjutes/index31.html">bard yard sex</a>, at 9:43 AM  

  • Nice Article.

    By Anonymous <a href="http://users2.titanichost.com/adjutes/index.html">bangkok sex shows</a>, at 10:28 AM  

  • Nice Article.

    By Anonymous <a href="http://users2.titanichost.com/shiconta/index14.html">dads friend sex</a>, at 11:03 AM  

  • Magnific!

    By Anonymous <a href="http://users2.titanichost.com/gnites3/index6.html">hot sex pickups</a>, at 11:33 AM  

  • Lottery: A tax on people who are bad at math.

    By Anonymous <a href="http://users2.titanichost.com/marymeno/index33.html">privat sex dansk</a>, at 12:05 PM  

  • The gene pool could use a little chlorine.

    By Anonymous <a href="http://users2.titanichost.com/vadhoms/index27.html">man nude sex</a>, at 12:42 PM  

  • 640K ought to be enough for anybody. - Bill Gates 81

    By Anonymous <a href="http://users2.titanichost.com/etooking/index19.html">nude sex proceeding</a>, at 1:19 PM  

  • Give me ambiguity or give me something else.

    By Anonymous <a href="http://users2.titanichost.com/swiseny/index17.html">disabled girls sex</a>, at 1:47 PM  

Post a Comment

Links to this post:

Create a Link

<< Home