Chapter 6. Enriching Output Data
6.1. Out-of-the-Box Enrichment Methods
Note
Since JBoss Fuse 6.3, the Smooks component for SwitchYard is deprecated and will be removed in a future release of JBoss Fuse.
Three methods for enriching your output data are included with the product:
- JDBC Datasources
- Use a JDBC Datasource to access a database and use SQL statements to read from and write to the Database. This capability is provided through the Smooks Routing Cartridge. See the section on routing to a database using SQL.
- Entity persistence
- Use an entity persistence framework (like Ibatis, Hibernate or any JPA compatible framework) to access a database and use its query language or CRUD methods to read from it or write to it.
- DAOs
- Use custom Data Access Objects (DAOs) to access a database and use its CRUD methods to read from it or write to it.