Click here to Skip to main content
15,895,656 members
Articles / Programming Languages / C#

BizTalk Enterprise Integration Patterns - Part 1

Rate me:
Please Sign up or sign in to vote.
3.40/5 (6 votes)
25 Apr 2006CPOL3 min read 47.6K   535   23  
This article explains the Content Enricher pattern of Message Oriented Systems for BizTalk Server 2004.
<?xml version="1.0" encoding="utf-8"?>
<BindingInfo xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" Assembly="Microsoft.BizTalk.Deployment, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Version="3.0.1.0" BindingStatus="FullyBound" BoundEndpoints="3" TotalEndpoints="3">
  <ModuleRefCollection>
    <ModuleRef Name="ContentEnricherPattern" Version="1.0.0.0" Culture="neutral" PublicKeyToken="d6c5d0699c6649a0" FullName="">
      <Services>
        <Service Name="ContentEnricherPattern.EnricherProcess">
          <Ports>
            <Port Name="OrderInPort" Modifier="2" BindingOption="1">
              <SendPortRef xsi:nil="true" />
              <DistributionListRef xsi:nil="true" />
              <ReceivePortRef Name="EnricherReceivePort" />
            </Port>
            <Port Name="WSPartStore" Modifier="1" BindingOption="2">
              <SendPortRef Name="ContentEnricherPattern_1.0.0.0_ContentEnricherPattern.EnricherProcess_WSPartStore_d6c5d0699c6649a0" />
              <DistributionListRef xsi:nil="true" />
              <ReceivePortRef xsi:nil="true" />
            </Port>
            <Port Name="OrderOutPort" Modifier="1" BindingOption="1">
              <SendPortRef Name="EnricherSendPort" />
              <DistributionListRef xsi:nil="true" />
              <ReceivePortRef xsi:nil="true" />
            </Port>
          </Ports>
          <Roles />
          <Host Name="BizTalkServerApplication" NTGroupName="BizTalk Application Users" Type="1" />
        </Service>
      </Services>
    </ModuleRef>
  </ModuleRefCollection>
  <SendPortCollection>
    <SendPort Name="ContentEnricherPattern_1.0.0.0_ContentEnricherPattern.EnricherProcess_WSPartStore_d6c5d0699c6649a0" IsStatic="true" IsTwoWay="true">
      <TransmitPipeline Name="Microsoft.BizTalk.DefaultPipelines.PassThruTransmit" FullyQualifiedName="Microsoft.BizTalk.DefaultPipelines.PassThruTransmit, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="2" />
      <PrimaryTransport>
        <Address>http://localhost/WSPartStore/Parts.asmx</Address>
        <TransportType Name="SOAP" Capabilities="899" ConfigurationClsid="7e104b2f-003c-4d9f-a6a5-168f727289f0" />
        <TransportTypeData>&lt;CustomProps&gt;&lt;UseHandlerSetting vt="11"&gt;-1&lt;/UseHandlerSetting&gt;&lt;UseProxy vt="11"&gt;0&lt;/UseProxy&gt;&lt;AuthenticationScheme vt="8"&gt;Anonymous&lt;/AuthenticationScheme&gt;&lt;ProxyPort vt="3"&gt;80&lt;/ProxyPort&gt;&lt;/CustomProps&gt;</TransportTypeData>
        <RetryCount>3</RetryCount>
        <RetryInterval>5</RetryInterval>
        <ServiceWindowEnabled>false</ServiceWindowEnabled>
        <FromTime>2006-03-24T00:00:00.0000000-08:00</FromTime>
        <ToTime>2006-03-24T23:59:59.0000000-08:00</ToTime>
        <Primary>true</Primary>
        <OrderedDelivery>false</OrderedDelivery>
      </PrimaryTransport>
      <SecondaryTransport>
        <Address />
        <RetryCount>3</RetryCount>
        <RetryInterval>5</RetryInterval>
        <ServiceWindowEnabled>false</ServiceWindowEnabled>
        <FromTime>2006-03-24T00:00:00.0000000-08:00</FromTime>
        <ToTime>2006-03-24T23:59:59.0000000-08:00</ToTime>
        <Primary>false</Primary>
        <OrderedDelivery>false</OrderedDelivery>
      </SecondaryTransport>
      <ReceivePipeline Name="Microsoft.BizTalk.DefaultPipelines.PassThruReceive" FullyQualifiedName="Microsoft.BizTalk.DefaultPipelines.PassThruReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="1" />
      <ReceivePipelineData xsi:nil="true" />
      <Tracking>0</Tracking>
      <Filter />
      <Transforms />
      <InboundTransforms />
    </SendPort>
    <SendPort Name="EnricherSendPort" IsStatic="true" IsTwoWay="false">
      <TransmitPipeline Name="Microsoft.BizTalk.DefaultPipelines.XMLTransmit" FullyQualifiedName="Microsoft.BizTalk.DefaultPipelines.XMLTransmit, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="2" />
      <PrimaryTransport>
        <Address>C:\ContentEnricherPattern\Out\Out_%MessageID%.xml</Address>
        <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
        <TransportTypeData>&lt;CustomProps&gt;&lt;CopyMode vt="19"&gt;1&lt;/CopyMode&gt;&lt;FileName vt="8"&gt;Out_%MessageID%.xml&lt;/FileName&gt;&lt;AllowCacheOnWrite vt="11"&gt;0&lt;/AllowCacheOnWrite&gt;&lt;/CustomProps&gt;</TransportTypeData>
        <RetryCount>3</RetryCount>
        <RetryInterval>5</RetryInterval>
        <ServiceWindowEnabled>false</ServiceWindowEnabled>
        <FromTime>2006-03-24T00:00:00.0000000-08:00</FromTime>
        <ToTime>2006-03-24T23:59:59.0000000-08:00</ToTime>
        <Primary>true</Primary>
        <OrderedDelivery>false</OrderedDelivery>
      </PrimaryTransport>
      <SecondaryTransport>
        <Address />
        <RetryCount>3</RetryCount>
        <RetryInterval>5</RetryInterval>
        <ServiceWindowEnabled>false</ServiceWindowEnabled>
        <FromTime>2006-03-24T00:00:00.0000000-08:00</FromTime>
        <ToTime>2006-03-24T23:59:59.0000000-08:00</ToTime>
        <Primary>false</Primary>
        <OrderedDelivery>false</OrderedDelivery>
      </SecondaryTransport>
      <ReceivePipelineData xsi:nil="true" />
      <Tracking>0</Tracking>
      <Filter />
      <Transforms />
    </SendPort>
  </SendPortCollection>
  <DistributionListCollection />
  <ReceivePortCollection>
    <ReceivePort Name="EnricherReceivePort" IsTwoWay="false">
      <ReceiveLocations>
        <ReceiveLocation Name="EnricherReceiveLocation">
          <Address>C:\ContentEnricherPattern\In\*.xml</Address>
          <PublicAddress />
          <Primary>true</Primary>
          <ReceiveLocationTransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
          <ReceiveLocationTransportTypeData>&lt;CustomProps&gt;&lt;BatchSize vt="19"&gt;20&lt;/BatchSize&gt;&lt;FileMask vt="8"&gt;*.xml&lt;/FileMask&gt;&lt;FileNetFailRetryCount vt="19"&gt;5&lt;/FileNetFailRetryCount&gt;&lt;FileNetFailRetryInt vt="19"&gt;5&lt;/FileNetFailRetryInt&gt;&lt;/CustomProps&gt;</ReceiveLocationTransportTypeData>
          <ReceivePipeline Name="Microsoft.BizTalk.DefaultPipelines.XMLReceive" FullyQualifiedName="Microsoft.BizTalk.DefaultPipelines.XMLReceive, Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Type="1" />
          <ReceivePipelineData xsi:nil="true" />
          <Enable>false</Enable>
          <ReceiveHandler Name="BizTalkServerApplication">
            <TransportType Name="FILE" Capabilities="11" ConfigurationClsid="5e49e3a6-b4fc-4077-b44c-22f34a242fdb" />
          </ReceiveHandler>
        </ReceiveLocation>
      </ReceiveLocations>
      <SendPipelineData xsi:nil="true" />
      <Authentication>0</Authentication>
      <Tracking>0</Tracking>
      <Transforms />
    </ReceivePort>
  </ReceivePortCollection>
  <PartyCollection />
</BindingInfo>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect AT&T Wi-Fi Services
United States United States
Naveen has done his Masters (M.S.) in Computer science, has started his career programming the mainframes and now has more than a decade of programming, development and design experience. Naveen has a sharp eye and keen observation skills. Naveen has worked for several companies and strived hard to build large scale business applications and bringing better solutions to the table.
Quite recently Naveen has built a fairly complex integration platform for a large bank. His hobbies include training, mentoring and research. Naveen spends his free time visiting National Parks nationwide.

Naveen has developed the BizTalk Control Center (BCC)
http://biztalkcontrolcenter.codeplex.com

Comments and Discussions