Skip to main content

Enrich from MongoDB

The Enrich from MongoDB mapping (mongodb) retrieves a document from MongoDB using the ID found at the from path. The result is fetched from the specified collection and inserted at the to path in the message.

Attributes for MongoDB Enrichment

AttributeRequiredDescription
FromYesDefines the source field for the mapping.
ToYesDefines where the result should be inserted.
PrecedenceYesDetermines the order in which this mapping is applied relative to others.
Function TypeYesMust be "Enrichment/lookup functons"
FunctionYesShould be set to "Enrich from MongoDB".