Package com.persequor.extension.document
Interface IEpcisDocumentEnricher
- All Superinterfaces:
IDocumentEnricher<EpcisDocument>
Represents the EpcisDocument enrichment extension point
Put your logic into implementation of this interface to manipulate the content of the incoming document
-
Method Summary
Modifier and TypeMethodDescriptionboolean
enrich
(EpcisDocument document) Takes the document and enriches it.
-
Method Details
-
enrich
Takes the document and enriches it. You can add, remove or update events as well as vocabularies here- Specified by:
enrich
in interfaceIDocumentEnricher<EpcisDocument>
- Returns:
- returns true if the document has been enriched. If false, the document will be reverted to previous state
- Throws:
EnrichmentDelayException
- if needed to send to delay queue for retrying later.
-