Document Message

Pattern Catalog

Previous Previous   Next Next

Site HomePatterns HomeTable of Contents

An application would like to transfer data to another application. It could do so using File Transfer or Shared Database, but those approaches have shortcomings. The transfer might work better using Messaging.

How can messaging be used to transfer data between applications?

Use a Document Message to reliably transfer a data structure between applications.

Whereas a Command Message tells the receiver to invoke certain behavior, a Document Message just passes data and lets the receiver decide what, if anything, to do with the data. The data is a single unit of data, a single object or data structure which may decompose into smaller units.

...

Related patterns: File Transfer, Shared Database


Enterprise Integration Patterns

Find the full description of this pattern in:

Enterprise Integration Patterns
Gregor Hohpe and Bobby Woolf
ISBN 0321200683
650 pages
Addison-Wesley

HomePatternsTable of ContentsPrevious Previous   Next Next