ymlam
abf7b6700e
Better use of 'new JSONObject()'
3 years ago
ymlam
9c8d6cab4d
API to configure daily clock
3 years ago
ymlam
7c5e990de6
Fix bug of not sleeping according to calcaulated sleep time.
3 years ago
ymlam
1234de3189
Time of day clock based pause and resume.
Use reason field in Broadcast to record reason for pause, cancel etc.
3 years ago
ymlam
b8d29b99d3
Added daily pause and resume feature.
Improved reponse text to pause and resume commands.
3 years ago
ymlam
4d95efe3e9
Add Auto Pause feature
3 years ago
ymlam
28756a94d6
Better exception handling
4 years ago
ymlam
89c0ab716e
Fix bug of not timing viewing period of dead broadcasts from time of final BroadcastStatus.
4 years ago
ymlam
4c882c8134
Add capability to return SUCCESS count and SMS specific segment count
in broadcast status message from CommEngine to portal.
4 years ago
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.
4 years ago
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.
4 years ago
Yuk-Ming Lam
d9513d2486
Discourage use of getServiceThreadPoolSize method.
Broadcasts should determine their own service thread pool size.
4 years ago
Yuk-Ming Lam
4fbbfc0ef0
Let Broadcast class to generate HTTP response to pause, and resume.
4 years ago
Yuk-Ming Lam
f70c901424
Fixed bugs with 'resume', 'cancel', 'pause', etc.
4 years ago
Yuk-Ming Lam
7296a77eac
Fixed bug in job managements and broadcast status
4 years ago
Yuk-Ming Lam
0da88a02c7
Add support for SMS provider property 'service_threadpool_size'.
4 years ago
Yuk-Ming Lam
e18873052d
Change visibility of myLogger from private to protected
5 years ago
ymlam
56002b3bee
Pause and resume
6 years ago
ymlam
c08ba9f57c
Moved postback capability from CommEngine to Broadcast.
Tested to work correctly with a 1-recipient SMS broadcast.
Need more testing.
6 years ago
ymlam
1a92409c15
Removed unused and already-commented out do_post_good method.
6 years ago
ymlam
8d390402d4
More accurate print statement.
6 years ago
ymlam
396dca45be
Add compatibility with re-maven era convention of log4php filepaths.
6 years ago
ymlam
2ac4151c04
Use PoolingHttpClientConnectionManager to handle postback persistent connections
to Portal.
6 years ago
ymlam
5f8b64843b
More debugging statement using System.out.println
6 years ago
yiu
e0e56ddf97
CommEngine temp changes and maven repo
6 years ago
Yiu Leung
8b5e6c2be5
maven changes
6 years ago
ymlam
6165eff51c
Move POST processing to Broadcast.doPost method.
9 years ago
ymlam
785ea730b3
moved log4j.properties file from classes directory to sibling of properties file, which is specified by a servlet context parameter.
11 years ago
ymlam
e446718bda
Adjust to change of Broadcast.cancel method.
11 years ago
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
13 years ago
ymlam
93217089fb
Restructure architecture to concentrate defining value of activity_record_id name in only one place, namely derived class of Broadcast.
13 years ago
ymlam
b173c8d359
Fix bug of not destroying threads that monitor stale broadcasts.
13 years ago
ymlam
3abe9c6365
Fixed CommEngine and Broadcast status data.
13 years ago
ymlam
1f27100696
*** empty log message ***
13 years ago