Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 11. Common Use Cases
11.1. Support for Processing Huge Messages
Note
Since JBoss Fuse 6.3, the Smooks component for SwitchYard is deprecated and will be removed in a future release of JBoss Fuse.
Smooks supports the following types of processing for huge messages:
One-to-one transformation
: This is the process of transforming a huge message from its source format (for example, XML) to a huge message in a target format (EDI, CSV, XML, and so on).Splitting and routing
: Splitting of a huge message into smaller (more consumable) messages in any format (EDI, XML, Java etc.) and routing of those smaller messages to a number of different destination types (File, JMS, Database).Persistence
: Persisting the components of the huge message to a Database, from where they can be more easily queried and processed. Within Smooks, we consider this to be a form of splitting and routing (routing to a Database).
All of the above is possible without writing any code (that is, in a declarative manner). They can also be handled in a single pass over the source message, splitting and routing in parallel (plus routing to multiple destinations of different types and in different formats).
Note
When processing huge messages with Smooks, make sure you are using the SAX filter for better performance.