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

Older versions of IBM MQ allowed integer value to be set as String

    XMLWordPrintableJSON

    Details

      Description

      As reported in this Stack Overflow question, the PublishJMS processor was failing to connect to an IBM MQ JMS server with the exception com.ibm.msg.client.jms.DetailedMessageFormatException: JMSCC0051: The property 'JMS_IBM_MsgType' should be set using type 'java.lang.Integer', not 'java.lang.String'. As noted in the answer, this is a known IBM issue IT02814 in which older (pre-7.0) versions allowed integer properties to be set as a java.lang.String but new versions require it to be a java.lang.Integer. The property descriptor should be changed to validate an integer value and return it with the correct type when setting the configuration.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mosermw Michael W Moser
                Reporter:
                alopresto Andy LoPresto
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: