Commit a4410fb6 authored by afreyssin's avatar afreyssin

Bug fix [JORAM-279]: removes recover flag after handling in AutoAcknowledge mode.

parent be5c9968
/*
* JORAM: Java(TM) Open Reliable Asynchronous Messaging
* Copyright (C) 2001 - 2013 ScalAgent Distributed Technologies
* Copyright (C) 2001 - 2017 ScalAgent Distributed Technologies
* Copyright (C) 1996 - 2000 Dyade
*
* This library is free software; you can redistribute it and/or
......@@ -2478,13 +2478,13 @@ public class Session implements javax.jms.Session, SessionMBean {
}
if (recover) {
recover = false;
// The session has been recovered by the
// listener thread.
if (autoAck) {
denyMessage(mcl.getTargetName(), msgId, mcl.getQueueMode(), true);
} else {
doRecover();
recover = false;
}
} else {
if (autoAck) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment