use of org.jumpmind.symmetric.transport.internal.InternalOutgoingTransport in project symmetric-ds by JumpMind.
the class AbstractDataExtractorServiceTest method extract.
protected ExtractResults extract() {
IDataExtractorService service = getDataExtractorService();
StringWriter writer = new StringWriter();
InternalOutgoingTransport transport = new InternalOutgoingTransport(new BufferedWriter(writer));
List<OutgoingBatch> batches = service.extract(new ProcessInfo(), TestConstants.TEST_CLIENT_NODE, transport);
transport.close();
return new ExtractResults(batches, writer.getBuffer().toString());
}
Aggregations