Closed GoogleCodeExporter closed 9 years ago
It may be:
/sms-lib/src/main/java/org/smslib/notify/NotifyQueueManager.java
sms-lib/src/main/java/org/smslib/notify/NotifyQueueManager.java
@@ -34,6 +34,9 @@
public NotifyQueueManager()
{
setNotifyQueue(new LinkedBlockingQueue<Notification>());
+ }
+
+ public void start(){
setNotifyQueueManager(new NotificationQueueManager("NotifyQueueManager", 100));
}
/sms-lib/src/main/java/org/smslib/Service.java
/sms-lib/src/main/java/org/smslib/Service.java
@@ -219,9 +219,12 @@
*/
public synchronized void startService(boolean startAllGateways) throws SMSLibException, TimeoutException, GatewayException, IOException, InterruptedException
{
if(queueManager == null){
queueManager = new DefaultQueueManager();
}
try
{
+ getNotifyQueueManager().start();
getQueueManager().start();
setServiceStatus(ServiceStatus.STARTING);
setWatchDog(new WatchDog("WatchDog", (getSettings().WATCHDOG_INTERVAL * 1000)));
Original comment by Waldemar.Klaczynski
on 19 Mar 2012 at 3:47
Original comment by T.Delenikas
on 22 Mar 2012 at 8:56
r2333
Original comment by T.Delenikas
on 22 Mar 2012 at 9:05
Issue 435 has been merged into this issue.
Original comment by T.Delenikas
on 27 Mar 2012 at 5:32
Original comment by T.Delenikas
on 31 Mar 2012 at 8:03
Original issue reported on code.google.com by
Waldemar.Klaczynski
on 19 Mar 2012 at 3:39