Skip to content
Snippets Groups Projects
Commit 78b897c9 authored by srosse's avatar srosse
Browse files

OO-706: make the LockEntry to be serializable, and pass in the JMS event bus

parent b741482d
No related branches found
No related tags found
No related merge requests found
......@@ -270,6 +270,7 @@ public class ClusterEventBus extends AbstractEventBus implements MessageListener
producer.send(message);
//TODO jms }
} catch (Exception e) {
log.error("Cannot send JMS message", e);
// cluster:::: what shall we do here: the JMS bus is broken! and we thus cannot know if other nodes are alive.
// if we are the only node running, then we could continue.
// a) either throw an exception - meaning olat doesn't really run at all and produces redscreens all the time and logging in is not possible.
......
......@@ -25,6 +25,8 @@
*/
package org.olat.core.util.coordinate;
import java.io.Serializable;
import org.olat.core.id.Identity;
/**
* Description: <br>
......@@ -32,7 +34,10 @@ import org.olat.core.id.Identity;
*
* @author Felix Jost
*/
public class LockEntry {
public class LockEntry implements Serializable {
private static final long serialVersionUID = -319510836505419325L;
private long lockAquiredTime;
private Identity owner;
private final String key;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment