You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Dejan Bosanac (JIRA)" <ji...@apache.org> on 2015/09/04 15:51:45 UTC

[jira] [Updated] (AMQ-5956) Improve CLI commands error handling

     [ https://issues.apache.org/jira/browse/AMQ-5956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dejan Bosanac updated AMQ-5956:
-------------------------------
    Summary: Improve CLI commands error handling  (was: Improve CLI commands)

> Improve CLI commands error handling
> -----------------------------------
>
>                 Key: AMQ-5956
>                 URL: https://issues.apache.org/jira/browse/AMQ-5956
>             Project: ActiveMQ
>          Issue Type: Improvement
>    Affects Versions: 5.12.0
>            Reporter: Dejan Bosanac
>            Assignee: Dejan Bosanac
>             Fix For: 5.13.0
>
>
> It's a bit messy at the moment as lot of commands check if broker is running or not, before executing. That leads to problems like not being able to run producer/consumer commands when broker is not running. 
> The better approach is to fix commands to print meaningful errors when they can't connect to the service (jmx or jms) and leave this logic out of CLI scripts.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)