提交 a22d0d01 编写于 作者: M Micha Kiener

SPR-6421, conversation store

上级 9dd9c83d
......@@ -103,7 +103,12 @@ public abstract class AbstractConversationStore implements ConversationStore {
*/
protected Map<String, Conversation> getConversationMapSafe() {
try {
return getConversationMap();
Map<String, Conversation> conversationMap = getConversationMap();
if (conversationMap == null && isUseFallbackMap()) {
return getConversationMapFallback();
}
return conversationMap;
} catch (Exception e) {
// if the map is not reachable and fallback is on, return the
// fallback map
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册