QuickLearn Blog Samples

Skip Navigation LinksQuickLearn Blog Samples : Itinerary Broker Services: The Feature We Do Not Speak Of : Sample Default and Strict Itineraries

Description

These are sample itineraries exported in "Default" and "Strict" mode. Each mode has unique features which are described in this blog post.

"Default" Mode Itinerary

<?xml version="1.0" encoding="utf-8"?>
<Itinerary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" uuid="" beginTime="" completeTime="" state="Pending" isRequestResponse="false" servicecount="5" name="Invoice" version="1.0" xmlns="http://schemas.microsoft.biztalk.practices.esb.com/itinerary">
<BizTalkSegment interchangeId="" epmRRCorrelationToken="" receiveInstanceId="" messageId="" xmlns="" />
<ServiceInstance name="Microsoft.Practices.ESB.Services.Transform" type="Messaging" state="Pending" position="0" isRequestResponse="false" xmlns="" />
<Services xmlns="">
<Service uuid="cfbe36c5-d85c-44e9-9549-4a7abf2106c5" beginTime="" completeTime="" name="Microsoft.Practices.ESB.Services.Transform" type="Messaging" state="Pending" isRequestResponse="false" position="0" serviceInstanceId="" />
</Services>
<Services xmlns="">
<Service uuid="395ccb43-5c6e-4d10-aec1-d0e2da49271c" beginTime="" completeTime="" name="NWind.DetermineStatus" type="Orchestration" state="Pending" isRequestResponse="false" position="1" serviceInstanceId="" />
</Services>
<Services xmlns="">
<Service uuid="774488bc-e5b9-4a4e-9ae7-d25cdf23fd1c" beginTime="" completeTime="" name="Microsoft.Practices.ESB.Services.Routing" type="Orchestration" state="Pending" isRequestResponse="false" position="2" serviceInstanceId="" />
</Services>
<Services xmlns="">
<Service uuid="55c3a758e9e04172aa988a28f40135c3" beginTime="" completeTime="" name="DynamicTest" type="Messaging" state="Pending" isRequestResponse="false" position="3" serviceInstanceId="" />
</Services>
<Services xmlns="">
<Service uuid="cfbe36c5-d85c-44e9-9549-4a7abf2106c5" beginTime="" completeTime="" name="Microsoft.Practices.ESB.Services.Transform" type="Messaging" state="Pending" isRequestResponse="false" position="4" serviceInstanceId="" />
</Services>
<ResolverGroups xmlns="">
<Resolvers serviceId="Microsoft.Practices.ESB.Services.Transform0">&lt;![CDATA[UDDI3:\\searchQualifiers=andAllKeys;categorySearch=;bindingKey=uddi:esb:invoiceprocessbinding;serviceKey=;]]&gt;</Resolvers>
<Resolvers serviceId="NWind.DetermineStatus1" />
<Resolvers serviceId="Microsoft.Practices.ESB.Services.Routing2">&lt;![CDATA[BRE:\\policy=ResolveInvoiceAckService;version=;useMsg=true;messageFile=;recognizeMessageFormat=false;]]&gt;&lt;![CDATA[STATIC:\\transportType=WSS;transportLocation=wss://localhost:33019/Purchasing/Invoices;action=;endpointConfig=;jaxRpcResponse=false;messageExchangePattern=;targetNamespace=;transformType=;]]&gt;</Resolvers>
<Resolvers serviceId="DynamicTest3" />
<Resolvers serviceId="Microsoft.Practices.ESB.Services.Transform4">&lt;![CDATA[BRE:\\policy=ResolveInvoiceDestinationMap;version=;useMsg=false;messageFile=;recognizeMessageFormat=false;]]&gt;</Resolvers>
</ResolverGroups>
</Itinerary>

"Strict" Mode Itinerary

<?xml version="1.0" encoding="utf-8"?>
<Itinerary xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" uuid="" beginTime="" completeTime="" state="Pending" isRequestResponse="false" servicecount="3" name="BrokerService" version="1.0" xmlns="http://schemas.microsoft.biztalk.practices.esb.com/itinerary">
<BizTalkSegment interchangeId="" epmRRCorrelationToken="" receiveInstanceId="" messageId="" xmlns="" />
<ServiceInstance name="Microsoft.Practices.ESB.Itinerary.Services.Broker.MessagingBroker" type="Messaging" state="Pending" position="0" isRequestResponse="false" xmlns="" />
<Services xmlns="">
<Service uuid="4810569C-8FF2-4162-86CE-47692A0B4017" beginTime="" completeTime="" name="Microsoft.Practices.ESB.Itinerary.Services.Broker.MessagingBroker" type="Messaging" state="Pending" isRequestResponse="false" position="0" serviceInstanceId="" stage="receiveInbound" id="b3638de906d74248ba30201a78ac4937" businessName="Broker">
<PropertyBag>
<Property name="FileOutport" value="&lt;![CDATA[Filter=[XPATH:\\expression=1=1;];resolverId=Microsoft.Practices.ESB.Itinerary.Services.Broker.MessagingBroker0;resolverPosition=0;id=b5abba68916547e9a80ad66d0a6f9b04]]&gt;" />
<Property name="OtherOutport" value="&lt;![CDATA[Filter=[XPATH:\\expression=1=2;];resolverId=Microsoft.Practices.ESB.Itinerary.Services.Broker.MessagingBroker0;resolverPosition=0;id=0bd8fa2434f144a9acc15c038124755b]]&gt;" />
</PropertyBag>
</Service>
</Services>
<Services xmlns="">
<Service uuid="774488bc-e5b9-4a4e-9ae7-d25cdf23fd1c" beginTime="" completeTime="" name="Microsoft.Practices.ESB.Services.Routing" type="Orchestration" state="Pending" isRequestResponse="false" position="1" serviceInstanceId="" id="b5abba68916547e9a80ad66d0a6f9b04" nextId="00000000000000000000000000000000" businessName="RoutingServiceFILE" />
</Services>
<Services xmlns="">
<Service uuid="774488bc-e5b9-4a4e-9ae7-d25cdf23fd1c" beginTime="" completeTime="" name="Microsoft.Practices.ESB.Services.Routing" type="Orchestration" state="Pending" isRequestResponse="false" position="2" serviceInstanceId="" id="0bd8fa2434f144a9acc15c038124755b" nextId="00000000000000000000000000000000" businessName="RoutingServiceOther" />
</Services>
<ResolverGroups xmlns="">
<Resolvers serviceId="Microsoft.Practices.ESB.Itinerary.Services.Broker.MessagingBroker0">&lt;![CDATA[CONTEXT:\\includeAll=true;]]&gt;</Resolvers>
<Resolvers serviceId="Microsoft.Practices.ESB.Services.Routing1">&lt;![CDATA[STATIC:\\transportType=FILE;transportLocation=C:\FILE_%MessageID%.xml;action=;endpointConfig=;jaxRpcResponse=false;messageExchangePattern=;targetNamespace=;transformType=;]]&gt;</Resolvers>
<Resolvers serviceId="Microsoft.Practices.ESB.Services.Routing2">&lt;![CDATA[STATIC:\\transportType=FILE;transportLocation=C:\Other_%MessageID%.xml;action=;endpointConfig=;jaxRpcResponse=false;messageExchangePattern=;targetNamespace=;transformType=;]]&gt;</Resolvers>
</ResolverGroups>
</Itinerary>
 

All sample code provided AS-IS with no warranties.