The content in this documentation is for older versions of WSO2 products. For updated information on Enterprise Integration Patterns, go to the latest Micro Integrator documentation. "> The content in this documentation is for older versions of WSO2 products. For updated information on Enterprise Integration Patterns, go to the latest Micro Integrator documentation.

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 14 Next »

Introduction to Message

In an enterprise which uses Message Channels to connect between two different applications, you need to package information as a data set. Data sets facilitate information transmission from one application to another. Message EIP is used as the transfer medium in this case. A Message comprises of two parts as a header and a body. A header holds information about the data being transmitted, its origin and destination. A body holds the actual data.

For more information on Message EIP, refer to http://www.eaipatterns.com/Message.html.


 

 

 

Figure 1: Message EIP

How WSO2 ESB Supports 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 envelop, 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.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ser="http://services.samples" xmlns:xsd="http://services.samples/xsd">
   <soapenv:Header />
   <soapenv:Body>
        <ser:getQuote>        
         <ser:request>
             <ser:symbol>FOO</ser:symbol>
         </ser:request>      
      </ser:getQuote>
   </soapenv:Body>
</soapenv:Envelope>

  • No labels