4458 Commits

Author SHA1 Message Date
Martyn Taylor
a5c443afb0 ARTEMIS-1511 Update tests to use StompTest Client + Fix issues 2017-11-13 16:55:47 -05:00
Martyn Taylor
c6e5163a51 ARTEMIS-1511 Enable WebSocket Transport in STOMP test client 2017-11-13 16:55:47 -05:00
Martyn Taylor
5211afdf86 ARTEMIS-1511 Refactor AMQP Transport for use with other test clients 2017-11-13 16:55:47 -05:00
Clebert Suconic
63b156e290 ARTEMIS-1495 Test Improvements
Server.stop is currently waiting completions on Sessions just because of test cases.

With the recent changes made into the Executors this is not needed any longer
2017-11-13 16:46:32 -05:00
Clebert Suconic
ead60d54d0 This closes #1650 2017-11-09 11:58:36 -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
Francesco Nigro
8bf879f156 ARTEMIS-1495 Test simulating a dead lock on queue auto create under stress 2017-11-09 11:58:36 -05:00
Clebert Suconic
c2a21c9743 This closes #1648 2017-11-09 11:52:44 -05:00
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 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