Commit Graph

2099 Commits

Author SHA1 Message Date
Andy Taylor 31e4e7d328 This closes #471 ARTEMIS-471 Fixing Divert on LargeMessages and Replication 2016-04-19 15:00:09 +01:00
Clebert Suconic e81fa5c359 ARTEMIS-490 Fixing LargeMessage copy through replication
this will fix cases like DLQ and Diverts
2016-04-19 15:00:09 +01:00
Clebert Suconic dcf651376f ARTEMIS-490 Adding test with LargeMessage.copy through replication
I'm keeping a commit just for the test so it would be easier to replicate the bug.
2016-04-19 15:00:09 +01:00
Clebert Suconic b4a6427d65 This closes #472 2016-04-19 09:49:59 -04:00
Andy Taylor 97f3fb241c ARTEMIS-493 - NullPointerException when trying a null connection remote properties are passed by client
adde a check and fixed a couple of other potential NPE's

https://issues.apache.org/jira/browse/ARTEMIS-493
2016-04-19 11:21:33 +01:00
Clebert Suconic bfa3b27cf7 This closes #459 2016-04-18 18:00:19 -04:00
Ingo Weiss e378e4f88f ARTEMIS-480 BridgeReconnectTest.testDeliveringCountOnBridgeConnectionFailure fails due to racing condition 2016-04-18 17:59:44 -04:00
Clebert Suconic 44c02be829 This closes #466 2016-04-18 17:52:22 -04:00
jbertram 2feda1d8f0 ARTEMIS-407 remove StompConnect references 2016-04-18 17:52:22 -04:00
Clebert Suconic 85f2af3812 This closes #467 2016-04-18 17:51:46 -04:00
jbertram 30907ffd8c ARTEMIS-400 allow SSL store reload 2016-04-18 17:51:46 -04:00
Clebert Suconic 1363d6eee3 This closes #470 2016-04-18 17:50:53 -04:00
jbertram afd1aeaf88 ARTEMIS-489 update examples doc 2016-04-18 17:50:53 -04:00
Clebert Suconic b4d6ae0f2c This closes #464 2016-04-18 17:50:09 -04:00
jbertram 5591bcabcc ARTEMIS-405 JMX attributes doc 2016-04-18 17:50:09 -04:00
Clebert Suconic 287ee86b3f ARTEMIS-465 - Fixing trace 2016-04-15 10:37:28 -04:00
Clebert Suconic b7118df7d0 ARTEMIS-482 Cleanup new ThreadPool on the testsuite to avoid leak report 2016-04-14 23:14:22 -04:00
Clebert Suconic ec73961f72 ARTEMIS-474 another fix on JChannelWrapper 2016-04-14 21:57:17 -04:00
Clebert Suconic a3ae2c4ad2 This closes #463 ARTEMIS-474 and ARTEMIS-484 2016-04-14 21:14:17 -04:00
Clebert Suconic 630db2d69c ARTEMIS-474 Clustering fails on certain topologies
Communication between nodes will fail under certain topologies
JGroups has something called JForkChannel that could be used on container systems.
And be injected into Artemis.
For some reason that channel cannot be reused for more than one channel per VM.
And it cannot ever be closed.

I am keeping the trace logs I used to debug this issue in case anything similar to this happens again.
2016-04-14 18:55:01 -04:00
Clebert Suconic d6c7e30594 ARTEMIS-484 Large Message Loss on Initial replication
https://issues.apache.org/jira/browse/ARTEMIS-484

The File copy after the initial synchronization on large messages was broken.
On this commit we fix how the buffer is cleaned up before each read since
a previously unfinished body read would make the buffer dirty.

I'm keeping also lots of Traces I have added to debug this issue, so they will
be useful if anything like this happens again.
2016-04-14 18:55:01 -04:00
Clebert Suconic 3ecd8b7c44 ARTEMIS-474 Avoiding one lock around the readyListener call tree and fixing ReplicationManager / NettyConnection deadlock 2016-04-14 18:55:01 -04:00
Clebert Suconic 2e894554ca ARTEMIS-474 fixing page.close() deadlock with replica 2016-04-14 18:55:01 -04:00
Clebert Suconic 86a81d315d ARTEMIS-465 Changing Byteman race on test 2016-04-14 18:55:01 -04:00
Clebert Suconic 914d93f636 This closes #462 2016-04-14 18:19:00 -04:00
Martyn Taylor fc8a1eff43 ARTEMIS-482 Assign dedicated ThreadPool for InVMTransport 2016-04-14 15:49:07 +01:00
Clebert Suconic 5678d1ad2b This closes #461 2016-04-13 21:29:59 -04:00
jbertram 7864577fbc ARTEMIS-420 user switch when broker is service 2016-04-13 21:29:59 -04:00
Clebert Suconic edc514196b This closes #460 2016-04-13 21:29:42 -04:00
jbertram c17f41dac7 ARTEMIS-476 example fixes/docs 2016-04-13 10:53:14 -05:00
Clebert Suconic 64ae8b0799 This closes #458 2016-04-12 17:26:51 -04:00
Howard Gao ee20248404 ARTEMIS-478 Improve Openwire SslBrokerServiceTest
Some of the SSL tests in openwire requires to pass in more options like
enabledCipherSuites. It needs to refactor the test util to allow passing
of those options to broker.
And some of the cipher suite is obsolete in recent jre. Meaning they
are disabled by default for security reasons
(e.g. SSL_RSA_WITH_RC4_128_SHA). This will cause SSL handshake failure.
It can be fixed by using a more secure (not disabled) one, like
TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
2016-04-12 17:26:51 -04:00
Clebert Suconic 03642fc1d8 This closes #456 2016-04-12 16:15:55 -04:00
John D. Ament 5b8ab20219 ARTEMIS-463 Refactored protocol loading code to not duplicate logic, and load from the default list. 2016-04-12 16:15:55 -04:00
Clebert Suconic 9fc60cd864 This closes #457 2016-04-12 16:10:07 -04:00
Andy Taylor 8a72f8906a ARTEMIS-453 - AMQP reply-to property is stripped off message as it goes through broker
TheJMSVendor protocol convertor class was not creating the destinations so any destination calls, setTo and setJMSReplyTo, were ignored. Ive added a server side destination class to bypass the naming checks we have on the client and this now sets everything correctly

https://issues.apache.org/jira/browse/ARTEMIS-453
2016-04-12 10:24:13 +01:00
Clebert Suconic fb4ca299ae This closes #455 2016-04-11 16:55:58 -04:00
Howard Gao 507193f714 ARTEMIS-477 Fix Certificate Issues in openwire test
also added a method impl to return a true uri instead of null.
2016-04-11 16:55:58 -04:00
Clebert Suconic b2ede6a19a This closes #454 2016-04-11 16:55:27 -04:00
Ville Skyttä 11acf2180f Avoid unnecessary empty array creation 2016-04-11 16:55:26 -04:00
Clebert Suconic bb739be92d This closes #453 2016-04-11 16:54:30 -04:00
Ville Skyttä 3dc3e8520d Remove redundant toString calls 2016-04-11 16:54:30 -04:00
Clebert Suconic 038efc60d2 This closes #452 2016-04-11 16:53:48 -04:00
Ville Skyttä cf00dd9b1b Avoid instantiating some number objects 2016-04-11 16:53:48 -04:00
Clebert Suconic c2d51c07f0 This closes #451 2016-04-11 16:53:10 -04:00
Ville Skyttä b5ffda4701 Fix getter and setter validation test 2016-04-11 16:53:10 -04:00
Clebert Suconic 39125546e9 This closes #450 2016-04-11 16:52:10 -04:00
Ville Skyttä 487b09fccc Replace some manual array copies with System.arraycopy 2016-04-11 16:52:10 -04:00
Clebert Suconic fbff5e7dd6 This closes #449 2016-04-11 16:51:02 -04:00
Ville Skyttä e6e1311f8d Add missing @Overrides 2016-04-11 16:51:01 -04:00