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.