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
- duplicates
-
AMQ-9330 Polling empty queue via REST returns 500 Server Error
- Resolved