Mar 282013
 

Microsoft has asked Stott Creations to create a few ESB samples for the release of BizTalk 2013. We are finalizing those samples right now.

One thing I hate about the current samples that come out of the box with the ESB Toolkit, pharm is that they rely on other samples being created. If I want to learn how to do something, dosage there are steps on how to get the sample I care about working. The problem is that each first step states that another sample needs to be completed before you can start working on this one. I go to the that sample, and that example states that it relies on another sample being created first. All told, I have to create 4 different samples to get to the one that really want to work on. With each sample I incur a compound set of exponential opportunities to make a mistake. It generally means that I never get to the actual sample I want to work on.

That rant drove these samples to be completely self contained, so if you want to learn each of these, they rely on nothing else being done. 

Dynamic Endpoint

image

We will be showing how to use a purchase order to send to various end points. Our sample will be a messaging based solution where we will use a static itinerary resolver. The itinerary that it walks through will use the BRE to resolve both the map and the backend system it is going to. We will be showing that it can be sent to the following endpoints:

  • SQL: New PO processing Interface
  • File: Old PO Processing Interface
  • SMTP: Email to operations that this purchase order does not belong to this department
Defining Business Processes

image

We will be showing the following flow within the Itinerary Flow Designer:

  1. Receive Purchase Order
  2. Create Advanced Shipment Notification
  3. Warehouse Notification
  4. Email confirmation

We will show, using the BRE, how this same flow can orders, and how the end points, even though they are for the same flow, based on the data, will go to two different warehouses. The two different areas are defined in this map:
image

Once we show that is working, we are going to add another warehouse to the mix based on some new criteria, which means we add a new rule to the policy and it is now able to handle this new warehouse:
image

Agility

We will show a member verification process as part of an order process. This process will have the following steps:

image

  1. State Verification
  2. Item Verification

When, we will show that there is a new service that is brought online, and we will change the itinerary to add this new step, and watch the new flow without breaking any logic. We will deploy a new map, and add the additional step into the flow, deploy the new itinerary. The new flow will be:

image

  1. State Verification
  2. Member Id Verification
  3. Item Verification
Exception Handling

image

We are going to step outside of ‘ESB World’ and show a standard orchestration that fails, and that orchestration has been setup to send data to the exception handling mechanism. This means that the management console remains ‘empty’ and that the Exception Portal being configured for notifications that an email will be sent out notifying of the failure. The failure will be a mis-configured send port that is bound to the orchestration. We will show that you can resubmit the message back for the orchestration to reprocess it after the send port was corrected.

Repair and resubmit will also be shown, where you can modify the message (as the order will have 0 orders bought, which throws a separate error).

After resubmission, you see the process complete. Again, the best part of this that instead of suspended messages in the message box (I am sure you have never seen this in a production environment before), the messages go to the ExceptionDb and can be handled separately without clogging up the message box.

  • Dan Nagel

    I’ve been searching for a set of concise ESB Tookit samples – do you have an ETA when they’ll be posted? Will you be posting a link to them here?
    Thanks!

    • Eric Stott

      They will be available soon. Keep your eyes open, I will publish where you can get them on this blog.

  • Dan Nagel

    I’ve been searching for a set of concise ESB Toolkit examples – do you have an ETA when they’ll be available? Will you post them here?
    Thanks!

    • estott

      They are the property of Microsoft, you will have to contact them to obtain them.

      If you or your company would like to use us to evaluate your ESB implementation, please contact us directly.

    • Eric Stott

      They are the property of Microsoft, if you want them, you will have to contact them.

      • Steve Culshaw

        You said “contact them” … do you have an actual endpoint at Microsoft that can be contacted to get hold of the samples?, as otherwise a generic email to Microsoft isn’t very likely to work 🙁

        • Eric Stott

          Mark Mortimore is the person who is in charge now.

        • manohar

          Steve,did you contacted the Microsoft and got the samples?

          • Steve Culshaw

            Nope