activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (ARTEMIS-1327) Support checked exceptions from ActiveMQServerPlugin
Date Mon, 07 Aug 2017 20:32:00 GMT


ASF subversion and git services commented on ARTEMIS-1327:

Commit a3a614ee8b645cd47071565b96ae2f92ca6bb7f2 in activemq-artemis's branch refs/heads/master
from [~cshannon]
[;h=a3a614e ]

ARTEMIS-1327 - Support checked exceptions in ActiveMQServerPlugin

This will allow plugin writers to use checked exceptions when writing

> Support checked exceptions from ActiveMQServerPlugin
> ----------------------------------------------------
>                 Key: ARTEMIS-1327
>                 URL:
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>            Reporter: Christopher L. Shannon
>            Assignee: Christopher L. Shannon
>             Fix For: 2.3.0
> After I was writing a couple custom plugins I realized it would be beneficial to support
checked exceptions.  This makes error handling simpler for plugin writers as they can throw
various exceptions and not have to always wrap them in a RuntimeException.  Almost every place
in the broker where plugin methods are currently called already support handling checked Exceptions
so this is pretty simple and mostly we just need to add a "throws Exception" to each of the
methods in the ActiveMQServerPlugin interface and make sure the methods used to execute the
plugin methods also support it.

This message was sent by Atlassian JIRA

View raw message