Skip to main content
Version: Latest (4.51.0)

Binary Retrieve

The Binary Retrieve component allows you to retrieve binaries from the Content Store.

The binaries are retrieved from the binaries.files and binaries.chunks collections.

It uses either the source.localReference or target.localReference value from the incoming message to retrieve a binary.

Configuration

Display Settings
Connection string

A MongoDB connection string.

Example: mongodb://<username>:<password>@localhost:27017/<databaseName>

Here <databaseName> is the database to retrieve from.

Use TLS

Enables TLS for your mongoDB connection.

Allow Invalid Certificates

Checking this will disable certificate validation. Warning: specifying this option in a production environment makes your application insecure and potentially vulnerable to expired certificates and to foreign processes posing as valid client instances.

Certificate Authority File

One or more certificate authorities to trust when making a TLS connection. In order to access the local filesystem, the XILL4_WORKDIRS environment variable must be set to the path of the directory to be accessed.

Example: .\ca.pem

Retrieve reference

  • Source: Retrieve based on the source.localReference value.
  • Target: Retrieve based on the target.localReference value.
  • Inputs | Outputs


    Binary Retrieve
    Input
    Output
    Error
    0 0 0 (ilysent6u)
    The component takes a binary document as an input and it will look for the source.localReference and uses that to retrieve the binary from the binaries GridFS bucket since it references the _id field of the binary.

  • Example: Refer to the following page : Binary document schema