Message-ID: <1512926825.225.1410860366063.JavaMail.firstname.lastname@example.org> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_224_2127385504.1410860366063" ------=_Part_224_2127385504.1410860366063 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
A "Smooks Resource" is anything that can be used by Sm= ooks in the process of analyzing or transforming a data stream. They could = be pieces of Java logic (DOMElementVisitor), so= me text or script resource, or perhaps simply a configuration parameter.=20
Smooks can be manually configured (through code), but the easiest way of= working is through XML.=20
Note that it is not using any profi= ling. The resource-config element maps directly to an instance of this clas= s.
More Complex Sample:
This sample uses profiling. = So resource 1 is targeted at both "message-exchange-1" and "= message-exchange-2", whereas resource 2 is only targeted at "mess= age-exchange-1" and resource 3 at "message-exchange-2" (see = Smooks.createExecutionContext(Stri= ng)).
For more examples, check out the tu= torials.=20