提交 3e5aca86 编写于 作者: J Juergen Hoeller

fixed no-message-received commit case for non-cached Sessions (SPR-7478)

上级 d7e07761
......@@ -351,7 +351,7 @@ public abstract class AbstractPollingMessageListenerContainer extends AbstractMe
}
noMessageReceived(invoker, sessionToUse);
// Nevertheless call commit, in order to reset the transaction timeout (if any).
commitIfNecessary(session, message);
commitIfNecessary(sessionToUse, message);
// Indicate that no message has been received.
return false;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册