GitHub user gaohoward opened a pull request:
https://github.com/apache/activemq-artemis/pull/1072
ARTEMIS-1024 Management operation causes ClassNotFoundException
Artemis expose createQueue() method to management console like Jon.
If the queue to be created already exists it throws an ActiveMQException
back to the console, which will get a ClassNotFoundException when
deserializing the exception.
To fix that it should throw a common java exception like
IllegalStateException.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/gaohoward/activemq-artemis master-mgmt-ex
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/1072.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 #1072
----
commit 08ad1af0e0c70fbdbcd912478e21ae8b56f3c11f
Author: Howard Gao <[email protected]>
Date: 2017-03-08T14:50:33Z
ARTEMIS-1024 Management operation causes ClassNotFoundException
Artemis expose createQueue() method to management console like Jon.
If the queue to be created already exists it throws an ActiveMQException
back to the console, which will get a ClassNotFoundException when
deserializing the exception.
To fix that it should throw a common java exception like
IllegalStateException.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---