1.22. Multiple Outputs/Results
Smooks produces output in these ways:
- Through in-result instances. These are returned in the result instances passed to the
Smooks.filterSource
method. - During the filtering process. This is achieved through output generated and sent to external endpoints (such as files, JMS destinations and databases) during the filtering process. Message fragment events trigger automatic routing to external endpoints.
Important
Smooks can generate output in the above ways in a single filtering pass of a message stream. It does not need to filter a message stream multiple times to generate multiple outputs.