<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Integration Experts - Dipesh Avlani</title>
	<atom:link href="http://dipeshavlani.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://dipeshavlani.net</link>
	<description>BizTalk Server, WCF, WF and Cloud computing...</description>
	<lastBuildDate>Mon, 16 Jan 2012 02:36:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dipeshavlani.net' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Integration Experts - Dipesh Avlani</title>
		<link>http://dipeshavlani.net</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dipeshavlani.net/osd.xml" title="Integration Experts - Dipesh Avlani" />
	<atom:link rel='hub' href='http://dipeshavlani.net/?pushpress=hub'/>
		<item>
		<title>More cloud based integration posts coming up</title>
		<link>http://dipeshavlani.net/2012/01/16/more-cloud-based-integration-posts-coming-up/</link>
		<comments>http://dipeshavlani.net/2012/01/16/more-cloud-based-integration-posts-coming-up/#comments</comments>
		<pubDate>Mon, 16 Jan 2012 02:34:25 +0000</pubDate>
		<dc:creator>DipeshA</dc:creator>
				<category><![CDATA[Azure]]></category>
		<category><![CDATA[BizTalk 2010]]></category>
		<category><![CDATA[BizTalk 2010 R2]]></category>
		<category><![CDATA[BizTalk Azure]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://dipeshavlani.net/?p=413</guid>
		<description><![CDATA[As we move towards the cloud, we need to be able to expose endpoints on the cloud for integration that follows a hybrid model (see my previous post that describes what a hybrid model is) . In the next few days, I will be writing posts that demonstrate how BizTalk can be used to talk to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=413&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As we move towards the cloud, we need to be able to expose endpoints on the cloud for integration that follows a hybrid model (see my previous <a href="http://dipeshavlani.net/2012/01/09/the-future-of-integration-with-ms-technologies/">post</a> that describes what a hybrid model is) . In the next few days, I will be writing posts that demonstrate how BizTalk can be used to talk to Azure service bus and other cloud based services.<br />
Meanwhile, msdn has avery interesting article on this and can be found <a href="http://msdn.microsoft.com/en-us/windowsazure/hh547113(v=VS.103).aspx">here</a>.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/integrationexperts.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/integrationexperts.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/integrationexperts.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/integrationexperts.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/integrationexperts.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/integrationexperts.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/integrationexperts.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/integrationexperts.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/integrationexperts.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/integrationexperts.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/integrationexperts.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/integrationexperts.wordpress.com/413/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/integrationexperts.wordpress.com/413/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/integrationexperts.wordpress.com/413/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=413&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dipeshavlani.net/2012/01/16/more-cloud-based-integration-posts-coming-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/9f78ceb6e48119d20b56298e098bda2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DipeshA</media:title>
		</media:content>
	</item>
		<item>
		<title>The Future of Integration with MS Technologies</title>
		<link>http://dipeshavlani.net/2012/01/09/the-future-of-integration-with-ms-technologies/</link>
		<comments>http://dipeshavlani.net/2012/01/09/the-future-of-integration-with-ms-technologies/#comments</comments>
		<pubDate>Sun, 08 Jan 2012 23:47:01 +0000</pubDate>
		<dc:creator>DipeshA</dc:creator>
				<category><![CDATA[BizTalk 2010 R2]]></category>
		<category><![CDATA[hybrid integration]]></category>
		<category><![CDATA[integration products]]></category>
		<category><![CDATA[service bus]]></category>

		<guid isPermaLink="false">http://dipeshavlani.net/?p=407</guid>
		<description><![CDATA[With the announcement of BizTalk Server 2010 R2, it is clear that there is great commitment from MS for supporting on-premise solutions. However, one other smart move from MS was they are now catering to all the three areas below: Area: On-Premises Integration Products: BizTalk Server Windows Server AppFabric Area: Hybrid Integration Products: BizTalk Server [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=407&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>With the announcement of BizTalk Server 2010 R2, it is clear that there is great commitment from MS for supporting on-premise solutions. However, one other smart move from MS was they are now catering to all the three areas below:</p>
<p>Area: <strong>On-Premises Integration</strong><br />
Products:</p>
<p style="padding-left:60px;">BizTalk Server<br />
Windows Server AppFabric</p>
<p>Area: <strong>Hybrid Integration</strong><br />
Products:</p>
<p style="padding-left:60px;">BizTalk Server<br />
Windows Azure AppFabric<br />
Windows Server AppFabric</p>
<p>Area: <strong>Cloud Integration</strong><br />
Products:</p>
<p style="padding-left:60px;">Windows Azure AppFabric</p>
<p style="padding-left:60px;">
<p><strong>BizTalk 2010 R2 boasts improvements in the following areas:</strong></p>
<p><em>Development Environment Support:</em><br />
<em> 1) Visual Studio 2011</em><br />
<em> 2) SQL Server 2012</em><br />
<em> 3) Windows 8</em><br />
<em> 4) Easy migration from BizTalk Srv 2010</em></p>
<p><em>Updates &amp; Improvments:</em><br />
<em> 1) Updated schemas and accelarators. Eg: HIPPA, HL7, SWIFT</em><br />
<em> 2) Support for faster batch processing.</em><br />
<em> 3) Improved performance with ordered send ports.</em><br />
<em> 4) Support for new data sources. Eg IBM informix.</em></p>
<p><em>Cloudification:</em><br />
<em> 1) Easily extend on-premise apps to the cloud.</em><br />
<em> 2) Tighter integration with Windows Azure Service Bus.</em><br />
<em> 2) Licensing geared towards cloud licensing.</em></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/integrationexperts.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/integrationexperts.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/integrationexperts.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/integrationexperts.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/integrationexperts.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/integrationexperts.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/integrationexperts.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/integrationexperts.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/integrationexperts.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/integrationexperts.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/integrationexperts.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/integrationexperts.wordpress.com/407/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/integrationexperts.wordpress.com/407/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/integrationexperts.wordpress.com/407/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=407&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dipeshavlani.net/2012/01/09/the-future-of-integration-with-ms-technologies/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/9f78ceb6e48119d20b56298e098bda2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DipeshA</media:title>
		</media:content>
	</item>
		<item>
		<title>BizTalk 2010 R2 Due for Release</title>
		<link>http://dipeshavlani.net/2011/12/09/biztalk-2010-r2-due-for-release/</link>
		<comments>http://dipeshavlani.net/2011/12/09/biztalk-2010-r2-due-for-release/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 00:07:12 +0000</pubDate>
		<dc:creator>DipeshA</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[BizTalk 2010]]></category>

		<guid isPermaLink="false">http://dipeshavlani.net/?p=403</guid>
		<description><![CDATA[BizTalk 2010 R2 is due for release soon&#8230; http://blogs.msdn.com/b/biztalk_server_team_blog/archive/2011/12/08/biztalk-server-2010-r2.aspx<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=403&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>BizTalk 2010 R2 is due for release soon&#8230;</p>
<p>http://blogs.msdn.com/b/biztalk_server_team_blog/archive/2011/12/08/biztalk-server-2010-r2.aspx</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/integrationexperts.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/integrationexperts.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/integrationexperts.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/integrationexperts.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/integrationexperts.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/integrationexperts.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/integrationexperts.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/integrationexperts.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/integrationexperts.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/integrationexperts.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/integrationexperts.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/integrationexperts.wordpress.com/403/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/integrationexperts.wordpress.com/403/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/integrationexperts.wordpress.com/403/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=403&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dipeshavlani.net/2011/12/09/biztalk-2010-r2-due-for-release/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/9f78ceb6e48119d20b56298e098bda2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DipeshA</media:title>
		</media:content>
	</item>
		<item>
		<title>Mocking up XLANGMessage and XLANGPart to unit test BizTalk components</title>
		<link>http://dipeshavlani.net/2011/11/17/mocking-up-xlangmessage-and-xlangpart-to-unit-test-biztalk-components/</link>
		<comments>http://dipeshavlani.net/2011/11/17/mocking-up-xlangmessage-and-xlangpart-to-unit-test-biztalk-components/#comments</comments>
		<pubDate>Thu, 17 Nov 2011 00:23:18 +0000</pubDate>
		<dc:creator>DipeshA</dc:creator>
				<category><![CDATA[BizTalk 2006/2009]]></category>
		<category><![CDATA[BizTalk 2010]]></category>

		<guid isPermaLink="false">http://dipeshavlani.net/?p=354</guid>
		<description><![CDATA[BizTalk developers have often felt the need to unit test any dotnet components called from within an orchestration. However, messages passed to dotnet components are of type XLANGMessage and this class is an abstract class, therefore rendered useless when it comes to initialising these types in your unit tests. The way around this is to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=354&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>BizTalk developers have often felt the need to unit test any dotnet components called from within an orchestration. However, messages passed to dotnet components are of type XLANGMessage and this class is an abstract class, therefore rendered useless when it comes to initialising these types in your unit tests. The way around this is to mock both the XLANGMessage and XLANGPart classes. </p>
<p>The best way to mock these classes is to run reflector on the xlang base types dll and look at the definition of these classes.<br />
 <a href="http://integrationexperts.files.wordpress.com/2011/11/xlangmessage.jpg"><img src="http://integrationexperts.files.wordpress.com/2011/11/xlangmessage.jpg" alt="" title="XLANGMessage" width="408" height="363" class="alignnone size-full wp-image-355" /></a><br />
 <a href="http://integrationexperts.files.wordpress.com/2011/11/xlangpart.jpg"><img src="http://integrationexperts.files.wordpress.com/2011/11/xlangpart.jpg" alt="" title="XLangPart" width="371" height="350" class="alignnone size-full wp-image-359" /></a></p>
<p>As you can see, both these classes are abstract classes and can be inherited and the behavior added. Below is the code the these mock classes. The key here is the constructor of these classes which will help us use them like any other class.</p>
<div style="background-color:gray;padding-left:5px;">
<code><br />
<font face="Courier" size="0.9" color="white"></p>
<p>using System;<br />
using Microsoft.XLANGs.BaseTypes;<br />
using System.Xml.Schema;</p>
<p>namespace IntegrationExperts.BusinessObjects.Tests.MockClasses<br />
{</p>
<div style="padding-left:15px;">
<p>    public class MockXLANGPart : XLANGPart<br />
    {</p>
<div style="padding-left:15px;">
<p>        readonly T _obj;</p>
<p>        #region ctor</p>
<p>        public MockXLANGPart(T obj) { _obj = obj; }</p>
<p>        #endregion</p>
<p>        #region props</p>
<p>        public override string Name<br />
        {<br />
            get { return "MockXLANGPart"; }<br />
        }</p>
<p>        public override XmlSchema XmlSchema<br />
        {<br />
            get { throw new NotImplementedException(); }<br />
        }</p>
<p>        public override XmlSchemaCollection XmlSchemaCollection<br />
        {<br />
            get { throw new NotImplementedException(); }<br />
        }</p>
<p>        #endregion</p>
<p>        #region funcs</p>
<p>        public override object GetPartProperty(Type propType)<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        public override Type GetPartType()<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        public override string GetXPathValue(string xpath)<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        public override void LoadFrom(object source)<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        public override void PrefetchXPathValue(string xpath)<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        public override object RetrieveAs(Type t)<br />
        {<br />
            if (t == typeof(T))<br />
            {<br />
                return _obj;<br />
            }<br />
            return null;<br />
        }</p>
<p>        public override void SetPartProperty(Type propType, object value)<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        #endregion</p>
<p>        #region dispose</p>
<p>        public override void Dispose() { }</p>
<p>        #endregion
</p></div>
<p>    }
</p></div>
<p>}</p>
<p>//----------------------------------------------------------------------</p>
<p>using System;<br />
using System.Collections;<br />
using System.Collections.Generic;<br />
using Microsoft.XLANGs.BaseTypes;</p>
<p>namespace IntegrationExperts.BusinessObjects.Tests.MockClasses<br />
{</p>
<div style="padding-left:15px;">
<p>    public class MockXLANGMessage : XLANGMessage<br />
    {</p>
<div style="padding-left:15px;">
<p>        readonly List&lt;MockXLANGPart&gt; _parts = new List&lt;MockXLANGPart&gt;();</p>
<p>        #region ctor</p>
<p>        public MockXLANGMessage(T obj)<br />
        {<br />
            _parts.Add(new MockXLANGPart(obj));<br />
        }</p>
<p>        #endregion</p>
<p>        #region props</p>
<p>        public override int Count { get { return _parts.Count; } }</p>
<p>        public override string Name<br />
        {<br />
            get { return "MockXLANGMessage"; }<br />
        }</p>
<p>        public override XLANGPart this[int partIndex]<br />
        {<br />
            get { return _parts[partIndex]; }<br />
        }</p>
<p>        public override XLANGPart this[string partName] { get { return _parts[0]; } }</p>
<p>        #endregion</p>
<p>        #region funcs<br />
        public override void AddPart(XLANGPart part)<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        public override void AddPart(object part, string partName)<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        public override void AddPart(XLANGPart part, string partName)<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        public override object GetPropertyValue(Type propType)<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        public override void SetPropertyValue(Type propType, object value)<br />
        {<br />
            throw new NotImplementedException();<br />
        }</p>
<p>        public override IEnumerator GetEnumerator()<br />
        {<br />
            return _parts.GetEnumerator();<br />
        }</p>
<p>        #endregion</p>
<p>        #region dispose</p>
<p>        public override void Dispose() { }</p>
<p>        #endregion
</p></div>
<p>    }
</p></div>
<p>}</p>
<p></font></code>
</div>
<p>Add these classes to your unit test project and in the test class, you can write tests as shown below:</p>
<div style="background-color:gray;padding-left:5px;">
<code><br />
<font face="Courier" size="0.9" color="white"></p>
<p>  [TestMethod]<br />
          public void DoActionTest()<br />
          {</p>
<p>               &nbsp;&nbsp;   var msg = new MySchemaClass(); //schema class can be generated via tools like XSD to code.<br />
                &nbsp;&nbsp;  var xlang = new MockXLANGMessage(msg); // Create a new mock XLANGMessage to wrap the message<br />
              &nbsp;&nbsp;     DoAction(xlang); // Call the method to be tested by passing in the mock XLANGMessage<br />
                &nbsp;&nbsp;  //Assert.IsTrue(....);<br />
  }<br />
  internal static void DoAction(XLANGMessage message)<br />
  {             </p>
<p>&nbsp;&nbsp;             var myObj = new MySchemaClass();//schema class can be generated via tools like XSD to code.<br />
      &nbsp;&nbsp;         myObj = (MySchemaClass)message[0].RetrieveAs(MySchemaClass.GetType()); //retrieve parts of the message.</p>
<p>               &nbsp;&nbsp; //var val1 = myObj.prop1;<br />
               &nbsp;&nbsp; //var val2 = myObj.prop2;<br />
              &nbsp;&nbsp;  //perform additional tasks as per your testing requirements.<br />
  }<br />
</font><br />
</code>
</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/integrationexperts.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/integrationexperts.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/integrationexperts.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/integrationexperts.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/integrationexperts.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/integrationexperts.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/integrationexperts.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/integrationexperts.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/integrationexperts.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/integrationexperts.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/integrationexperts.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/integrationexperts.wordpress.com/354/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/integrationexperts.wordpress.com/354/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/integrationexperts.wordpress.com/354/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=354&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dipeshavlani.net/2011/11/17/mocking-up-xlangmessage-and-xlangpart-to-unit-test-biztalk-components/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/9f78ceb6e48119d20b56298e098bda2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DipeshA</media:title>
		</media:content>

		<media:content url="http://integrationexperts.files.wordpress.com/2011/11/xlangmessage.jpg" medium="image">
			<media:title type="html">XLANGMessage</media:title>
		</media:content>

		<media:content url="http://integrationexperts.files.wordpress.com/2011/11/xlangpart.jpg" medium="image">
			<media:title type="html">XLangPart</media:title>
		</media:content>
	</item>
		<item>
		<title>Troubleshooting SQL Azure connectivity</title>
		<link>http://dipeshavlani.net/2011/11/05/troubleshooting-sql-azure-connectivity/</link>
		<comments>http://dipeshavlani.net/2011/11/05/troubleshooting-sql-azure-connectivity/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 02:32:08 +0000</pubDate>
		<dc:creator>DipeshA</dc:creator>
				<category><![CDATA[Azure]]></category>

		<guid isPermaLink="false">http://dipeshavlani.net/?p=351</guid>
		<description><![CDATA[Below is very good compilation of tips to troubleshoot sql azure connectivity: http://www.microsoftblog.co.in/?cat=414<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=351&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Below is very good compilation of tips to troubleshoot sql azure connectivity:<br />
<a href="http://www.microsoftblog.co.in/?cat=414">http://www.microsoftblog.co.in/?cat=414</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/integrationexperts.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/integrationexperts.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/integrationexperts.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/integrationexperts.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/integrationexperts.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/integrationexperts.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/integrationexperts.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/integrationexperts.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/integrationexperts.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/integrationexperts.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/integrationexperts.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/integrationexperts.wordpress.com/351/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/integrationexperts.wordpress.com/351/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/integrationexperts.wordpress.com/351/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=351&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dipeshavlani.net/2011/11/05/troubleshooting-sql-azure-connectivity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/9f78ceb6e48119d20b56298e098bda2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DipeshA</media:title>
		</media:content>
	</item>
		<item>
		<title>Accessing archived (&amp; purged) tracking data in BizTalk 2009/2010</title>
		<link>http://dipeshavlani.net/2011/10/19/accessing-archived-purged-tracking-data-in-biztalk-20092010/</link>
		<comments>http://dipeshavlani.net/2011/10/19/accessing-archived-purged-tracking-data-in-biztalk-20092010/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 07:16:20 +0000</pubDate>
		<dc:creator>DipeshA</dc:creator>
				<category><![CDATA[BizTalk 2006/2009]]></category>
		<category><![CDATA[BizTalk 2010]]></category>

		<guid isPermaLink="false">http://dipeshavlani.net/?p=331</guid>
		<description><![CDATA[It is known that the BizTalkDTADb database can grow over a period of time if not purged regularly. For this there is a sql job in BizTalk which can be configured to archive and purge tracked data at regular intervals. The job is called DTA Purge and Archive. Once this job is configured and enabled, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=331&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>It is known that the BizTalkDTADb database can grow over a period of time if not purged regularly. For this there is a sql job in BizTalk which can be configured to archive and purge tracked data at regular intervals. The job is called <em>DTA Purge and Archive</em>. Once this job is configured and enabled, it archives and purges tracking data as per the schedule in the job.</p>
<p><img src="http://integrationexperts.files.wordpress.com/2011/10/tracking1.jpg" alt="" width="250" height="26" class="alignnone size-full wp-image-332" /></p>
<p>Everytime the job runs, it archives this database which can be restored with a different name in SSMS.</p>
<p><img src="http://integrationexperts.files.wordpress.com/2011/10/tracking21.jpg?w=700&#038;h=250" alt="" title="Archived File" width="700" height="250" class="alignnone size-medium wp-image-334" /></p>
<p>Database restored in SQL Server Management Studio with a diff name:</p>
<p><img src="http://integrationexperts.files.wordpress.com/2011/10/tracking3.jpg" alt="" title="Restored Database" width="177" height="84" class="alignnone size-full wp-image-335" /></p>
<p>Once the the archived copy is restored, it can be accessed from BTS Admin Console.</p>
<p><img src="http://integrationexperts.files.wordpress.com/2011/10/tracking4.jpg?w=400&#038;h=183" alt="" title="AdminCon" width="400" height="183" class="alignnone size-medium wp-image-338" /></p>
<p>You now get to select the tracking database as shown below:</p>
<p><img src="http://integrationexperts.files.wordpress.com/2011/10/tracking5.jpg?w=400&#038;h=174" alt="" title="Database" width="400" height="174" class="alignnone size-medium wp-image-339" /></p>
<p>On connecting to the archived database, the database now appears in BTS Admin Console which can be queried to display tracked events and messages.</p>
<p><img src="http://integrationexperts.files.wordpress.com/2011/10/tracking6.jpg" alt="" title="Query" width="766" height="240" class="alignnone size-full wp-image-341" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/integrationexperts.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/integrationexperts.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/integrationexperts.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/integrationexperts.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/integrationexperts.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/integrationexperts.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/integrationexperts.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/integrationexperts.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/integrationexperts.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/integrationexperts.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/integrationexperts.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/integrationexperts.wordpress.com/331/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/integrationexperts.wordpress.com/331/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/integrationexperts.wordpress.com/331/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=331&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dipeshavlani.net/2011/10/19/accessing-archived-purged-tracking-data-in-biztalk-20092010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/9f78ceb6e48119d20b56298e098bda2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DipeshA</media:title>
		</media:content>

		<media:content url="http://integrationexperts.files.wordpress.com/2011/10/tracking1.jpg" medium="image" />

		<media:content url="http://integrationexperts.files.wordpress.com/2011/10/tracking21.jpg?w=300" medium="image">
			<media:title type="html">Archived File</media:title>
		</media:content>

		<media:content url="http://integrationexperts.files.wordpress.com/2011/10/tracking3.jpg" medium="image">
			<media:title type="html">Restored Database</media:title>
		</media:content>

		<media:content url="http://integrationexperts.files.wordpress.com/2011/10/tracking4.jpg?w=300" medium="image">
			<media:title type="html">AdminCon</media:title>
		</media:content>

		<media:content url="http://integrationexperts.files.wordpress.com/2011/10/tracking5.jpg?w=300" medium="image">
			<media:title type="html">Database</media:title>
		</media:content>

		<media:content url="http://integrationexperts.files.wordpress.com/2011/10/tracking6.jpg" medium="image">
			<media:title type="html">Query</media:title>
		</media:content>
	</item>
		<item>
		<title>Restoring BizTalk Databases (Disaster Recovery)</title>
		<link>http://dipeshavlani.net/2011/10/19/restoring-biztalk-databases-disaster-recovery/</link>
		<comments>http://dipeshavlani.net/2011/10/19/restoring-biztalk-databases-disaster-recovery/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 00:22:31 +0000</pubDate>
		<dc:creator>DipeshA</dc:creator>
				<category><![CDATA[BizTalk 2006/2009]]></category>
		<category><![CDATA[BizTalk 2010]]></category>
		<category><![CDATA[biztalk]]></category>
		<category><![CDATA[restore]]></category>

		<guid isPermaLink="false">http://dipeshavlani.net/?p=314</guid>
		<description><![CDATA[I found an interesting article on msdn which explains the backup and restore strategies for BizTalk databases. Setting this up is fairly straight forward but requires a fair knownledge of BizTalk Server and SQL Server 2008. BizTalk Server makes available a SQL Server job (Backup BizTalk Server) that you can use to back up all [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=314&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I found an interesting article on msdn which explains the backup and restore strategies for BizTalk databases. Setting this up is fairly straight forward but requires a fair knownledge of BizTalk Server and SQL Server 2008.</p>
<p>BizTalk Server makes available a SQL Server job (<em>Backup BizTalk Server</em>) that you can use to back up all of the databases in your BizTalk Server source system, except for some databases used by Business Activity Monitoring (BAM). The source system is the server or group of servers that contain live data. Because BAM databases have different backup and restore requirements, these databases are backed up and restored using other methods.</p>
<p>The following BizTalk databases are backed up by the sql job:</p>
<ul>
<li>BAMPrimaryImport</li>
<li>BAMAlertsApplication</li>
<li>BAMAlertsNSMain</li>
<li>BizTalkDTADb</li>
<li>BizTalkMgmtDb</li>
<li>BizTalkMsgBoxDb</li>
<li>BizTalkRuleEngineDb</li>
<li>SSODB </li>
</ul>
<p>Backing up the BizTalk Server databases and restoring them involves the following steps:</p>
<p><strong>1. Configuring the Backup BizTalk Server job </strong></p>
<p>This is the first step required to be performed before you can back up the BizTalk Server databases. You must first configure the Backup BizTalk Server job on the source system, which directs backups to be automatically written to a folder where they can then be used to restore the databases on the destination system. The destination system is the server or group of servers that will be used to restore the database backups produced by the source system. For more information about this step, see <a href="http://msdn.microsoft.com/en-us/library/aa546765(v=BTS.10).aspx">link</a>.</p>
<p><strong>2. Configuring the destination system for log shipping </strong></p>
<p>You must also configure the destination system for log shipping, which provides standby server capabilities and reduces downtime in the event of a system failure. For more information about this step, see <a href="http://msdn.microsoft.com/en-us/library/aa560961(v=BTS.10).aspx">link</a>.</p>
<p>The result of this step is three new SQL Server agent jobs as described under:</p>
<ul>
<li><strong>BTS Log Shipping Get Backup History</strong><br />
The BizTalk Server Log Shipping Get Backup History job moves backup history records from the source to the destination. It is scheduled by default to run every minute. This job runs as frequently as possible in order to move history records from the source to the destination. In the event of a system failure to the source system, the server that you identified as the destination system will continue to process the history records that have already been imported.</li>
<p></p>
<li><strong>BTS Server Log Shipping Restore Databases</strong><br />
The BizTalk Server Log Shipping Restore Databases job restores backup files for the given databases for the source to the destination server. It is scheduled by default to run every minute. This job runs continuously without completing as long as there are backup files to restore. As an extra precaution, you can run this job an additional time to ensure that it is complete.</li>
<p></p>
<li><strong>BTS Log Shipping Restore To Mark</strong><br />
The BizTalk Server Log Shipping Restore To Mark job restores all of the databases to a mark in the last log backup. This ensures that all of the databases are in a transactionally consistent state. In addition, this job re-creates all of the SQL Server Agent jobs on the destination system that had been on the source system.</li>
</ul>
<div style="text-align:center;"> <img src="http://integrationexperts.files.wordpress.com/2011/10/bts_ls_jobs.jpg" alt="" />
</div>
<p><strong>3. Restoring the databases </strong></p>
<p>When a hardware failure occurs, you can restore your databases by using the backups and logs sent to your destination system. For more information about this step, see <a href="http://msdn.microsoft.com/en-us/library/aa546753(v=BTS.10).aspx">link</a>.</p>
<p>After completing this step, your BizTalk Server should be restored and running. If you are using the Rules Engine, after restoring the databases, you must restart the Rule Engine Update Service on every server in the BizTalk Server group.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/integrationexperts.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/integrationexperts.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/integrationexperts.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/integrationexperts.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/integrationexperts.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/integrationexperts.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/integrationexperts.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/integrationexperts.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/integrationexperts.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/integrationexperts.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/integrationexperts.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/integrationexperts.wordpress.com/314/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/integrationexperts.wordpress.com/314/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/integrationexperts.wordpress.com/314/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=314&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dipeshavlani.net/2011/10/19/restoring-biztalk-databases-disaster-recovery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/9f78ceb6e48119d20b56298e098bda2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DipeshA</media:title>
		</media:content>

		<media:content url="http://integrationexperts.files.wordpress.com/2011/10/bts_ls_jobs.jpg" medium="image" />
	</item>
		<item>
		<title>BizTalk Service Packs and Cummulative Updates List</title>
		<link>http://dipeshavlani.net/2011/09/02/biztalk-service-packs-and-cummulative-updates-list/</link>
		<comments>http://dipeshavlani.net/2011/09/02/biztalk-service-packs-and-cummulative-updates-list/#comments</comments>
		<pubDate>Fri, 02 Sep 2011 00:12:13 +0000</pubDate>
		<dc:creator>DipeshA</dc:creator>
				<category><![CDATA[BizTalk 2006/2009]]></category>
		<category><![CDATA[BizTalk 2010]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[2009]]></category>
		<category><![CDATA[2010]]></category>
		<category><![CDATA[biztalk server]]></category>
		<category><![CDATA[cu]]></category>
		<category><![CDATA[cummulative updates]]></category>
		<category><![CDATA[service pack]]></category>
		<category><![CDATA[sp]]></category>

		<guid isPermaLink="false">http://dipeshavlani.net/?p=308</guid>
		<description><![CDATA[You can get a list of all SPs and CUs for BizTalk from kb article below: KB Article<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=308&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>You can get a list of all SPs and CUs for BizTalk from kb article below:<br />
<a href="http://support.microsoft.com/kb/2555976">KB Article</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/integrationexperts.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/integrationexperts.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/integrationexperts.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/integrationexperts.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/integrationexperts.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/integrationexperts.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/integrationexperts.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/integrationexperts.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/integrationexperts.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/integrationexperts.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/integrationexperts.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/integrationexperts.wordpress.com/308/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/integrationexperts.wordpress.com/308/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/integrationexperts.wordpress.com/308/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=308&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dipeshavlani.net/2011/09/02/biztalk-service-packs-and-cummulative-updates-list/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/9f78ceb6e48119d20b56298e098bda2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DipeshA</media:title>
		</media:content>
	</item>
		<item>
		<title>BizTalk Maintenance Jobs in SQL Server</title>
		<link>http://dipeshavlani.net/2011/08/23/biztalk-maintenance-jobs-in-sql-server/</link>
		<comments>http://dipeshavlani.net/2011/08/23/biztalk-maintenance-jobs-in-sql-server/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 23:32:04 +0000</pubDate>
		<dc:creator>DipeshA</dc:creator>
				<category><![CDATA[BizTalk 2006/2009]]></category>
		<category><![CDATA[BizTalk 2010]]></category>
		<category><![CDATA[BizTalk Perf Tuning]]></category>

		<guid isPermaLink="false">http://dipeshavlani.net/?p=293</guid>
		<description><![CDATA[I recently came across a situation where I had to identify bottlenecks on a BizTalk server which was performing like a snail. I have written a blog post about this here. However, I also realised the importance of various BizTalk jobs in SQL Server during this process. I would like to share with you what I learnt [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=293&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I recently came across a situation where I had to identify bottlenecks on a BizTalk server which was performing like a snail. I have written a blog post about this <a href="http://dipeshavlani.net/2011/07/29/improving-biztalk-server-throughput-and-identifying-bottlenecks/">here.</a></p>
<p>However, I also realised the importance of various BizTalk jobs in SQL Server during this process. I would like to share with you what I learnt in relation to this and how one should keep an eye on these sql jobs as they play a pivotal role in highly (&amp; poorly) performing BizTalk setups.</p>
<p>There are about 12 sql jobs in BT 2009 and 13 jobs in BT 2010 which play their own little role when it comes to ensuring good BizTalk performance.</p>
<p><img src="http://integrationexperts.files.wordpress.com/2011/08/bt_jobs.jpg" alt="BizTalk Jobs" /></p>
<p>The DTA purge job is disabled by default and can be enabled if the tracking database gets too big.  The messagebox cleanup job is also disabled by default as it is triggered by the ManageRefCountLog job as needed.</p>
<p>It is very important to note that if these jobs dont run on a timely manner especially when the tracking and spool tables get bigger than the set throttling limit, BizTalk starts throttling. The moment BizTalk starts throttling, performance starts to degrade.</p>
<p>Lets look at what each job is meant to do (referenced from <a href="http://support.microsoft.com/kb/919776#top">MS Support</a>):</p>
<table style="width:815px;height:100%;font-size:10px;" border="1" cellspacing="1">
<tbody>
<tr>
<th>Job name</th>
<th>Description</th>
<th>Enabled by default</th>
</tr>
<tr>
<td>Backup BizTalk Server</td>
<td>Consists of three steps. Step 1 performs full database backups of the BizTalk Server databases. Step 2 backs up the BizTalk Server database logs. Step 3 specifies for how long the backup history is kept.</td>
<td>No</td>
</tr>
<tr>
<td>CleanupBTFExpiredEntriesJob_BizTalkMgmtDb</td>
<td>Deletes expired BizTalk Framework entries from the BizTalk Management (BizTalkMgmtDb) database.</td>
<td>Yes</td>
</tr>
<tr>
<td>DTA Purge and Archive</td>
<td>Automates the archiving of tracked messages and the purging of the BizTalk Tracking database to maintain a healthy system and to keep the tracking data archived for future use.<strong>Note</strong> On BizTalk Server 2004, this job is created after you install BizTalk Server 2004 Service Pack 2.</td>
<td>No</td>
</tr>
<tr>
<td>MessageBox_DeadProcesses_Cleanup_BizTalkMsgBoxDb</td>
<td>Detects when a BizTalk Server host instance (BTSNTSvc.exe) has stopped responding. The job then releases the work from the host instance so a different host instance can finish the tasks.</td>
<td>Yes</td>
</tr>
<tr>
<td>MessageBox_Message_Cleanup_BizTalkMsgBoxDb</td>
<td>Removes all messages that are not referenced by any subscribers in the BizTalkMsgBoxDb database tables.<strong>Important</strong> This job is also started by the <strong>MessageBox_Message_ManageRefCountLog_BizTalkMsgBoxDb</strong>job. Therefore, we recommend that you disable this job.<strong>Note</strong> On BizTalk Server 2004, this job is enabled by default. Therefore, we recommend that you disable this job.</td>
<td>No</td>
</tr>
<tr>
<td>MessageBox_Message_ManageRefCountLog_BizTalkMsgBoxDb</td>
<td>Manages the reference count logs for messages and determines when a message is no longer referenced by a subscriber.This job runs in an infinite loop and deletes the entries from the two individual message reference count logs. This job also calls the <strong>MessageBox_Message_Cleanup_BizTalkMsgBoxDb</strong>job.<strong>Important</strong> At first, the <strong>MessageBox_Message_ManageRefCountLog_BizTalkMsgBoxDb</strong> job status icon displays a status of <strong>Success</strong>. However, there will be no corresponding success entry in the job history. If one of the jobs in the <strong>MessageBox_Message_ManageRefCountLog_BizTalkMsgBoxDb</strong> job fails, a failure entry appears in the job history and the status icon displays a status of <strong>Failure</strong>. The job will always display a status of <strong>Failure</strong> after the first failure. To verify that the other BizTalk Server SQL Server Agent jobs run correctly, check the status of the other BizTalk Server SQL Server Agent jobs.</p>
<p><strong>Note</strong> On BizTalk Server 2004, this job is created after you install BizTalk Server 2004 Service Pack 2.</td>
<td>Yes</td>
</tr>
<tr>
<td>MessageBox_Parts_Cleanup_BizTalkMsgBoxDb</td>
<td>Removes all message parts that are no longer referenced by a message in the BizTalkMsgBoxDb database tables. All messages are composed of one or more message parts that contain the message data.</td>
<td>Yes</td>
</tr>
<tr>
<td>MessageBox_UpdateStats_BizTalkMsgBoxDb</td>
<td>Updates the statistics for the BizTalkMsgBoxDb database.<strong>Note</strong> This job does not exist on BizTalk Server 2004.</td>
<td>Yes</td>
</tr>
<tr>
<td>Monitor BizTalk Server</td>
<td>Scans for any known issues with the BizTalkMgmtDb, BizTalkMsgBoxDb, and BizTalkDTADb databases. This includes orphaned instances.<strong>Note</strong> This job is created on BizTalk Server 2010.</td>
<td>Yes</td>
</tr>
<tr>
<td>Operations_OperateOnInstances_OnMaster_BizTalkMsgBoxDb</td>
<td>Used for multiple BizTalkMsgBoxDb database deployment. It asynchronously performs operational actions. For example, it asynchronously performs bulk terminates on the master BizTalkMsgBoxDb database after those changes are applied to the subordinate BizTalkMsgBoxDb database. <strong>Note</strong> This job does not exist on BizTalk Server 2004. </td>
<td>Yes</td>
</tr>
<tr>
<td>PurgeSubscriptionsJob_BizTalkMsgBoxDb</td>
<td>Purges unused subscription predicates from the BizTalkMsgBoxDb database.</td>
<td>Yes</td>
</tr>
<tr>
<td>Rules_Database_Cleanup_BizTalkRuleEngineDb</td>
<td>Purges old audit data from the Rule Engine (BizTalkRuleEngineDb) database every 90 days. This job also purges old history data (deploy/undeploy notifications) from the Rule Engine (BizTalkRuleEngineDb) database every 3 days.<strong>Note</strong> This job is created on BizTalk Server 2009.</td>
<td>Yes</td>
</tr>
<tr>
<td>TrackedMessages_Copy_BizTalkMsgBoxDb</td>
<td>Copies the message bodies of tracked messages from the BizTalkMsgBoxDb database to the Tracking (BizTalkDTADb) database.</td>
<td>Yes</td>
</tr>
<tr>
<td>TrackingSpool_Cleanup_BizTalkMsgBoxDb</td>
<td>Purges inactive tracking spool tables to free database space.<strong>Note</strong> This job exists only on BizTalk Server 2004.</td>
<td></td>
</tr>
</tbody>
</table>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/integrationexperts.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/integrationexperts.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/integrationexperts.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/integrationexperts.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/integrationexperts.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/integrationexperts.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/integrationexperts.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/integrationexperts.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/integrationexperts.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/integrationexperts.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/integrationexperts.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/integrationexperts.wordpress.com/293/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/integrationexperts.wordpress.com/293/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/integrationexperts.wordpress.com/293/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=293&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dipeshavlani.net/2011/08/23/biztalk-maintenance-jobs-in-sql-server/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/9f78ceb6e48119d20b56298e098bda2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DipeshA</media:title>
		</media:content>

		<media:content url="http://integrationexperts.files.wordpress.com/2011/08/bt_jobs.jpg" medium="image">
			<media:title type="html">BizTalk Jobs</media:title>
		</media:content>
	</item>
		<item>
		<title>Improving BizTalk Server throughput and identifying bottlenecks</title>
		<link>http://dipeshavlani.net/2011/07/29/improving-biztalk-server-throughput-and-identifying-bottlenecks/</link>
		<comments>http://dipeshavlani.net/2011/07/29/improving-biztalk-server-throughput-and-identifying-bottlenecks/#comments</comments>
		<pubDate>Fri, 29 Jul 2011 03:10:48 +0000</pubDate>
		<dc:creator>DipeshA</dc:creator>
				<category><![CDATA[BizTalk 2006/2009]]></category>
		<category><![CDATA[BizTalk Perf Tuning]]></category>

		<guid isPermaLink="false">http://dipeshavlani.net/?p=281</guid>
		<description><![CDATA[Recently one of our BizTalk 2009 systems started to suffer in terms of perfomance due to the sudden influx of extra messages that were fed into the system. My team was given the task to identify the bottleneck and provide reccomendations to improve performance. With curiousity, I jumped onto the BizTalk Server and opened up [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=281&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently one of our BizTalk 2009 systems started to suffer in terms of perfomance due to the sudden influx of extra messages that were fed into the system. My team was given the task to identify the bottleneck and provide reccomendations to improve performance.</p>
<p>With curiousity, I jumped onto the BizTalk Server and opened up the performance monitor to observe a few counters. I was interested in the following performance counter:</p>
<p><strong>Message publishing delay (ms) </strong>under the category BizTalk:MessageAgent</p>
<p>Our observation was this delay kept increasing over a period of time which led us to believe that this &#8220;might&#8221; be due to BizTalk throttling. Throttling is a mechanism to control the flow of the workload associated with a host instance.</p>
<p>The next performance counter to confirm our suspicions was the following:</p>
<p><strong>Message Publishing Throttling State</strong> under category BizTalk:Message Agent</p>
<p>This counters tells us if throttling is occuring and the likely causes based on the value in the graph.<br />
<img src="http://integrationexperts.files.wordpress.com/2011/07/perfmon.jpg" alt="" /></p>
<p>Average was 6.           </p>
<p>Now going back to the msdn document (found <a href="http://msdn.microsoft.com/en-us/library/aa559893(v=bts.10).aspx" target="_blank">here</a>), this is what the value 6 represented:</p>
<p>A flag indicating whether the system is throttling message publishing (affecting XLANG message processing and inbound transports).<br />
0: Not throttling<br />
2: Throttling due to imbalanced message publishing rate (input rate exceeds output rate)<br />
4: Throttling due to process memory pressure<br />
5: Throttling due to system memory pressure<br />
<strong>6: Throttling due to database growth</strong><br />
8: Throttling due to high session count<br />
9: Throttling due to high thread count<br />
11: Throttling due to user override on publishing </p>
<p>Possible reasons for this condition include:<br />
A.	The SQL Agent jobs used by BizTalk Server to maintain the BizTalk Server databases not running or are running slowly.<br />
B.	Down-stream components are not processing messages from the in-memory queue in a timely manner.<br />
C.	Number of suspended messages is high.<br />
D.	Maximum sustainable load for the system has been reached.</p>
<p>After the process of elimination, we were able to eliminate A,C and D which left B for further investigation. We were able to eliminated A by checking the record counts in the Spool and TrackingData tables in the messagebox database. The number of records in these tables was less than 500,000 or mostly 0 which proved that BizTalk wasnt throttling due to tracked messages as defined under:</p>
<p><em>&#8220;The Message count in database setting also indirectly defines the threshold for a throttling condition based on the number of messages in the spool table or tracking table. If the number of messages in the spool table or tracking table exceeds 10 times this value then a throttling condition will be triggered. By default the Message count in database value is set to 50,000, which will cause a throttling condition if the spool table or the tracking table exceeds 500,000 messages.&#8221;</em></p>
<p>We could eliminate C and D because the suspended messages queue was almost empty and the CPU &amp; memory (physical and process) consumption on the server was almost negligible.</p>
<p>Apparently, it was the downstream system (WCF service in our case) which was queueing requests and slowing things down due to too many requests to the service.</p>
<p>We then wanted to control the flow of messages going to the WCF port and we could do that by checking &#8220;Ordered Delivery&#8221; in our custom WCF solicit-response sendport. Once this was done, we saw a significant improvement in the throughput and BizTalk wasnt throttling anymore.</p>
<p>In cases where the reason for throttling is the database, I would highly recommend reading the throttling whitepapers on msdn before making any changes to the defaults or disabling throttling altogether.</p>
<p>Cheers!</p>
<p>Dipesh</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/integrationexperts.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/integrationexperts.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/integrationexperts.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/integrationexperts.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/integrationexperts.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/integrationexperts.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/integrationexperts.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/integrationexperts.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/integrationexperts.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/integrationexperts.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/integrationexperts.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/integrationexperts.wordpress.com/281/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/integrationexperts.wordpress.com/281/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/integrationexperts.wordpress.com/281/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dipeshavlani.net&amp;blog=10982158&amp;post=281&amp;subd=integrationexperts&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dipeshavlani.net/2011/07/29/improving-biztalk-server-throughput-and-identifying-bottlenecks/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<georss:point>0.000000 0.000000</georss:point>
		<geo:lat>0.000000</geo:lat>
		<geo:long>0.000000</geo:long>
		<media:content url="http://1.gravatar.com/avatar/9f78ceb6e48119d20b56298e098bda2c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">DipeshA</media:title>
		</media:content>

		<media:content url="http://integrationexperts.files.wordpress.com/2011/07/perfmon.jpg" medium="image" />
	</item>
	</channel>
</rss>
