Francesco Nigro
dab05adf6c
ARTEMIS-1572 UTF-8 Encoding is not translating ASCII edge cases correctly
...
It fixed 0-127 ASCII chars translation using UTF encoding
2018-01-04 13:57:08 -06:00
Michael André Pearce
3ef98044f8
ARTEMIS-1516 - Ensure JNDI via Tomcat Resource works
...
Apply fix so that when using JNDI via tomcat resource it works.
Replace original extract of JNDIStorable taken from Qpid, and use ActiveMQ5's as fits better to address this issue. (which primary use case is users migrating from 5.x)
Refactored ActiveMQConnectionFactory to externalise and turn into reference by StringRefAddr's instead of custom RefAddr which isnt standard.
Refactored ActiveMQDestinations similar
Refactored ActiveMQDestination to remove redundent and duplicated name field and ensured getters still behave the same
2017-12-19 09:20:35 -05:00
Justin Bertram
08106453b5
NO-JIRA add expected MQTT threadgroup to test rule
2017-12-12 09:33:00 -06:00
Clebert Suconic
f9d101d0a1
ARTEMIS-1531 Adding timedbuffer operations on critical analyzer
...
Also, making TimedBuffer.stop() synchronized to avoid issues during device outages
2017-11-29 18:09:00 -05:00
Clebert Suconic
8b7282d849
ARTEMIS-1529 Fixing Ref count over asynchronous ack
2017-11-29 09:45:09 -05:00
Clebert Suconic
68705a5a63
NO-JIRA Making sure System.properties are cleaned up between tests
2017-11-15 17:14:34 -05:00
Justin Bertram
55d7260a07
ARTEMIS-1510 refactor Maven poms
...
Clean up unused declared dependencies and undeclared dependencies which
are pulled in transitively.
2017-11-13 17:03:35 -05:00
Francesco Nigro
33b3eb6f09
ARTEMIS-1495 Few perf improvements to:
...
- reduce volatile loads
- allow method inlining for hot execution paths
- reduced pointers chasing due to inner classes uses
2017-11-09 11:58:36 -05:00
Clebert Suconic
91db08072b
ARTEMIS-1495 Fixing In Handler executor and added benchmark to measure impact of changes
2017-11-09 11:58:36 -05:00
Francesco Nigro
0fadc68ca5
ARTEMIS-1495 Lock-free ProcessorBase::shutdownNow
2017-11-09 11:58:36 -05:00
Francesco Nigro
3c5b57f1e9
ARTEMIS-1495 Sanity tests for the ProcessorBase::shutdownNow feature
2017-11-09 11:58:36 -05:00
Clebert Suconic
2e6176a693
ARTEMIS-1495 Removing flushes from codebase
...
Instead of flushing we just need to make sure there are no more calls into
page executors as we stop the PageManager.
This will avoid any possible starvations or deadlocks here.
2017-11-09 11:58:36 -05:00
Clebert Suconic
b0c83073e2
NO-JIRA Using interrupts on ThreadRuleCheck
...
This would speedup cleanup of eventual executors and stuff like that
2017-11-03 16:03:36 -04:00
Justin Bertram
8703d9d51d
[maven-release-plugin] prepare for next development iteration
2017-11-01 00:38:57 -05:00
Justin Bertram
ec63189a0a
[maven-release-plugin] prepare release 2.4.0
2017-11-01 00:38:56 -05:00
Justin Bertram
a44b9d5edf
[maven-release-plugin] prepare for next development iteration
2017-10-31 12:09:43 -05:00
Justin Bertram
34a7431d1b
[maven-release-plugin] prepare release 2.4.0
2017-10-31 12:07:55 -05:00
Clebert Suconic
2bf690e21b
ARTEMIS-1489 Adding Timed Buffer into Critical Analyzer
2017-10-31 08:33:44 -05:00
Erich Duda
fb76d9aeb0
ARTEMIS-1485 ActiveMQTestBase.threadDump should print information about locks and deadlocks
...
Improved implementation of ActiveMQTestBase.threadDump which uses ThreadMXBean
for getting information about threads including locks and deadlocks.
2017-10-31 08:04:11 +01:00
Clebert Suconic
1af6d986a5
ARTEMIS-1447 Reuse thread pools on JDBC Locks
...
I had moved the initialization of the thread pools for that..
I also have changed the CrticialAnalyzer to use the same pools as part of this
2017-10-27 22:32:53 -04:00
Clebert Suconic
bc97720bf2
NO-JIRA small doc on ActiveMQScheduledComponent
2017-10-26 15:38:37 -04:00
Martyn Taylor
76b1f9cf8f
ARTEMIS-1482 Catch malformed SimpleString
2017-10-25 10:22:01 -05:00
ederign1
56e2592e58
[ARTEMIS-1477] Removing netty-all dependency from clients
2017-10-23 20:24:33 -04:00
Clebert Suconic
c66a7975e6
ARTEMIS-1462 Fixing QueueControlTest
2017-10-18 12:21:47 -04:00
Francesco Nigro
40f49ef0bc
ARTEMIS-1462 Allow ActiveMQScheduledComponent initial delay configuration
...
It contains:
- an improved documentation of the constructors
- the initial delay configuration
2017-10-16 17:33:15 -04:00
barreiro
f8b758d14b
ARTEMIS-1451 - Remove synchronization on ActiveMQThreadPoolExecutor
2017-10-05 21:30:31 +01:00
Clebert Suconic
178d403117
NO-JIRA Adding CriticalAnalyzer test on HALT
2017-09-29 11:35:47 -04:00
Michael Andre Pearce
b53b3acdb4
ARTEMIS-1439 Upgrade Netty to 4.1.16
...
Upgrade netty.
Remove tacticle fix for https://issues.apache.org/jira/browse/ARTEMIS-1099
as now fixed/handled upstream in netty from 4.1.16 https://github.com/netty/netty/issues/7150
2017-09-28 13:51:00 -05:00
Clebert Suconic
796c4f2c4e
ARTEMIS-1441 Critical Analyzer Check Period not properly parsed
2017-09-27 20:59:05 -04:00
Timothy Bish
a07cb45222
ARTEMIS-1400 Fix some minor issues spotted with FindBugs
...
Remove a bit of dead code, and invert two string tests that were testing
for null after comparing the value to empty string (NPE scenario).
2017-09-11 12:08:02 -04:00
Clebert Suconic
d414a1968b
ARTEMIS-1401 fixing test (NPE on EmptyCriticalAnalyzer)
2017-09-07 21:30:34 -04:00
Francesco Nigro
9cf222be11
ARTEMIS-1393 CriticalAnalyzer timeout uses System::currentTimeMillis
...
The timeout logic is changed to use System::nanoTime, less sensible to OS clock changes.
The volatile set on CriticalMeasure are changed with cheaper lazySet.
2017-09-07 10:11:35 -04:00
Clebert Suconic
c8982d775b
[maven-release-plugin] prepare for next development iteration
2017-09-05 17:03:48 -04:00
Clebert Suconic
84d5ac65b4
[maven-release-plugin] prepare release 2.3.0
2017-09-05 17:03:37 -04:00
Justin Bertram
714655a051
NO-JIRA improve password masking doc & code
...
Move password masking documentation into its own chapter and tweak it a
bit for clarity and comprehensiveness.
2017-09-05 16:40:38 -04:00
Clebert Suconic
ed1b268d42
[maven-release-plugin] prepare for next development iteration
2017-08-31 13:48:09 -04:00
Clebert Suconic
21f2a4a52c
[maven-release-plugin] prepare release 2.3.0
2017-08-31 13:47:57 -04:00
Clebert Suconic
6fda75a9fc
ARTEMIS-1297 Load balance or redistribution of AMQP Messages
2017-08-29 12:56:15 -05:00
Clebert Suconic
f2d74e7a43
ARTEMIS-1367 Moving CriticalAnalyzerPolicy
2017-08-24 18:08:01 -04:00
Francesco Nigro
bdf1061058
ARTEMIS-1357 TypedProperties encode/decode improvement
2017-08-22 22:17:39 -04:00
Clebert Suconic
012fe58b2c
ARTEMIS-1333 fixing test, cannot flush itself from Runnable
2017-08-09 16:02:10 -04:00
Michael Andre Pearce
0bc5510059
ARTEMIS-1342: Support Netty Native KQueue on macOS
...
Add support for KQueue for when server or client runs on macOS. This is inline with the epoll support for linux.
2017-08-09 15:23:16 -04:00
Clebert Suconic
8bc15b1199
ARTEMIS-1334 Scheduled component shouldn't be synchronized
2017-08-09 15:18:54 -04:00
Clebert Suconic
1ace306121
ARTEMIS-1328 Improving direct delivery check
...
Instead of wait to flush an executor,
I have added a method isFlushed() which will just translate to the
state on the OrderedExecutor.
In the case another executor is provided (for tests) there's a delegate
into normal executors.
2017-08-08 14:00:58 -04:00
Clebert Suconic
f16af75354
ARTEMIS-1324 Deadlock detection and health check of critical components
2017-08-07 18:40:03 -04:00
Clebert Suconic
fdad83be22
[maven-release-plugin] prepare for next development iteration
2017-07-24 21:21:18 -04:00
Clebert Suconic
71b1cc2a20
[maven-release-plugin] prepare release 2.2.0
2017-07-24 21:21:06 -04:00
Dmitrii Tikhomirov
28087ad4af
[ARTEMIS-1293] Log messages without prefixed id code in artemis-commons
2017-07-17 10:34:06 -04:00
Clebert Suconic
7fd17f407f
ARTEMIS-1269 Simple Actor to replace certain executions
...
This is replacing an executor on ServerSessionPacketHandler
by a this actor.
This is to avoid creating a new runnable per packet received.
Instead of creating new Runnable, this will use a single static runnable
and the packet will be send by a message, which will be treated by a listener.
Look at ServerSessionPacketHandler on this commit for more information on how it works.
2017-07-11 14:22:36 -04:00
Clebert Suconic
89e84e1320
ARTEMIS-1269 Fixing blocked replication
...
If replication blocked anything on the journal
the processing from clients would be blocked
and nothing would work.
As part of this fix I am using an executor on ServerSessionPacketHandler
which will also scale better as the reader from Netty would be feed immediately.
2017-07-06 19:04:48 -04:00