[jboss-jira] [JBoss JIRA] (WFLY-3322) Calling operations on non-existing messaging resources returns cryptic error
Jeff Mesnil (JIRA)
issues at jboss.org
Mon May 12 03:16:01 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3322?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Mesnil updated WFLY-3322:
------------------------------
Affects Version/s: 8.1.0.CR1
> Calling operations on non-existing messaging resources returns cryptic error
> ----------------------------------------------------------------------------
>
> Key: WFLY-3322
> URL: https://issues.jboss.org/browse/WFLY-3322
> Project: WildFly
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JMS
> Affects Versions: 8.1.0.CR1
> Reporter: Jeff Mesnil
> Assignee: Jason Greene
> Priority: Minor
>
> Calling operations on messaging resources that do not exist fails with a cryptic error:
> {noformat}
> [standalone at localhost:9990 /] /subsystem=messaging/hornetq-server=default/runtime-queue=non-exisiting-queue:count-messages
> {
> "outcome" => "failed",
> "result" => undefined,
> "failure-description" => "JBAS014749: Operation handler failed: null",
> "rolled-back" => true
> {noformat}
> Instead, the normal error for that case should be return:
> {noformat}
> [standalone at localhost:9990 /] /subsystem=messaging/hornetq-server=default/runtime-queue=non-exisiting-queue:count-messages
> {
> "outcome" => "failed",
> "failure-description" => "JBAS014807: Management resource '[
> (\"subsystem\" => \"messaging\"),
> (\"hornetq-server\" => \"default\"),
> (\"runtime-queue\" => \"non-exisiting-queue\")
> ]' not found",
> "rolled-back" => true
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
More information about the jboss-jira
mailing list