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);
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact