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

AMQ returns 500 instead of 204 when message not found

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 5.18.2
    • None
    • None
    • None

    Description

      Starting with ActiveMQ 5.18.2, the REST API returns "500 Server Error" instead of "204 No Content" when a message is not found in the response queue.  We rely on 204 being returned to indicate that the request message is still being processed, and we continue to poll the response queue based on this response code. 

      Was the change in behavior in 5.18.2 intentional? It is helpful to have AMQ return 204 when a message is not found instead of 500 error which could mean any number of other issues.

      Thank you for looking into this! 

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pratap0064 Pratap
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: