Modeling Integration Flows in an Overview

Objective

After completing this lesson, you will be able to Model Integration Flows in an overview.

Integration Flows Modeling

In this Lesson, the Following Topics are Discussed:

  • Integration Flow Design Guidelines Overview.
  • Learn the Basics.
  • Guidelines to Design Enterprise-Grade Integration Flows.
  • Guidelines to Implement Specific Integration Patterns.

Integration Flow Design Guidelines Overview

Integration developers must ensure that integration flows are designed in a robust manner to protect their company's mission-critical business processes. As each use case can be unique, there are as many integration flow models as there are use cases. SAP provides solutions for recurring requirements through the Integration Flow Design Guidelines, which are well-documented and implemented. These example integration flows can be tested directly.

This Section Provides Guidelines for Integration Developers Covering the Following Three Main Aspects:

  • Learn the Basics.
  • Guidelines to Design Enterprise-Grade Integration Flows.
  • Guidelines to Implement Specific Integration Patterns.

The Integration Flows are Designed to Meet the Following Requirements:

  • One specific guideline or pattern is the focus of each integration flow, making it easy for you to understand the topic.
  • You can easily deploy and execute each integration flow with minimal effort, allowing you to test each guideline or pattern on your own.
  • Each reference integration flow can serve as a foundation for developing more intricate scenarios.

Implement the Sample Packages

The last three exercise teach you how to implement and utilize a sample integration flow from the "Learn the Basics" package.

Learn the Basics

Here, the Following Topics will be Discussed Based on Sample Implementations:

  • Start your integration flow design journey by getting familiar with a set of three simple integration flows that demonstrate the basic features of message processing. These flows progressively increase in complexity.
  • Learn how to access (and set) headers and properties.
  • Learn how to design integration scenarios with integration flow to integration flow communication.
  • Learn how to configure adapters.
  • Learn how to transport integration content from a source to a target tenant.
  • Learn how to implement different scenarios to decouple sender and integration flow processing.
  • Learn how to retrieve only delta data from the source system using the current date or the latest date in the payload.
  • Learn how to handle exceptions with an exception subprocess.
  • Learn how to use the monitor application to analyze the behavior of an integration flow at runtime.
  • Learn how to modify content to use different integration flow steps (for example, the content modifier or the content enricher) to modify the message content:
    • Learn how to convert data from a source into a target format.
    • Learn how to encode and decode content.
    • Learn how to handle message mappings.
  • Learn how to use steps that store the message on the tenant database.
  • Learn how to transfer files.

Guidelines to Design Enterprise-Grade Integration Flows

Here, the Following Topics will be Discussed Based on Sample Implementations:

  • Learn to design with high availability.
  • Learn to design with resilience.
  • Learn to deal with limited resources.
  • Learn to design loose coupling.
  • Learn to handle failures gracefully.
  • Learn to design flows readability.
  • Learn to use prepackaged integration content.

Guidelines to Implement Specific Integration Patterns

Based on sample implementations, the following topics will be discussed here:

  • Learn to implement and use an Aggregator pattern.
  • Learn to implement and use a Composed Message Processor pattern.
  • Learn to implement and use a Content based routing pattern.
  • Learn to implement and use a Content Enricher pattern.
  • Learn to implement and use a Content Filter pattern.
  • Learn to implement and use a Message Filter pattern.
  • Learn to implement and use a Recipient List pattern.
  • Learn to implement and use a Resequencer pattern.
  • Learn to implement and use a Scatter-Gather pattern.
  • Learn to implement and use a Splitter pattern.
  • Learn to implement and use a Quality of Service pattern.

Resources

Read more here:

About Designing Enterprise-Grade Integration Flows:
Description of the integration flows at: Guidelines to Design Enterprise-Grade Integration Flows
Basic Documentation
Description of the integration flows at : Learn the Basics
Documentation About Guidelines to Design Enterprise-Grade Integration Flows
Description of the integration flows at: Guidelines to Design Enterprise-Grade Integration Flows
Documentation About Guidelines to Implement Specific Integration Patterns
Description of the package, including further information about the links to the single patterns: Guidelines to Implement Specific Integration Patterns

Summary

SAP offers various solutions for common technical requirements through documentation and implementation examples. These areas include Learn the Basics, Guidelines for Designing Enterprise-Grade Integration Flows, and Guidelines for Implementing Specific Integration Patterns. You can research and use these examples in your own projects.

Create and Configure a General Splitter

Business Scenario

To process every productID of the incoming list, you aim to implement a splitter (iterator) to further expand your integration process.

Task Flow

In this exercise, you will perform the following tasks:

  1. Log on to the integration flow DelayedDelivery_Process.
  2. Create and configure a General Splitter.
  3. Save as version, deploy, and debug your integration process.
  4. Learn more about the splitter component.

Prerequisites

The step of creating a Content Modifier with sample data as payload (XML) has been completed.

Outcome After This Exercise

A General Splitter component is currently running.

What do you Learn Within This Exercise?

Learn to use and configure a General Splitter.

Exercise Options

To carry out this exercise, you can choose from the following options:

  1. Live Environment: Using the instructions provided below, you can perform the steps in your SAP BTP account.
  2. Platform Simulation: Follow the step-by-step instructions within the simulation.
  3. Side-by-side: Follow the step-by-step instructions within the simulation and perform the steps in your SAP BTP account simultaneously.

Note

We strongly recommend to perform the steps in the live environment.

Steps

  1. Log on to the integration flow DelayedDelivery_Process via Integration Suite.

    1. Navigate within the Integration Suite Welcome page to DesignIntegrationsDelayedDelivery_Package_randomNumberDelayedDelivery_Process.

    2. Following the status after the last exercise step.

    3. Imagine that the integration flow is more edited.

  2. Create and configure a General Splitter.

    1. Get a General Splitter from RoutingSplitterGeneral Splitter and place it after the Modify_setPayload component, as described.

    2. Expand the General Splitter configuration and change the name to Splitter_iterateOverProducts.

    3. Switch to tab Processing and enter the following data:

      Field NameInput
      Expression TypeXPath
      XP Expression//Product
      Grouping1
      Streaming<flagged>
      Stop on Exception<flagged>
    4. The element is used in our product list to encapsulate the productIDs. With grouping set to 1, each productID will be processed sequentially.

  3. Save as version, deploy, and debug your integration process.

    1. Perform the following steps.

      1. Save as version.
      2. Deploy.
      3. Jump to the OverviewManage Integration Content.
      4. Set log level to trace.
      5. Deploy again.
      6. Jump again to the OverviewManage Integration Content.
    2. Navigate to your Integration Flow Model in OverviewMonitor Message ProcessingMessage Processing Run.

    3. Choose the Splitter_iterateOverProducts (No. 1:) option and go to the Message Content tab. You will be able to view the payload from the previous step, which includes two products.

    4. At No. 2 and No. 3, you will notice that the message is being processed twice. You can check the payload at the first End to see the first single product.

    5. Choose the last End step to see the second product.

    6. In summary, it can be stated that the General Splitter functions as expected.

  4. Learn more about the splitter component.

    1. Navigate back to your integration process.

    2. Open the configuration bar of the General Splitter, and choose the question mark symbol.

    3. You can directly access the help site of the General Splitter by clicking on the question mark symbol in the configuration bar of the Splitter, which will take you there.

Log in to track your progress & complete quizzes