yiu
c093ed6e5c
switched to jakarta servlet as javax.servel is no longer supported after tomcat9
1 месяц назад
ymlam
9cf5ee355e
DailyClock thread given name. Add try to catch unexpected thread death.
2 лет назад
ymlam
c480c88ba9
Close window of missing clock action on a heavily loaded system.
The clock thread may not wake up during the daily pause
and daily resume minute, and when it does not, the corresponding
wall clock action will be missed.
The fix is in checkout the time of operations every time the
clock thread wakes up.
There is no longer need for the clock to wake up in the middle of
a wall clock minute. So we improved the user experience by waking
up this thread at the beginning of every minute.
2 лет назад
ymlam
2b3295588b
Count active jobs only over dispatched jobs whose status is not final.
2 лет назад
ymlam
940e276ab2
Updates to support Live Call 2, i.e. agent first
3 лет назад
ymlam
d2f9b87a34
Improved interaction between pause by operator and by clock
3 лет назад
ymlam
b26988bc59
Replace daily pause/resume with daily operating hours
3 лет назад
ymlam
53bc932e97
Added ability for derived Broadcast class to add to configuration output.
3 лет назад
ymlam
abf7b6700e
Better use of 'new JSONObject()'
3 лет назад
ymlam
9c8d6cab4d
API to configure daily clock
3 лет назад
ymlam
7c5e990de6
Fix bug of not sleeping according to calcaulated sleep time.
3 лет назад
ymlam
1234de3189
Time of day clock based pause and resume.
Use reason field in Broadcast to record reason for pause, cancel etc.
3 лет назад
ymlam
b8d29b99d3
Added daily pause and resume feature.
Improved reponse text to pause and resume commands.
3 лет назад
ymlam
4d95efe3e9
Add Auto Pause feature
4 лет назад
ymlam
28756a94d6
Better exception handling
4 лет назад
ymlam
89c0ab716e
Fix bug of not timing viewing period of dead broadcasts from time of final BroadcastStatus.
4 лет назад
ymlam
4c882c8134
Add capability to return SUCCESS count and SMS specific segment count
in broadcast status message from CommEngine to portal.
5 лет назад
Yuk-Ming Lam
3d0b89a5bf
Purging stale broadcasts moved to getStatus
rather than periodically on schedule. This change has
no impact on user experience, and has improved logic,
and slight improvement in performance.
Also made all changes to the broadcasts structure under
synchronized control.
5 лет назад
Yuk-Ming Lam
a5152269a6
Ability to allow Broadcast descendent classes to access properties.
The common portion of the CommEngine properties file, are made
available to Broadcasts.
5 лет назад
Yuk-Ming Lam
d9513d2486
Discourage use of getServiceThreadPoolSize method.
Broadcasts should determine their own service thread pool size.
5 лет назад
Yuk-Ming Lam
4fbbfc0ef0
Let Broadcast class to generate HTTP response to pause, and resume.
5 лет назад
Yuk-Ming Lam
f70c901424
Fixed bugs with 'resume', 'cancel', 'pause', etc.
5 лет назад
Yuk-Ming Lam
7296a77eac
Fixed bug in job managements and broadcast status
5 лет назад
Yuk-Ming Lam
0da88a02c7
Add support for SMS provider property 'service_threadpool_size'.
5 лет назад
Yuk-Ming Lam
e18873052d
Change visibility of myLogger from private to protected
6 лет назад
ymlam
56002b3bee
Pause and resume
6 лет назад
ymlam
c08ba9f57c
Moved postback capability from CommEngine to Broadcast.
Tested to work correctly with a 1-recipient SMS broadcast.
Need more testing.
6 лет назад
ymlam
1a92409c15
Removed unused and already-commented out do_post_good method.
7 лет назад
ymlam
8d390402d4
More accurate print statement.
7 лет назад
ymlam
396dca45be
Add compatibility with re-maven era convention of log4php filepaths.
7 лет назад
ymlam
2ac4151c04
Use PoolingHttpClientConnectionManager to handle postback persistent connections
to Portal.
7 лет назад
ymlam
5f8b64843b
More debugging statement using System.out.println
7 лет назад
yiu
e0e56ddf97
CommEngine temp changes and maven repo
7 лет назад
Yiu Leung
8b5e6c2be5
maven changes
7 лет назад
ymlam
6165eff51c
Move POST processing to Broadcast.doPost method.
10 лет назад
ymlam
785ea730b3
moved log4j.properties file from classes directory to sibling of properties file, which is specified by a servlet context parameter.
12 лет назад
ymlam
e446718bda
Adjust to change of Broadcast.cancel method.
12 лет назад
ymlam
e041f199a7
Added reading of these parameters in configuration properties file:
dead_broadcast_viewing_period = 10
service_threadpool_size = 4
postback_threadpool_size = 3
postback_max_queue_size = 1999
postback_max_batch_size = 99
14 лет назад
ymlam
93217089fb
Restructure architecture to concentrate defining value of activity_record_id name in only one place, namely derived class of Broadcast.
14 лет назад
ymlam
b173c8d359
Fix bug of not destroying threads that monitor stale broadcasts.
14 лет назад
ymlam
3abe9c6365
Fixed CommEngine and Broadcast status data.
14 лет назад
ymlam
1f27100696
*** empty log message ***
14 лет назад