use of org.apache.camel.dataformat.bindy.model.fix.complex.onetomany.Trailer in project camel by apache.
the class BindyComplexKeyValuePairStandaloneTest method init.
@Before
public void init() throws Exception {
// Set factory
BindyKeyValuePairDataFormat dataFormat = new BindyKeyValuePairDataFormat(org.apache.camel.dataformat.bindy.model.fix.complex.onetomany.Order.class);
factory = dataFormat.getFactory();
// Set model class
models.add(org.apache.camel.dataformat.bindy.model.fix.complex.onetomany.Order.class);
models.add(org.apache.camel.dataformat.bindy.model.fix.complex.onetomany.Header.class);
// f.models.add(org.apache.camel.dataformat.bindy.model.fix.complex.onetomany.Security.class);
models.add(org.apache.camel.dataformat.bindy.model.fix.complex.onetomany.Trailer.class);
// Init model
model.put("org.apache.camel.dataformat.bindy.model.fix.complex.onetomany.Order", new Order());
model.put("org.apache.camel.dataformat.bindy.model.fix.complex.onetomany.Header", new Header());
model.put("org.apache.camel.dataformat.bindy.model.fix.complex.onetomany.Trailer", new Trailer());
// set counter = 1
counter = 1;
}
Aggregations