-
Bug
-
Resolution: Done
-
Minor
-
8.1.0.CR1
-
None
Calling operations on messaging resources that do not exist fails with a cryptic error:
[standalone@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
Instead, the normal error for that case should be return:
[standalone@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 }