Fixed Hazelcast itnegration tests, removing unusefull thread sleeps, but more important permitting the co existence of 2 Brokers in the same JVM

This commit is contained in:
andsel
2016-07-22 12:09:10 +02:00
parent 7886bf7103
commit fedd2965cc
8 changed files with 60 additions and 71 deletions
@@ -5,7 +5,7 @@ import java.io.Serializable;
/**
* Created by mackristof on 28/05/2016.
*/
public class HazelcastMsg implements Serializable{
public class HazelcastMsg implements Serializable {
private final String clientId;
private final String userName;
@@ -13,7 +13,7 @@ public class HazelcastMsg implements Serializable{
private final byte[] payload;
private final String topic;
public HazelcastMsg(String clientId, String topic , byte qos, byte[] payload, String userName) {
public HazelcastMsg(String clientId, String topic, byte qos, byte[] payload, String userName) {
this.clientId = clientId;
this.qos = qos;
this.payload = payload;
@@ -21,7 +21,6 @@ public class HazelcastMsg implements Serializable{
this.topic = topic;
}
public String getClientId() {
return clientId;
}