JBI/SOA Tips: For Large Messages Use MTOM

If the exchanged Business Objects are large and contain multiple different types of binary content, use Message Transmission Optimization Mechanism (MTOM) which uses XML-binary Optimized Packaging (XOP) to transmit binary data.

Create a wrapper message that can contain multiple different types of files.

The wrapped message can then serve as a virtual message.

Use multi-part MIME to physically carry the message so at any point, you don’t have to parse the entire message at once.

Multipart MIME

This ensures efficient transmission of large binary data between the service and its consumers.

Like this write-up? Subscribe to receive more like it.
Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About

Gopalan Suresh Raj, a Senior Software Architect, Published Author, and a Public Speaker, is a member of Sun Microsystems, Inc.'s Research and Architecture team. For the past several years he has been designing solutions using Java and C++.

Contact him at Gopalan.Raj@Sun.com  or Suresh.Gopalan@oracle.com

His personal public profile is available at: https://profiles.google.com/ipersist/

Search

Archives
« May 2015
SunMonTueWedThuFriSat
     
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      
Today