Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-9899

Correct MongoDBLookupService handling of FlowFile attribute properties

    XMLWordPrintableJSON

Details

    Description

      I am using MongoDBLookupService , as documentation says that it supports  expression language and flowfile attributes for mongo database name and collection name properties  , so I was trying to pass those values as a attribute of the flow file but it not able to recognize
      I am getting following exception 
      MongoDBLookupService[id=f6b246ef-017f-1000-fc40-a74d9160ed1a] Error during lookup {"division_name": "Indore"}: java.lang.IllegalArgumentException: state should be: databaseName is not empty
       

       

      Attachments

        1. image-2022-04-09-18-34-32-324.png
          28 kB
          RAVINARAYAN SINGH
        2. image-2022-04-09-18-32-36-846.png
          66 kB
          RAVINARAYAN SINGH

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rnsingh RAVINARAYAN SINGH
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 20m
                  1h 20m