mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Messenger facade: MessengerFactory.createMessenger() now takes app-region as parameter
* Allows single factory to be specified and individual consumers to use it to create appropriate application-region-scoped messengers. * New interface more appropriate for where non-DI use will be required, e.g. Ehcache peer providers. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33846 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -69,15 +69,14 @@ public class HazelcastMessenger<T extends Serializable> implements Messenger<T>,
|
||||
receiverDelegate.onReceive(message);
|
||||
}
|
||||
|
||||
protected String getTopicName()
|
||||
{
|
||||
return topic.getName();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean isConnected()
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
protected ITopic<T> getTopic()
|
||||
{
|
||||
return topic;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user