Home Page › Forums › BizTalk 2004 – BizTalk 2010 › Automatically resume suspended message instances
- This topic has 2 replies, 1 voice, and was last updated 8 years, 3 months ago by
community-content.
-
AuthorPosts
-
-
October 5, 2006 at 5:11 PM #15971
Hi,
Is there a script (WMI/SQL) to automatically resume suspended messages in BTS 2006?
I have Orch1 calling Orch 2 asynchronously. When the host instance running Orch2 is stopped the messages get suspended. When i restart the host instance for Orch 2 I need a way to automatically resume all the suspended messages (hundreds of them) instead of resuming them one by one manually from the Admin Console.
Thanks
Bala
-
October 6, 2006 at 10:02 AM #15979Hi Bala,In 2006, you can do "bulk operations" so that if you have 1000 suspended messages, you can select the collection of them (in the Hub, when you see suspended messages, by type, you click on type and see the individual ones … so the "by type" is where you do "bulk operations"). That's one way to easily resubmit.You'll find a few scripts in the SDK for using WMI or the object model, and the Biztalk book has some content on resuming suspended messages (http://book.itzero.com/read/microsoft/0505/Sams.Microsoft.BizTalk.Server.2004.Unleashed.Nov.2004.eBook-LiB_html/0672325985/ch17lev1sec4.html), and you'll find lots of ither scripts here (http://www.gotdotnet.com/codegallery/releases/viewuploads.aspx?id=0690616f-838c-4583-a4c5-cecc5ac04dac).
-
October 6, 2006 at 10:19 AM #15980
[quote user="Anonymous"]
Hi,
Is there a script (WMI/SQL) to automatically resume suspended messages in BTS 2006?
I have Orch1 calling Orch 2 asynchronously. When the host instance running Orch2 is stopped the messages get suspended. When i restart the host instance for Orch 2 I need a way to automatically resume all the suspended messages (hundreds of them) instead of resuming them one by one manually from the Admin Console.
Thanks
Bala
[/quote]
This doesn't answer your question about automatically doing it, but you can highlight a range (even all of them); right click, then resume them in one swipe. If you don't have the resume option it might be because you highlighted some that are non-resumable. Just add an additional filter for resumable only. I have resumed thousands at a time this way and it works fine.
-
-
AuthorPosts
- The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.