Commit Graph

4546 Commits

Author SHA1 Message Date
Erich Duda 5cc8faedd8 ARTEMIS-1506 Synchronization issue during failover in ClientSessionImpl
The temporary deadlock is avoided by removing 'synchronized' from
ClientSessionImpl::getCredits method. As the method uses only
a producerCreditManger, only this object is guarded against
the parallel access.
2017-11-09 11:52:44 -05:00
Clebert Suconic 93f4e41beb This closes #1646 2017-11-09 11:18:48 -05:00
Justin Bertram 949f21a923 NO-JIRA update release documentation 2017-11-09 11:18:48 -05:00
Clebert Suconic d94efe0442 This closes #1651 2017-11-09 11:16:00 -05:00
Francesco Nigro 8e8a6f0faf ARTEMIS-1509 Add support for JdbcNodeManager into the NettyFailoverTest 2017-11-08 14:52:57 +01:00
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 75dc271cdb
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 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