activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dejan Bosanac (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (AMQ-5956) Improve CLI commands error handling
Date Fri, 04 Sep 2015 13:51:45 GMT

     [ 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)

Mime
View raw message