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 subversion and git services (JIRA)" <ji...@apache.org> on 2019/05/30 23:53:00 UTC

[jira] [Commented] (NIFI-6022) ConsumeJMS - admin yielding when session.recover fails

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

ASF subversion and git services commented on NIFI-6022:
-------------------------------------------------------

Commit 097b9c30754c77858aff684b113ed305cec7cf57 in nifi's branch refs/heads/master from slyouts
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=097b9c3 ]

NIFI-6022 Added try/catch to protect against secondary exception in a primary exception catch clause

NIFI-6022 mods per PR review

NIFI-6022 mods per PR review

This closes #3476.

Signed-off-by: Koji Kawamura <ij...@apache.org>


> ConsumeJMS - admin yielding when session.recover fails
> ------------------------------------------------------
>
>                 Key: NIFI-6022
>                 URL: https://issues.apache.org/jira/browse/NIFI-6022
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.7.1
>            Reporter: Steven Youtsey
>            Assignee: Steven Youtsey
>            Priority: Major
>              Labels: easyfix
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Processor admin yields when session with JMS provider is closed.
> When an exception occurs (no idea what as it was stepped on) and the session is closed, the exception handler attempts to use the session and another exception is thrown and not caught by the processor. See JMSConsumer, line 129. Need to wrap that with a try/catch.



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