[ https://issues.apache.org/jira/browse/AMQ-9409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christopher L. Shannon closed AMQ-9409. --------------------------------------- Resolution: Duplicate > AMQ returns 500 instead of 204 when message not found > ----------------------------------------------------- > > Key: AMQ-9409 > URL: https://issues.apache.org/jira/browse/AMQ-9409 > Project: ActiveMQ Classic > Issue Type: Bug > Affects Versions: 5.18.2 > Reporter: Pratap > Priority: Major > > 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! -- This message was sent by Atlassian Jira (v8.20.10#820010)