mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Messaging facade: finished changing jgroups heartbeating over to facade.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33886 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -36,14 +36,15 @@ public class HazelcastMessenger<T extends Serializable> implements Messenger<T>,
|
||||
{
|
||||
private ITopic<T> topic;
|
||||
private MessageReceiver<T> receiverDelegate;
|
||||
|
||||
private String address;
|
||||
|
||||
/**
|
||||
* @param topic
|
||||
*/
|
||||
public HazelcastMessenger(ITopic<T> topic)
|
||||
public HazelcastMessenger(ITopic<T> topic, String address)
|
||||
{
|
||||
this.topic = topic;
|
||||
this.address = address;
|
||||
}
|
||||
|
||||
|
||||
@@ -79,4 +80,11 @@ public class HazelcastMessenger<T extends Serializable> implements Messenger<T>,
|
||||
{
|
||||
return topic;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String getAddress()
|
||||
{
|
||||
return address;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user