Class BlobMessageConsumerFactory
java.lang.Object
org.nuxeo.importer.stream.consumer.BlobMessageConsumerFactory
- All Implemented Interfaces:
ConsumerFactory<BlobMessage>
- Since:
- 9.1
-
Field Summary
Modifier and TypeFieldDescriptionprotected final BlobInfoWriter
protected final String
protected final String
protected final String
-
Constructor Summary
ConstructorDescriptionBlobMessageConsumerFactory
(String blobProviderName, BlobInfoWriter blobInfoWriter) Blob Consumer factory requires a blob providerName that is present in Nuxeo instance running the consumer.BlobMessageConsumerFactory
(String blobProviderName, BlobInfoWriter blobInfoWriter, String watermarkPrefix) Blob consumer that change the input blob to add a random watermark.BlobMessageConsumerFactory
(String blobProviderName, BlobInfoWriter blobInfoWriter, String watermarkPrefix, String persistBlobPath) Blob consumer that change the input blob to add a random watermark and persist the generated blobs. -
Method Summary
-
Field Details
-
blobProviderName
-
blobInfoWriter
-
watermarkPrefix
-
persistBlobPath
-
-
Constructor Details
-
BlobMessageConsumerFactory
Blob Consumer factory requires a blob providerName that is present in Nuxeo instance running the consumer. The writer is used to store the blob information. -
BlobMessageConsumerFactory
public BlobMessageConsumerFactory(String blobProviderName, BlobInfoWriter blobInfoWriter, String watermarkPrefix) Blob consumer that change the input blob to add a random watermark. -
BlobMessageConsumerFactory
public BlobMessageConsumerFactory(String blobProviderName, BlobInfoWriter blobInfoWriter, String watermarkPrefix, String persistBlobPath) Blob consumer that change the input blob to add a random watermark and persist the generated blobs.
-
-
Method Details
-
createConsumer
- Specified by:
createConsumer
in interfaceConsumerFactory<BlobMessage>
- Parameters:
consumerId
- the consumer identifier
-