activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Petter Nordlander (JIRA)" <>
Subject [jira] [Commented] (ARTEMIS-252) Retry message on DLQ - feature in JMX
Date Sat, 10 Oct 2015 08:52:05 GMT


Petter Nordlander commented on ARTEMIS-252:

In ActiveMQ it's defined only on the QueueViewMBean - so it's not something for topics.

    @MBeanInfo("Moves a message with the given JMS message back to its original destination")
    boolean retryMessage(@MBeanInfo("messageId") String messageId) throws Exception;
   @MBeanInfo("Retries messages sent to the DLQ")
    public int retryMessages() throws Exception;

It's used, for instance, in the ActiveMQ plugin (there is a "Retry" button beside
the "Move" button) as well through JMX calls. It's really convenient to use retry if you have
10+ messages with different destinations on a DLQ that you want to resend.

I can fix a pull request if you guys feel this is a good feature to bring from AMQ5 to Artemis.
It's really just another JMX method or two.

> Retry message on DLQ - feature in JMX
> -------------------------------------
>                 Key: ARTEMIS-252
>                 URL:
>             Project: ActiveMQ Artemis
>          Issue Type: Wish
>          Components: Broker
>    Affects Versions: 1.1.0
>            Reporter: Petter Nordlander
>            Priority: Trivial
> A very useful feature in ActiveMQ (5) is the option to retry messages from DLQ to the
queue the where originally sent to. This feature would be awesome in Artemis as well.
> This is exposed as JMX operations.
> retryMessages(selector/filter)
> retryMessage(messageId)
> According to Artemis docs, the original address/queue is already in messages put to DLQ,
so a retry operation would be very similar to existing move to implement.
> The use case is simple - create a possibility to re-run all/some messages of a DLQ in
one go, after some patch/fix/upgrade.

This message was sent by Atlassian JIRA

View raw message