[
https://issues.apache.org/jira/browse/AMQ-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17836196#comment-17836196
]
ASF subversion and git services commented on AMQ-9330:
------------------------------------------------------
Commit 8b6072d03e273b02288e71cac6eef0539c48ea02 in activemq's branch
refs/heads/main from Christopher L. Shannon
[ https://gitbox.apache.org/repos/asf?p=activemq.git;h=8b6072d03 ]
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
> 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)