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

JMSConnectionFactory doesn't resolve 'variables' properly

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.0, 1.6.0
    • Fix Version/s: 1.7.0
    • Component/s: Core Framework
    • Labels:
      None

      Description

      Create a new process Group.

      Add "Variables" to the process group:

      for example:
      broker_uri=tcp://localhost:4141
      client_libs=/NiFi/custom-lib-dir/MQlib
      con_factory=blah

      Then while that process group is selected, create a controller service.

      Create JMSConnectionFactory.

      Configure this controller service to use EL for PG defined variables above:

      ${con_factory}, ${con_factory}, and ${broker_uri}

      The controller service will remain invalid because the EL statements are not properly resolved to their set values.

      Doing the exact same thing above using the external NiFi registry file works as expected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sivaprasanna Sivaprasanna Sethuraman
                Reporter:
                msclarke Matthew Clarke
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: