ActiveMQ
  1. ActiveMQ
  2. AMQ-1909

QueueViewMBean.retryMessage() often seems to fail without retrying

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.0
    • Component/s: JMX
    • Labels:
      None

      Description

      Seems kinda easy to reproduce (e.g. the FUSE Web Console gets this each time)

        Activity

        Hide
        james strachan added a comment -

        see the test case MBeanTest.TODO_testRetryMessages() - if you remove the "TODO_" from the method name, the test case fails. Basically the retryMessage() method cannot find the message by message ID - despite the message ID coming from browsing the available messages in the DLQ

        Show
        james strachan added a comment - see the test case MBeanTest.TODO_testRetryMessages() - if you remove the "TODO_" from the method name, the test case fails. Basically the retryMessage() method cannot find the message by message ID - despite the message ID coming from browsing the available messages in the DLQ
        Hide
        james strachan added a comment -

        in the debugger, it appears like the DLQ is empty when attempting to retry a message (i.e. getMessage(String) doesn't have any messages available).

        Am wondering if its related to the browse() of messages kinda removing them? Wonder if its related to AMQ-1914 in some way - that browsing somehow affects the status of the Queue?

        Show
        james strachan added a comment - in the debugger, it appears like the DLQ is empty when attempting to retry a message (i.e. getMessage(String) doesn't have any messages available). Am wondering if its related to the browse() of messages kinda removing them? Wonder if its related to AMQ-1914 in some way - that browsing somehow affects the status of the Queue?
        Hide
        Rob Davies added a comment - - edited

        Fixed by SVN revision 691114 and further enhancement by SVN revision 691214

        Show
        Rob Davies added a comment - - edited Fixed by SVN revision 691114 and further enhancement by SVN revision 691214

          People

          • Assignee:
            Rob Davies
            Reporter:
            james strachan
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development