Revision: 7bdff4c8416b
Author: Jean Deruelle <[email protected]>
Date: Fri Jan 11 09:39:00 2013
Log: Update Issue 40
Enable the LB HeartBeat Algo by default in the load balancing only stack
(cherry picked from commit c500cffcc0dc6e130a26e46af0c2f7bf5d9f8f8e)
http://code.google.com/p/jain-sip/source/detail?r=7bdff4c8416b&repo=ha
Modified:
/core/src/main/java/org/mobicents/ha/balancing/only/javax/sip/SipStackImpl.java
=======================================
---
/core/src/main/java/org/mobicents/ha/balancing/only/javax/sip/SipStackImpl.java
Fri Jan 11 08:58:21 2013
+++
/core/src/main/java/org/mobicents/ha/balancing/only/javax/sip/SipStackImpl.java
Fri Jan 11 09:39:00 2013
@@ -37,6 +37,8 @@
import org.mobicents.ha.javax.sip.ClusteredSipStack;
import org.mobicents.ha.javax.sip.ClusteredSipStackImpl;
import org.mobicents.ha.javax.sip.HASipDialog;
+import org.mobicents.ha.javax.sip.LoadBalancerHeartBeatingService;
+import org.mobicents.ha.javax.sip.LoadBalancerHeartBeatingServiceImpl;
import org.mobicents.ha.javax.sip.cache.NoCache;
import org.mobicents.ha.javax.sip.cache.SipCache;
@@ -71,6 +73,9 @@
if(configurationProperties.getProperty(ClusteredSipStack.CACHE_CLASS_NAME_PROPERTY)
== null) {
configurationProperties.setProperty(ClusteredSipStack.CACHE_CLASS_NAME_PROPERTY,
NoCache.class.getName());
}
+
if(configurationProperties.getProperty(LoadBalancerHeartBeatingService.LB_HB_SERVICE_CLASS_NAME)
== null) {
+
configurationProperties.setProperty(LoadBalancerHeartBeatingService.LB_HB_SERVICE_CLASS_NAME,
LoadBalancerHeartBeatingServiceImpl.class.getName());
+ }
return configurationProperties;
}
--
---
You received this message because you are subscribed to the Google Groups "mobicents-commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.