Is there anyway for a ScriptedRecordReader to set an attribute on a FlowFile 
when there is an error? Have a situation where I've written a groovy script to 
parse xml into a specific record structure and occasionally the incoming data 
has characters not allowed in XML. Unfortunately the system that generates the 
XML is doing it through string manipulation instead of actually understanding 
XML so it crams all kinds of junk characters in the data. I'd rather not scrub 
every file as some of them can be large so I was trying to figure out a way to 
only scrub them on exception.


Thanks

Shawn Weeks

Reply via email to