[
https://issues.apache.org/jira/browse/AMQ-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17836197#comment-17836197
]
ASF subversion and git services commented on AMQ-9330:
------------------------------------------------------
Commit dc892d3dfc2f4b7d0402d947f40431ce4e50d92d in activemq's branch
refs/heads/activemq-5.18.x from Christopher L. Shannon
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=dc892d3df ]
AMQ-9330 - Return 204 code when polling empty destinations (#1203)
Previously a timeout was thrown and complete was not called so Jetty was
returning a 500 error
(cherry picked from commit 8b6072d03e273b02288e71cac6eef0539c48ea02)
(cherry picked from commit 45a1bd54d3e1202d775388cf5b7d63e4c96183a5)
> Polling empty queue via REST returns 500 Server Error
> -----------------------------------------------------
>
> Key: AMQ-9330
> URL: https://issues.apache.org/jira/browse/AMQ-9330
> Project: ActiveMQ Classic
> Issue Type: Bug
> Affects Versions: 5.18.2
> Reporter: Michael Hoyt
> Assignee: Christopher L. Shannon
> Priority: Major
> Fix For: 5.18.5, 6.1.2
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In AMQ 5.18.1 Polling an empty queue via the REST api returned a 204 No
> Content response. In 5.18.2 that same method now returns a 500 Server Error
> response.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)