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

ASF subversion and git services commented on QPID-8726:
-------------------------------------------------------

Commit 6d4134a6b64de0aa3eb7be744ce7740f6fb82585 in qpid-broker-j's branch 
refs/heads/main from Daniil Kirilyuk
[ https://gitbox.apache.org/repos/asf?p=qpid-broker-j.git;h=6d4134a6b6 ]

QPID-8726: [Broker-J] Provide out-of-box uncaught exception handlers for the 
Main class (#350)

* QPID-8726: [Broker-J] Provide out-of-box uncaught exception handlers for the 
Main class

* Fixed formatting in pom.xml

* Added empty line to the end of GracefulShutdownExceptionHandler.java file

---------

Co-authored-by: vavrtom <[email protected]>

> [Broker-J] Provide out-of-box uncaught exception handlers for the Main class
> ----------------------------------------------------------------------------
>
>                 Key: QPID-8726
>                 URL: https://issues.apache.org/jira/browse/QPID-8726
>             Project: Qpid
>          Issue Type: Improvement
>          Components: Broker-J
>    Affects Versions: qpid-java-broker-10.0.0
>            Reporter: Daniil Kirilyuk
>            Priority: Minor
>             Fix For: qpid-java-broker-10.0.1
>
>
> Broker Main class sets the default thread UncaughtExceptionHandler, which can 
> be changed via parameter -Dqpid.broker.exceptionHandler=<CLASSNAME>. There 
> should be more out-of-box options provided to configure broker behavior on an 
> uncaught exception.
> Current implementation is moved to a separate class FailFastExceptionHandler 
> and used as a default one (to keep the default broker behavior), additional 
> implementations are LogAndContinueExceptionHandler (logs exception), 
> GracefulShutdownExceptionHandler (calls System.exit(1) instead of 
> Runtime.getRuntime().halt(1) )



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to