Re: Reading the incoming flowfile "twice"

2020-03-28 Thread Russell Bateman
Joe and Mike, Sadly, I was not able to get very far on this. It seems that the extend to which I copy the first half of the contents of the input stream, I lose what comes after when I try to read again, basically, the second half comprising the and elements which I was hoping to SAX-parse.

Re: Reading the incoming flowfile "twice"

2020-03-28 Thread Mike Thomsen
I prefer to avoid the callbacks and do this: InputStream is = session.read(flowFile); some code is.close(); On Fri, Mar 27, 2020 at 5:22 PM Russell Bateman wrote: > Joe, > > Ah, thanks. I think I have learned a lot about what's going on down > inside session.read/write()today. I don't