Class FileBlobMessageProducerFactory
java.lang.Object
org.nuxeo.importer.stream.producer.FileBlobMessageProducerFactory
- All Implemented Interfaces:
ProducerFactory<BlobMessage>
- Since:
- 9.1
-
Field Summary
-
Constructor Summary
ConstructorDescriptionFileBlobMessageProducerFactory
(File listFile, String basePath, long nbBlobs) Produce messages to import files listed in the listFile. the basePath is added as a prefix to all file path in the listFile if nbBlobs = 0 the entire listFile is imported -
Method Summary
-
Field Details
-
listFile
-
basePath
-
nbBlobs
protected final long nbBlobs
-
-
Constructor Details
-
FileBlobMessageProducerFactory
Produce messages to import files listed in the listFile. the basePath is added as a prefix to all file path in the listFile if nbBlobs = 0 the entire listFile is imported
-
-
Method Details
-
createProducer
- Specified by:
createProducer
in interfaceProducerFactory<BlobMessage>
- Parameters:
producerId
- the producer index
-