This section explains how the Message EIP can be implemented using WSO2 ESB. The following topics are covered:
Table of Contents |
---|
Introduction to Message
In an enterprise which that uses Message Channels to connect between two different applications, the information is required to be packaged you must package information as a data set, which enables transmission of information . Data sets facilitate information transmission from one application to the otheranother. The Message EIP is used as the transfer medium in this case. Message should comprise of A message has two parts - a header which : a header and a body. A header holds information describing about the data being transmitted, its origin, and its destination, and a Body which . A body holds the actual data.
For more information on the Message EIP, refer to http://www.eaipatterns.com/Message.html.
Figure 1: Message EIP
How WSO2 ESB
...
supports the Message EIP
As described in Messaging Bridge EIP, irrespective of the format of a request is sent you send from the client application, WSO2 ESB transforms the message into a SOAP envelopenvelope, which adheres to the Message EIP. The following format code segment illustrates the transformed message of a typical request. Notice that it has a header and a body.
Code Block | ||
---|---|---|
| ||
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.samples" xmlns:xsd="http://services.samples/xsd"> <soapenv <soapenv:Header /> <soapenv:Body> <ser:getQuote> <ser:request> <ser:symbol>FOO<symbol>foo</ser:symbol> </ser:request> </ser:getQuote> < </soapenv:Body> </soapenv:Envelope> | ||
Excerpt | ||
| ||
How to simulate the Message Enterprise Integration Pattern (EIP) using WSO2 ESB. |