Yuk-Ming Lam
7dd28add82
Logging change.
4 vuotta sitten
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 vuotta sitten
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 vuotta sitten
yiu
2fab227d3d
[maven-release-plugin] prepare for next development iteration
4 vuotta sitten
yiu
fec020b5bf
[maven-release-plugin] prepare release 1.0.3
4 vuotta sitten
Yuk-Ming Lam
6c29b820ae
Improved logging.
4 vuotta sitten
Yuk-Ming Lam
c1615f0f4f
Merge branch 'master' of https://git.link2tek.net/ymlam/CommEngine
4 vuotta sitten
Yuk-Ming Lam
25deaade44
Memory leak, user display improvement.
Broadcast state ALLDONE added to mark the event of completing postback,
and when all threads are to be terminated.
CommEngine report of a broadcast adds service times,
and number of transactions.
4 vuotta sitten
yiu
0ac1654296
[maven-release-plugin] prepare for next development iteration
4 vuotta sitten
yiu
9d5ea5890a
[maven-release-plugin] prepare release 1.0.2
4 vuotta sitten
Yuk-Ming Lam
4e0b471b8f
Unified getServiceThreadPoolSize and getPostbackSenderPoolSize.
4 vuotta sitten
Yuk-Ming Lam
d9513d2486
Discourage use of getServiceThreadPoolSize method.
Broadcasts should determine their own service thread pool size.
4 vuotta sitten
Yuk-Ming Lam
4fbbfc0ef0
Let Broadcast class to generate HTTP response to pause, and resume.
4 vuotta sitten
Yuk-Ming Lam
2cf2164548
Fix bug that service thread may get stuck on cancel.
This would lead to memory leak when SMSEngine is shutdown.
4 vuotta sitten
Yuk-Ming Lam
f70c901424
Fixed bugs with 'resume', 'cancel', 'pause', etc.
4 vuotta sitten
Yuk-Ming Lam
0b260d7e58
Code cleanup.
4 vuotta sitten
Yuk-Ming Lam
7296a77eac
Fixed bug in job managements and broadcast status
4 vuotta sitten
Yuk-Ming Lam
0b5c1548af
Fix bug of failing to requeue on 0 requeue delay.
4 vuotta sitten
Yuk-Ming Lam
f085828d98
Added 'SPAM' JobSttus to support NumberWhole
returning 422 HTTP status to indicate message is spammed.
4 vuotta sitten
Yuk-Ming Lam
0da88a02c7
Add support for SMS provider property 'service_threadpool_size'.
4 vuotta sitten
yiu
15ab1a3807
[maven-release-plugin] prepare for next development iteration
5 vuotta sitten
yiu
fb00d8e67c
[maven-release-plugin] prepare release 1.0.1
5 vuotta sitten
Yuk-Ming Lam
27cf553ffd
Added job statuses in support of SMS provider NumberWholesale.
5 vuotta sitten
yiu
9daa8a6868
[maven-release-plugin] prepare for next development iteration
5 vuotta sitten
yiu
647e8e7c93
[maven-release-plugin] prepare release 1.0.0
5 vuotta sitten
yiu
5585d53ff4
updated scm url
5 vuotta sitten
yiu
9d13def881
[maven-release-plugin] rollback the release of 1.0.0
5 vuotta sitten
yiu
1d1fd543a0
[maven-release-plugin] prepare release 1.0.0
5 vuotta sitten
yiu
9f662e2a51
changed version to 1.0.0-SNAPSHOT
5 vuotta sitten
Yuk-Ming Lam
365ded0a9f
Merge branch 'master' of https://git.link2tek.net/ymlam/CommEngine
5 vuotta sitten
Yuk-Ming Lam
d48b6706af
Remain with log4j version 1.xxx
5 vuotta sitten
yiu
455f3778f8
Revert back to log4j-1 from log4j-2
log4j-2 causes problems because
1. WE use Configurator to configure from a properties file.
2. Other dependency uses log4j-1, improper to mix versions.
Symptoms include
. No logging
. Failure to load Logger class.
5 vuotta sitten
Yuk-Ming Lam
3094d68f20
Relax visibility to public.
5 vuotta sitten
Yuk-Ming Lam
e18873052d
Change visibility of myLogger from private to protected
5 vuotta sitten
yiu
df842b9869
Merge branch 'master' of dev1.link2tek.net:/home/alerttekdev/git_hub/CommEngine
5 vuotta sitten
yiu
b30c71b555
Advance to log4j-2.13.3 in order to be compatible with java-11.
5 vuotta sitten
Yuk-Ming Lam
e6e2ec8ed8
Fix bug of not setting the changeStateTime when transitioning to RUNNING
state.
5 vuotta sitten
yiu
2d865fd001
switch to jdk 11
5 vuotta sitten
Yuk-Ming Lam
21ddd94743
Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 538dede739 .
5 vuotta sitten
ymlam
538dede739
[maven-release-plugin] prepare for next development iteration
6 vuotta sitten
ymlam
c497efe7de
[maven-release-plugin] prepare release CommEngine-0.0.3
6 vuotta sitten
ymlam
56002b3bee
Pause and resume
6 vuotta sitten
ymlam
bcda96477c
Merge branch 'maven' into postback_reorg
6 vuotta sitten
ymlam
cc1a5c174e
Fix bug in not properly destroying service and postback threads.
Also fix bug of not doing CANCEL properly.
6 vuotta sitten
ymlam
78992579de
Use completedJobCount and totalJob to help keeping track of job counts in
various states. Delay closing HttpClient until all postback threads have
exited.
6 vuotta sitten
ymlam
c08ba9f57c
Moved postback capability from CommEngine to Broadcast.
Tested to work correctly with a 1-recipient SMS broadcast.
Need more testing.
6 vuotta sitten
ymlam
bf507f23b4
Activate PoolingHttpClientConnectionManager for use in postback.
6 vuotta sitten
ymlam
2c7ba134d8
Remove unused startProcessing method.
6 vuotta sitten
ymlam
1a92409c15
Removed unused and already-commented out do_post_good method.
6 vuotta sitten
ymlam
8d390402d4
More accurate print statement.
6 vuotta sitten