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

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

GitHub user markap14 opened a pull request:

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

    NIFI-2484: Ensure that if a Processor throws an Exception from an @On…

    …Scheduled method that @OnStopped methods get called

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

    $ git pull https://github.com/markap14/nifi NIFI-2484

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

    https://github.com/apache/nifi/pull/791.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 #791
    
----
commit d3cff21dc464e76c6736109c7c26c12cf418d5a1
Author: Mark Payne <[email protected]>
Date:   2016-08-04T17:05:03Z

    NIFI-2484: Ensure that if a Processor throws an Exception from an 
@OnScheduled method that @OnStopped methods get called

----


> If a Processor's @OnScheduled method throws an Exception, its @OnStopped 
> methods are not called
> -----------------------------------------------------------------------------------------------
>
>                 Key: NIFI-2484
>                 URL: https://issues.apache.org/jira/browse/NIFI-2484
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Blocker
>             Fix For: 1.0.0
>
>
> If a Processor has a method annotated with @OnScheduled and that method 
> throws an Exception, its @OnUnscheduled methods and then @OnStopped methods 
> should be called before calling its @OnScheduled methods again. Currently, 
> only the @OnUnscheduled methods are called.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to