SmooksPage edited by Claus IbsenChanges (1)
Full ContentSmooksThe smooks component supports the Smooks Library for EDI parsing. The camel-smooks library is provided by the Camel Extra project which hosts all *GPL related components for Camel. It is only the EDI parsing feature that is implemented in this component. The other features from Smooks are covered in existing camel components.
EDI DataFormatThis component ships with a EDI dataformat that can be used to format from a java.io.InputStream to XML as a org.w3c.Document Object.
The EDIDataFormat must be configued with either a:
To use the data format simply instantiate an instance, set the configuration (above) and invoke the unmarshal operation in the route builder: DataFormat edi = new EDIDataFormat(); edi.setMappingModel("my-order-mapping.xml"); ... from("file://edi/in"). unmarshal(edi). to("jms:queue:edi");
Change Notification Preferences
View Online
|
View Changes
|
Add Comment
|
- [CONF] Apache Camel > Smooks confluence
- [CONF] Apache Camel > Smooks confluence
- [CONF] Apache Camel > Smooks confluence