A DataProcessor corresponds to a single DFDL schema. If you have two different 
schemas, then you will need 2 different DataProcessors.

There is no issue having multiple DataProcessors loaded in the same JVM.
________________________________
From: Rob Rose <rprose0...@gmail.com>
Sent: Thursday, January 16, 2020 4:28 PM
To: dev@daffodil.apache.org <dev@daffodil.apache.org>
Subject: One DataProcessor handle more than one message format...

Hi all,

Question for the group.

 I am using the JAVA API and instantiating a DFDL DataProcessor with a saved 
precompiled schema.  However, I need to handle more than one message format 
(i.e. PCAP, CSV).  Can one DataProcessor object be used to handle more than one 
message format?  In other words, can two schemas that handle different message 
formats be precompiled and loaded into the DataProcessor object?


If not, can two DataProcessor objects each handling one message format be 
created within the same process/JVM ?

Thanks for the help!



Reply via email to