Message Routing in SAP HANA Cloud Integration

  • by Dr. Volker Stiehl, Professor, Ingolstadt Technical University of Applied Sciences
  • January 11, 2016
See how to use SAP HANA Cloud Integration (SAP HCI) to model different message-handling execution paths. You apply the content-based router step in your integration flow and define conditions for each execution path using XML and non-XML expressions.
Learning Objectives

By reading this article you will:

  • Know how to apply the content-based router (CBR) step in your SAP HANA Cloud Integration (HCI)-based scenarios
  • Understand what is necessary to configure the CBR step in your message processing chain correctly
  • Learn how to use either XML or non-XML expressions to formulate the criteria by which the selection of the right execution path is calculated
  • Understand how to influence the execution sequence of the expressions to find the right path
Key Concept

Content-Based Router is the name for one of the Enterprise Integration Patterns first introduced by Gregor Hohpe and Bobby Woolf in their identically named book. It stands for the routing of messages to the correct recipient based on the message’s content and is one of the most frequently used patterns in real-life integration scenarios. The correct delivery of messages is at the heart of every integration solution such as SAP HANA Cloud Integration.

Every major integration project requires a functionality to split the execution sequence for a message based on the message’s content. Integration solutions such as SAP HANA Cloud Integration (SAP HCI) must provide functionality to solve this problem elegantly. I explain how to apply the content-based router (CBR) in your integration flows and the configuration of the CBR step in great detail.

For the definition of the expressions (which finally selects the route to follow) you have two options at your disposal: XML and non-XML. I describe how to formulate routing conditions using XML and non-XML expressions and how you can influence the conditions evaluation sequence.

Cloud computing is currently one of the most hyped topics in the IT industry. However, this trend to cloud computing leads to an increased heterogeneity of a company’s IT landscape and, with that, to an increased need for integration. Messages need to be exchanged between on-premise and cloud applications.

Fortunately cloud-based integration solutions such as SAP HCI help companies solve this integration challenge. If you take a closer look at how messages are being treated within SAP HCI, one question needs to be answered repeatedly: How can you model different message-handling execution paths (aka routes) in one integration scenario? This question stands in the middle of what is known as the CBR, the topic of this article.

Dr. Volker Stiehl

Prof. Dr. Volker Stiehl studied computer science at the Friedrich-Alexander-University of Erlangen-Nuremberg. After 12 years as a developer and senior system architect at Siemens, he joined SAP in 2004. As chief product expert, Volker was responsible for the success of the products SAP Process Orchestration, SAP Process Integration, and SAP HANA Cloud Integration (now SAP HANA Cloud Platform, integration service). He left SAP in 2016 and accepted a position as professor at the Ingolstadt Technical University of Applied Sciences where he is currently teaching business information systems. In September 2011, Volker received his Ph.D. degree from the University of Technology Darmstadt. His thesis was on the systematic design and implementation of applications using BPMN. Volker is also the author of Process-Driven Applications with BPMN as well as the co-author of SAP HANA Cloud Integration and a regular speaker at various national and international conferences.
 

See more by this author


Comments

No comments have been submitted on this article. 


Please log in to post a comment.

To learn more about subscription access to premium content, click here.