Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-5201

Allow Artemis cli to system exit(1) on exception like the Artemis boot

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.38.0
    • 2.39.0
    • Tests

    Description

      The return of Artemis cli execute in main is not checked, such that errors are ignored.
      To know if a command fails it would be great to exit(1) in the same way as the boot command. It can be suppressed for the embedded case like in artemis stop.

      this makes the cli useful for checks and probes and external tests.

      Attachments

        Issue Links

          Activity

            People

              gtully Gary Tully
              gtully Gary Tully
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h
                  1h