4541 Commits

Author SHA1 Message Date
Clebert Suconic
d03c4c8cc7 This closes #1649 2017-11-07 19:08:40 -05:00
Erich Duda
5f8cef9865 ARTEMIS-1507 ActiveMQConnectionTimedOutException is thrown even though no timeout expired
When the execution of code jumps out of the while cycle,
it should check whether the blocking-call-timeout expired or not.
If no, ActiveMQUnBlockedException should be thrown
instead of ActiveMQConnectionTimedOutException.
2017-11-07 08:42:58 +01:00
Clebert Suconic
0d38250ff2 This closes #1600 2017-11-06 13:52:58 -05:00
Francesco Nigro
3950169c21 ARTEMIS-1471 Needs Bounds Checking on writes for MappedSequentialFile
The MappedSequentialFile relies on the assumption that any writers
won't exceed the maximum capacity of the file, leaving the JVM to crash otherwise.
This commit adds proper bounds checking on write operations (and position changes too)
in order to provide recoverable effects if such scenario should occour.
In addition are provided minor fixes on Mapped and Nio SequentialFile::fill behaviour
to match the original contract.
2017-11-06 13:52:57 -05:00
Clebert Suconic
f7ec00b845 This closes #1645 2017-11-06 12:44:47 -05:00
Timothy Bish
72d7ce6186 ARTEMIS-1504 Update to QpidJMS 0.27.0 and Proton-j 0.23.0
Update to latest Qpid-JMS and match its Proton-J dependency
2017-11-06 12:07:32 -05:00
Clebert Suconic
7e94d342ca This closes #1642 2017-11-06 11:30:45 -05:00
Pat Fox
21f217df72 NO-JIRA minor updates to sample, so it works as described in comments
- FILESIZE was set to 1 MiB instead of 2 GiB
I had a look at the previous change to FILE_SIZE and my guess is the change was included in a commit as an oversight. Please let me know if the file size was meant to be reduced and I will modify the PR to reflect that.

- ?minLargeMessageSize=10240 was omitted from URL.
2017-11-06 11:27:20 -05:00
Clebert Suconic
07eb1d25be This closes #1639 2017-11-03 23:51:07 -04:00
Clebert Suconic
559a704818 ARTEMIS-1416 Fixing testsuite 2017-11-03 18:27:42 -04:00
Clebert Suconic
0e9b39c825 ARTEMIS-1416 Fixing qpid AMQP tests
This will fix tests from https://git-wip-us.apache.org/repos/asf/qpid-interop-test.git

Notice that the previous 2 committs here are needed
2017-11-03 18:27:24 -04:00
Howard Gao
ec13ed6df0 ARTEMIS-1416 Fix regressions in Joram tests
This closes #1621
2017-11-03 18:26:03 -04:00
Howard Gao
f3ace6afd7 ARTEMIS-1416 Queue is not autocreated if address already exists
- Fix on core and amqp.
- Add test to verify amqp's current large message behavior.
- Add test to openwire also just to verify.
2017-11-03 18:25:23 -04: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
Clebert Suconic
ea5967b09b NO-JIRA Fixing typo
I changed the assertion by mistake on 75dc271cdbcad4ebf6a84a1e7e5a1f52f225ea23
2017-11-03 13:18:09 -04:00
Clebert Suconic
f855c4ac2f This closes #1636 2017-11-03 10:53:05 -04:00
Stanislav Knot
a5c0c024fa ARTEMIS-1486 added JMS client test 2017-11-03 10:53:05 -04:00
Clebert Suconic
47c2685f18 This closes #1637 2017-11-03 10:29:49 -04:00
Pat Fox
fcf4f3e79a NO-JIRA minor typo in doc'd config sample 2017-11-03 13:05:10 +01:00
Clebert Suconic
520fe1c5b5 This closes #1631 2017-11-02 20:46:27 -04:00
Justin Bertram
096d98407f ARTEMIS-1492 obfuscate passwords in acceptorControl 2017-11-02 20:46:26 -04:00
Clebert Suconic
5a89fcd098 This closes #1630 2017-11-02 09:54:46 -04:00
Clebert Suconic
4de948f7e2 NO-JIRA adding back the apache guide on release 2017-11-02 09:54:22 -04:00
Justin Bertram
9f87457ee9 NO-JIRA updating release documentation 2017-11-02 09:49:28 -04:00
Clebert Suconic
f18b50a7ca This closes #1632 2017-11-02 09:37:31 -04:00
Clebert Suconic
75dc271cdb NO-JIRA Small refactoring on Wait
- Added Wait.assert methods, what would make it easier to assert on future conditions
- Moved Wait to artemis-junit, we are now using that module on the testsuite
2017-11-02 09:37:31 -04:00
Clebert Suconic
7f4a79b0c6 NO-JIRA Fixing intermittent test failures 2017-11-02 09:37:31 -04:00
Martyn Taylor
5997e21ec7 This closes #1629 2017-11-02 11:19:35 +00:00
Stanislav Knot
61ce7a7454 ARTEMIS-1486 Core client should be notified if consumer is closed on broker side 2017-11-02 11:19:35 +00: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 2.4.0 2017-11-01 00:38:56 -05:00
Justin Bertram
ac51c90571 This closes #1627 2017-11-01 00:13:37 -05:00
Justin Bertram
0413b8c488 NO-JIRA fix new example poms 2017-11-01 00:11:46 -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
Andy Taylor
e3a24f08b6 This closes #1623 ARTEMIS-1488 add 'all' client jar to distribution 2017-10-31 14:44:37 +00:00
Justin Bertram
cd99aba48b ARTEMIS-1488 add 'all' client jar to distribution 2017-10-31 14:44:37 +00:00
Justin Bertram
80855e0789 This closes #1626 2017-10-31 09:33:10 -05:00
Andy Taylor
804e12c7ce ARTEMIS-1491 - removed duplicate Jolokia instance
https://issues.apache.org/jira/browse/ARTEMIS-1491
2017-10-31 09:33:10 -05:00
Justin Bertram
de69673fc0 This closes #1625 2017-10-31 08:37:40 -05:00
Clebert Suconic
9eb780cbd1 ARTEMIS-1490 Race on address delete 2017-10-31 08:37:40 -05:00
Justin Bertram
f8a4e0c964 This closes #1624 2017-10-31 08:33:44 -05:00
Clebert Suconic
f8a0eec2cf ARTEMIS-1489 Adjusting timeouts on test
The Critical analyzer is supposed to catch Deadlocks, and such
can only be resolved by killing the VM.

This test is using shutdown as it would be a bit more complex to
handle Byteman to then halt the VM. This will validate the
CriticalAnalyzer is capturing the event, and in such it would halt the VM.
2017-10-31 08:33:44 -05:00
Clebert Suconic
2bf690e21b ARTEMIS-1489 Adding Timed Buffer into Critical Analyzer 2017-10-31 08:33:44 -05:00
Martyn Taylor
5a476a189d ARTEMIS-1489 Add test for TimedBuffer Critical Analyser 2017-10-31 08:33:44 -05:00
Clebert Suconic
3bdeed80c3 This closes #1622 2017-10-31 09:17:08 -04: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
60ce40f3a8 This closes #1620 2017-10-27 23:07:31 -04: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
Justin Bertram
6cc786ff15 This closes #1619 2017-10-27 12:26:48 -05:00