[
https://issues.apache.org/jira/browse/QPID-8726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tomas Vavricka updated QPID-8726:
---------------------------------
Description:
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) )
was: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.
> [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]