Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 772 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 772 Bytes

About

This example extends the edi-to-java example. After the EDI data is bound to the JavaBean object graph, a custom pipeline reader called BeanXMLReader marshals the graph to SAX events using XStream. The pipeline feeds the XStream generated event stream to edi:unparser. The EDI visitor serialises each event in the stream to its EDI counterpart and writes the output to the pipeline execution result. The pipeline result becomes the result of the Smooks execution thanks to the replace pipeline directive.

How to run?

  1. mvn clean package
  2. mvn exec:exec

UML Sequence Diagram

UML sequence diagram