Message-ID: <416887820.8051.1409408214029.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_8050_560054603.1409408214028" ------=_Part_8050_560054603.1409408214028 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