Uploaded image for project: 'ActiveMQ Artemis'
  1. ActiveMQ Artemis
  2. ARTEMIS-4111

Session.recover () call ActiveMQServerMessagePlugin.messageAcknowledged (NORMAL)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.27.1
    • None
    • JMS, Tests
    • None

    Description

      When calling javax.jms.Session.recover() with ActiveMQJMSConstants.INDIVIDUAL_ACKNOWLEDGE, unacknowledged messages must be returned to the queue, that is, ClientSession.rollback(false) must be called from Session.recover().  However, currently if you call ClientSession.rollback(true), the ActiveMQServerMessagePlugin.messageAcknowledged() is called. Which is illogical and misleading.

      Tests are also needed to tests the Session.recover() of the call with parameters INDIVIDUAL_ACKNOWLEDGE and the operation of the plugin.

      Attachments

        Activity

          People

            Unassigned Unassigned
            andreyyesenkov Andrey Yesenkov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: