namespace TM.TransSmart.Pipelines { using System; using System.Collections.Generic; using Microsoft.BizTalk.PipelineOM; using Microsoft.BizTalk.Component; using Microsoft.BizTalk.Component.Interop; public sealed class Shipments_XMLReceive : Microsoft.BizTalk.PipelineOM.ReceivePipeline { private const string _strPipeline = " "+ " f66b9f5e-43ff-4f5f-ba46-885348ae1b4e Receive"+ " PipelineComponents.TrackingIdDecodingComponent,TM.Shared.Pipeli"+ "neComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d TrackingIdDecodingComponent v1.0.2 Custom Pipeline "+ "Component used retrieve Context for tracking 1.0.2 "+ " TRUE FALSE "+ " D:\\LOG\\TrackingIdDecodingComponent v1.0.2_DEBUG.txt"+ " TrackingIdDecodingCompone"+ "nt v1.0.2 true "+ " PipelineComponents.EncodingComponent,TM.Shared.PipelineComponents, "+ "Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d Enc"+ "odingComponent v1.3 Custom Pipeline Component used to change M"+ "essage Encoding 1.3.0.0 <"+ "Property Name=\"ComponentEnabled\"> <"+ "/Property> "+ " EncodingComponent v1.3 true PipelineComponents.TrackingComponent,TM.Shared.PipelineComponents, Version=3.0.1.0,"+ " Culture=neutral, PublicKeyToken=db1d2fbb73684f7d TrackingComponent v"+ "2.0.2 Custom Pipeline Component used to log messages instead o"+ "f DTA Tracking 2.0.2 "+ " "+ " "+ " "+ " "+ " "+ " 0 "+ " TrackingComponent v2.0.2 true PipelineComponents.ReplaceComponent,TM.Shared.PipelineComponents, Version=3.0.1.0, "+ "Culture=neutral, PublicKeyToken=db1d2fbb73684f7d ReplaceComponent v1."+ "3 Custom Pipeline Component used to replace strings in Message"+ " Content (delimiter: |) 1.3.0.0 "+ " "+ " Replace"+ "Component v1.3 true PipelineComponents.NamespaceComponent,TM.Shared.PipelineCompon"+ "ents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d NamespaceComponent v1.3 Custom Pipeline Component used to A"+ "dd, Remove or Replace the Message Namespace 1.3.0.0 "+ " NamespaceComponent v1.3 true "+ " PipelineComponents.TrackingComponent,TM.Shared.Pipel"+ "ineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d TrackingComponent v2.0.2 Custom Pipeline Component"+ " used to log messages instead of DTA Tracking 2.0.2 "+ " "+ " "+ " "+ " "+ " "+ " 0 "+ "TrackingComponent v2.0.2 true "+ " TM.TransSmart.Pip"+ "elineComponents.CPL_Debatch,TM.TransSmart.PipelineComponents, Version=3.0.1.0, Culture=neutral, Publ"+ "icKeyToken=089e5464cda5fc95 TransSmart Debatch Disassembler Streaming TransSmart Debatch Disassembler Component "+ " 1.0 TransSmart Debatch Di"+ "sassembler true "+ " PipelineComponents.TrackingComponent,TM.S"+ "hared.PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d "+ " TrackingComponent v2.0.2 Custom Pipelin"+ "e Component used to log messages instead of DTA Tracking 2.0.2 "+ " <"+ "/Property> "+ " "+ " 0 TrackingComponent v2.0.2 true "; private const string _versionDependentGuid = "2b7dae02-82a7-4519-bea7-1d3ccbc4d9d9"; public Shipments_XMLReceive() { Microsoft.BizTalk.PipelineOM.Stage stage = this.AddStage(new System.Guid("9d0e4103-4cce-4536-83fa-4a5040674ad6"), Microsoft.BizTalk.PipelineOM.ExecutionMode.all); IBaseComponent comp0 = Microsoft.BizTalk.PipelineOM.PipelineManager.CreateComponent("PipelineComponents.TrackingIdDecodingComponent,TM.Shared.PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d");; if (comp0 is IPersistPropertyBag) { string comp0XmlProperties = " TRUE "+ " FALSE <"+ "Value xsi:type=\"xsd:string\">D:\\LOG\\TrackingIdDecodingComponent v1.0.2_DEBUG.txt "; PropertyBag pb = PropertyBag.DeserializeFromXml(comp0XmlProperties);; ((IPersistPropertyBag)(comp0)).Load(pb, 0); } this.AddComponent(stage, comp0); IBaseComponent comp1 = Microsoft.BizTalk.PipelineOM.PipelineManager.CreateComponent("PipelineComponents.EncodingComponent,TM.Shared.PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d");; if (comp1 is IPersistPropertyBag) { string comp1XmlProperties = " "; PropertyBag pb = PropertyBag.DeserializeFromXml(comp1XmlProperties);; ((IPersistPropertyBag)(comp1)).Load(pb, 0); } this.AddComponent(stage, comp1); IBaseComponent comp2 = Microsoft.BizTalk.PipelineOM.PipelineManager.CreateComponent("PipelineComponents.TrackingComponent,TM.Shared.PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d");; if (comp2 is IPersistPropertyBag) { string comp2XmlProperties = " "+ " "+ " "+ " 0 <"+ "Property Name=\"MessageInDatabase\"> "; PropertyBag pb = PropertyBag.DeserializeFromXml(comp2XmlProperties);; ((IPersistPropertyBag)(comp2)).Load(pb, 0); } this.AddComponent(stage, comp2); IBaseComponent comp3 = Microsoft.BizTalk.PipelineOM.PipelineManager.CreateComponent("PipelineComponents.ReplaceComponent,TM.Shared.PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d");; if (comp3 is IPersistPropertyBag) { string comp3XmlProperties = " "; PropertyBag pb = PropertyBag.DeserializeFromXml(comp3XmlProperties);; ((IPersistPropertyBag)(comp3)).Load(pb, 0); } this.AddComponent(stage, comp3); IBaseComponent comp4 = Microsoft.BizTalk.PipelineOM.PipelineManager.CreateComponent("PipelineComponents.NamespaceComponent,TM.Shared.PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d");; if (comp4 is IPersistPropertyBag) { string comp4XmlProperties = " "; PropertyBag pb = PropertyBag.DeserializeFromXml(comp4XmlProperties);; ((IPersistPropertyBag)(comp4)).Load(pb, 0); } this.AddComponent(stage, comp4); IBaseComponent comp5 = Microsoft.BizTalk.PipelineOM.PipelineManager.CreateComponent("PipelineComponents.TrackingComponent,TM.Shared.PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d");; if (comp5 is IPersistPropertyBag) { string comp5XmlProperties = " "+ " "+ " "+ " 0 "; PropertyBag pb = PropertyBag.DeserializeFromXml(comp5XmlProperties);; ((IPersistPropertyBag)(comp5)).Load(pb, 0); } this.AddComponent(stage, comp5); stage = this.AddStage(new System.Guid("9d0e4105-4cce-4536-83fa-4a5040674ad6"), Microsoft.BizTalk.PipelineOM.ExecutionMode.firstRecognized); IBaseComponent comp6 = Microsoft.BizTalk.PipelineOM.PipelineManager.CreateComponent("TM.TransSmart.PipelineComponents.CPL_Debatch,TM.TransSmart.PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=089e5464cda5fc95");; if (comp6 is IPersistPropertyBag) { string comp6XmlProperties = " "; PropertyBag pb = PropertyBag.DeserializeFromXml(comp6XmlProperties);; ((IPersistPropertyBag)(comp6)).Load(pb, 0); } this.AddComponent(stage, comp6); stage = this.AddStage(new System.Guid("9d0e410d-4cce-4536-83fa-4a5040674ad6"), Microsoft.BizTalk.PipelineOM.ExecutionMode.all); IBaseComponent comp7 = Microsoft.BizTalk.PipelineOM.PipelineManager.CreateComponent("PipelineComponents.TrackingComponent,TM.Shared.PipelineComponents, Version=3.0.1.0, Culture=neutral, PublicKeyToken=db1d2fbb73684f7d");; if (comp7 is IPersistPropertyBag) { string comp7XmlProperties = " "+ " "+ " "+ " 0 "; PropertyBag pb = PropertyBag.DeserializeFromXml(comp7XmlProperties);; ((IPersistPropertyBag)(comp7)).Load(pb, 0); } this.AddComponent(stage, comp7); } public override string XmlContent { get { return _strPipeline; } } public override System.Guid VersionDependentGuid { get { return new System.Guid(_versionDependentGuid); } } } }