Uploaded image for project: 'ActiveMQ'
  1. ActiveMQ
  2. AMQ-5956

Improve CLI commands error handling

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.12.0
    • Fix Version/s: 5.13.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dejanb Dejan Bosanac
                Reporter:
                dejanb Dejan Bosanac
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: