Hi Weber, The Apache Daffodil 2.2.0 API introduced the InputSourceDataInputStream class as the preferred way to provide data to Daffodil. This constructor accepts either a byte array, a java.nio.ByteBuffer, or a java.io.InputStream. Hopefully your shared memory interface can be represented as one of those, but if not, we can discuss adding a new input method in a future release.
The JavaDoc has some examples on how to use the InputSourceDataInputStream and get the output via an InfosetOutputter. https://daffodil.apache.org/docs/2.2.0/javadoc/org/apache/daffodil/japi/package-summary.html#package.description Also, I just noticed that the JavaDoc link on our webpage was pointing to 2.1.0 instead of 2.2.0. That has been updated and should work now. The direct link is at: https://daffodil.apache.org/docs/2.2.0/javadoc - Steve On 11/7/18 3:00 PM, Perpignand, Weber wrote: > Hello, > > We are exploring ways to use Daffodil for data normalization. > > The data comes in to our system via a protocol adapter which it then copies > to a > shared memory interface. Getting that data into Daffodil is not > straightforward, > it seems to only read from files which we are trying to avoid. > > What is your recommendation on how to have Daffodil read and normalize that > data? > > Thanks in advance for your help and feedback. > > *Weber Perpignand* > > *Senior Software Engineer* > > ** > > +1 (203) 894-9342 x189 > > wperpign...@owlcyberdefense.com <mailto:wperpign...@owlcyberdefense.com> > > www.OwlCyberDefense.com <http://www.owlcyberdefense.com/> > > Email Signature Logo > > *Owl Cyber Defense Winner of Cyber Defense Magazine Infosec Award for Best > Security Hardware Publisher’s Choice!*** > > cid:image002.png@01D3F8C1.C8B4E030 > > *See us at the following 2018 events:* > > *_AFCEA Alamo ACE Conference, San Antonio, TX (Nov. 5^th – Nov. 8^th ) > <https://www.owlcyberdefense.com/events>_**__* > > *_API Cyber Security Conference, the Woodlands, TX (Nov. 6^th – Nov. 7^th ) > <https://www.owlcyberdefense.com/events>_**__* > > *_Aviation Cyber Security Summit, London, England (Nov. 6^th – Nov. 7^th ) > <https://www.owlcyberdefense.com/events>_**__* > > *_ADIPEC 2018, Abu Dhabi, UAE (Nov. 12^th – Nov. 15^th ) > <https://www.owlcyberdefense.com/events>_*__ > > *_TechNet Asia, Honolulu, HI (Nov. 13^th – Nov. 15^th ) > <https://www.owlcyberdefense.com/events>_*** > > *__* >