Class DocumentMessageConsumerFactory
- java.lang.Object
-
- org.nuxeo.importer.stream.consumer.DocumentMessageConsumerFactory
-
- All Implemented Interfaces:
ConsumerFactory<DocumentMessage>
public class DocumentMessageConsumerFactory extends Object implements ConsumerFactory<DocumentMessage>
- Since:
- 9.1
-
-
Field Summary
Fields Modifier and Type Field Description protected String
repositoryName
protected String
rootPath
-
Constructor Summary
Constructors Constructor Description DocumentMessageConsumerFactory(String repositoryName, String rootPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Consumer<DocumentMessage>
createConsumer(String consumerId)
-
-
-
Method Detail
-
createConsumer
public Consumer<DocumentMessage> createConsumer(String consumerId)
- Specified by:
createConsumer
in interfaceConsumerFactory<DocumentMessage>
- Parameters:
consumerId
- the consumer identifier
-
-