Created
July 16, 2016 23:52
-
-
Save fjunior87/fb70a72ef9e294c1d1e9fd78f49cdcb0 to your computer and use it in GitHub Desktop.
Smooks Config using the CSVParser
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<localEntry key="smooks_conf" xmlns="http://ws.apache.org/ns/synapse"> | |
<smooks-resource-list xmlns="http://www.milyn.org/xsd/smooks-1.0.xsd"> | |
<!--Configure the CSVParser to parse the message into a stream of SAX events. --> | |
<resource-config selector="org.xml.sax.driver"> | |
<resource>org.milyn.csv.CSVParser</resource> | |
<param name="fields" type="string-list">id,name,email,phone</param> | |
<param name="ident" type="boolean">true</param> | |
</resource-config> | |
</smooks-resource-list> | |
</localEntry> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment