[
https://issues.apache.org/jira/browse/ARTEMIS-5548?focusedWorklogId=983290&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-983290
]
ASF GitHub Bot logged work on ARTEMIS-5548:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 16/Sep/25 13:02
Start Date: 16/Sep/25 13:02
Worklog Time Spent: 10m
Work Description: brusdev commented on code in PR #122:
URL:
https://github.com/apache/activemq-artemis-console/pull/122#discussion_r2352339683
##########
artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/messages/MessagesTable.tsx:
##########
@@ -213,6 +214,8 @@ export const MessagesTable:
React.FunctionComponent<MessageProps> = props => {
const doesCopyMessagemethodExist =
artemisService.doesMethodExist(brokerNode, props.queue, "copyMessage");
+ const isRetryQueue =
props.queue.match(artemisPreferencesService.loadArtemisPreferences().artemisDLQ)
||
props.queue.match(artemisPreferencesService.loadArtemisPreferences().artemisExpiryQueue);
Review Comment:
The previous plugin also checks the message header `_AMQ_ORIG_QUEUE`, see
https://github.com/apache/activemq-artemis/blob/2.39.0/artemis-hawtio/artemis-plugin/src/main/webapp/plugin/js/components/browse.js#L688
```
ctrl.dlq = ctrl.dlq || (message['StringProperties'] ?
(message['StringProperties']['_AMQ_ORIG_QUEUE'] ? true :
(message['StringProperties']['extraProperties._AMQ_ORIG_QUEUE'] ? true :
false)) : false);
```
Issue Time Tracking
-------------------
Worklog Id: (was: 983290)
Time Spent: 20m (was: 10m)
> retry button/action not showing for DLQ messages in console
> -----------------------------------------------------------
>
> Key: ARTEMIS-5548
> URL: https://issues.apache.org/jira/browse/ARTEMIS-5548
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Components: management, Web Console
> Affects Versions: console-1.1.0
> Reporter: Michael Desmedt
> Priority: Minor
> Labels: pull-request-available
> Attachments: artemis_2.37_retry.png,
> image-2025-06-19-11-17-28-683.png, image-2025-06-19-11-23-07-792.png,
> image-2025-06-19-11-23-48-941.png
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> In version 2.37.0, there used to be a button at the top of messages in DLQs
> to "retry" this message and put it back in the original queue.
> !artemis_2.37_retry.png!
> In version 2.41.0, this button/action does not show anymore
> !image-2025-06-19-11-17-28-683.png!
> extract of management.xml for this address
>
> {code:java}
> <match domain="org.apache.activemq.artemis"
> key="address=DLQ.eboxdp.events">
> <access method="count*"
> roles="amq,readonly,gEboxdp"/>
> <access method="browse*"
> roles="amq,readonly,gEboxdp"/>
> <access method="list*"
> roles="amq,readonly,gEboxdp"/>
> <access method="get*"
> roles="amq,readonly,gEboxdp"/>
> <access method="is*"
> roles="amq,readonly,gEboxdp"/>
> <access method="retry*"
> roles="amq,readonly,gEboxdp"/>
> <!-- give ability to send and remove messages
> from queues to users who have write permissions -->
> <access method="send*" roles="amq,gEboxdp"/>
> <access method="remove*" roles="amq,gEboxdp"/>
> <!-- end -->
> <access method="set*" roles="amq"/>
> <access method="*" roles="amq"/>
> </match>
> <match domain="org.apache.activemq.artemis"
> key="queue=DLQ.eboxdp.events">
> <access method="count*"
> roles="amq,readonly,gEboxdp"/>
> <access method="browse*"
> roles="amq,readonly,gEboxdp"/>
> <access method="list*"
> roles="amq,readonly,gEboxdp"/>
> <access method="get*"
> roles="amq,readonly,gEboxdp"/>
> <access method="is*"
> roles="amq,readonly,gEboxdp"/>
> <!-- give ability to send and remove messages
> from queues to users who have write permissions -->
> <access method="retry*" roles="amq,gEboxdp"/>
> <access method="send*" roles="amq,gEboxdp"/>
> <access method="remove*" roles="amq"/>
> <!-- end -->
> <access method="set*" roles="amq"/>
> <access method="*" roles="amq"/>
> </match>
> {code}
>
> However I can see that the method is enabled in the queue list > 'operations'
> !image-2025-06-19-11-23-48-941.png!
> !image-2025-06-19-11-23-07-792.png!
>
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact