Can Smooks be extended to support other transformation/processing technologies?
Sure. To add support for another transformation or processing technology, you need to implement a ContentHandlerFactory for that technology. As examples, see the following ContentHandlerFactory implementations: • XslContentHandlerFactory : Adds support for XSLT. • StringTemplateContentHandlerFactory : Adds support for the StringTemplate templating framework. • GroovyContentHandlerFactory : Adds support for Groovy scripted resource. Hooking the content delivery unit creator implementation into Smooks is a matter of specifying a Smooks resource for the content delivery creator. See the configurations file for the above templating “CDU Creators”. Note how the selector for all CDU Creators is always “cdu-creator”. This is how Smooks looks up all the CDU Creators targeted at a message profile. Also note how each of the CDU Creator configurations has a “restype” parameter denoting the resource type. Smooks uses this to select the appropriate CDU Creator for a given resource. NOTE : Since Smo