Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

This section explains how the Message EIP can be implemented using WSO2 ESB. The following topics are covered under Message EIP.:

Table of Contents

Introduction to Message

In an enterprise which that uses Message Channels to connect between two different applications, you need to must package information as a data set. Data sets facilitate information transmission from one application to another. The Message EIP is used as the transfer medium in this case. A Message comprises of message has two parts as : a header and a body. A header holds information about the data being transmitted, its origin, and its destination. 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 you send from the client application, WSO2 ESB transforms the message into a SOAP envelopenvelope, which adheres to the Message EIP. The following code segment illustrates the transformed message of a typical request. Notice that it has a header and a body.

Code Block
languagehtml/xml
<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
hiddentrue
How to simulate the Message Enterprise Integration Pattern (EIP) using WSO2 ESB.