Release notes - Smooks for Mule 1.0
These are the first (non Beta) release notes for the Smooks for Mule module. These first release notes will give an overview of the features of the Smooks for Mule module.
Compatibility with Mule 1.x and Mule 2.x
The Smooks for Mule module is compatible with Mule 1.x (1.4.3 and higher) and Mule 2.x. To be compatible with both versions the module consists of two packages. A separate package for each version. The features of both packages are almost the same. Differences are specified in the release Notes and the user guide.
Smooks
The 1.0.1 version of Smooks is used, which is currently the latest release.
Transformer
The module provides a Mule transformer which uses Smooks to transform about any input format to about any output format (as long as the input format can be converted into a SAX Event stream). Smooks already provides default implementations for several input and output formats like XML, CSV, EDI and Java beans.
The transformer can be configured to let Smooks generate an Execution Report. This is very convenient during development because it shows you how Smooks processes the input message. It is absolutely not recommended to use it during production because it uses a lot of Performance.
Router
The module provides a Mule router which uses Smooks to split, tranform and route messages to one or more Endpoints. Results of synchronous endpoints can be used within the Smooks process.
To dispatch mule messages from within Smooks a Mule Dispatcher visitor for Smooks is provided. Via direct bean binding or via the more a flexible MVEL script, the message payload can be created. The dispatcher also provides several ways to set the headers of the message.
The router can be configured to let Smooks generate an Execution Report. This is very convenient during development because it shows you how Smooks processes the input message. It is absolutely not recommended to use it during production because it uses a lot of Performance.
Mule 2.x configuration schema
For Mule 2.x a configuration XML Schema is provided. This gives you the convenience of easier configuration, schema validation and code completion within the Mule configuration file.
User guide
A complete user guide is provided. It explains all the configuration settings of the module and provides several examples how to configure the different parts in Mule 1.x, Mule 2.x and Smooks.
Examples
For both Mule 1.x and Mule 2.x the following three examples are provided:
- The basic transformation example
- The basic routing example
- EDI to Java example
Mule 2.x has also the following example:
- The huge message processing example