ActiveMatrix Service Bus Developer Center

Labs

The following samples are available as part of the product installation. You need to download and install the product to access the labs.

  • Hello World Mediation Sample

    This getting started example introduces mediation flows and mediation components using a simple application that involves sending a simple SOAP message to a service and receiving a simple SOAP reply message from the service. This is part of the product install, you can find it here:
    \amx\2.1\samples\amsb\HelloWorld

  • Query GDS Mediation

    This is a detailed build out of solutions using ActiveMatrix Service Bus to solve a business use case of an airline reservation system (GDS stands for Global Distribution System). You can find the sample here in the product install: \amx\2.1\samples\amsb\QueryGDS.
    The samples readme over here details this use case: \amx\2.1\samples\amsb\AMSB 2.1 Samples README.pdf

    The following is the list of new samples that have been added to 2.1.0

    • Dynamic Routing: This sample illustrates how runtime routing to a set of target endpoints can be achieved using AMSB. The same sample also shows you how routing logic can be defined based on database lookups.
    • XMLParseRender and SetExchangeVariable: This sample processes raw data in the incoming message and returns structured XML data as the result, using the Parse XML, Render XML, and Set Exchange Variable tasks.
    • Invoke and Generate Reply: This sample illustrates how an incoming request on an operation is split into three Invoke tasks. The results from each of the three Invoke tasks are then aggregated and sent as a reply using the Generate Reply task.
    • TraceLog Custom Mediation: The Trace Log Task demonstrates how a custom mediation task can be used to log data flowing through a mediation flow path at various logging levels.
    • Assign Task Custom mediation: The Assign task demonstrates how a custom mediation task can be used to transform data. It demonstrates how users can transform message data or contribute data to the mediation flow.
  • Custom Mediation Tasks

    It is possible to extend the functionality of ActiveMatrix Service Bus using custom mediation tasks. There are samples as part of the product install that illustrate building custom tasks. You can find these here:
    \amx\2.1\samples\amsb\CustomMediationTasks