You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/08/14 18:07:00 UTC

[jira] [Commented] (NIFI-3672) Older versions of IBM MQ allowed integer value to be set as String

    [ https://issues.apache.org/jira/browse/NIFI-3672?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16580186#comment-16580186 ] 

ASF GitHub Bot commented on NIFI-3672:
--------------------------------------

GitHub user mosermw opened a pull request:

    https://github.com/apache/nifi/pull/2949

    NIFI-3672 Add support for strongly typed message properties in PublishJMS

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mosermw/nifi NIFI-3672

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/nifi/pull/2949.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2949
    
----
commit 66eeb48802317cdff69fe83070d26dac7245294a
Author: Mike Moser <mo...@...>
Date:   2018-08-13T17:40:54Z

    NIFI-3672 Add support for strongly typed message properties in PublishJMS

----


> Older versions of IBM MQ allowed integer value to be set as String
> ------------------------------------------------------------------
>
>                 Key: NIFI-3672
>                 URL: https://issues.apache.org/jira/browse/NIFI-3672
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.1.1
>            Reporter: Andy LoPresto
>            Priority: Minor
>              Labels: beginner, jms, third-party
>
> As reported in this [Stack Overflow question|https://stackoverflow.com/questions/43213416/publishjms-processor-failing-for-writing-message-to-ibm-websphere-mq], 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|https://www-01.ibm.com/support/docview.wss?uid=swg1IT02814] 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. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)