Commit Graph

1830 Commits

Author SHA1 Message Date
Clebert Suconic 315c5ffe80 This closes #437 2016-04-04 23:19:55 -04:00
Martyn Taylor e2c6d0b7f7 ARTEMIS-465 Create LM on write packet in ReplicationEndpoint
If a LM write packet is received from the live assume that the large
message exists and create a local reference.

Old behavour would reject the packet which could lead to loss of data on
failover see JIRA.
2016-04-04 23:15:54 -04:00
Clebert Suconic 7da22ff105 ARTEMIS-465 Testing possible races through large message replication 2016-04-04 23:15:54 -04:00
Clebert Suconic b16b864f07 This closes #425 2016-04-04 12:23:36 -04:00
Dominik Pospisil 078d38bc37 [ARTEMIS-444] Extend AIOSequentialFileFactory to check underlying FS 2016-04-04 12:23:36 -04:00
jbertram db56f27fa9 This closes #438 2016-04-04 11:09:28 -05:00
Jiri Danek e041c40ffd ARTEMIS-466 Fix java-opts handling in maven-cli
Previously, java-opts (--java-options argument on the command line)
were not passed on to Artemis broker. This broke the client-kickoff
example, which relies on this to configure JMX.
2016-04-04 11:09:28 -05:00
jbertram 6a468b27f8 This closes #436 2016-04-04 11:08:43 -05:00
Clebert Suconic 91bdeb3728 ARTEMIS-464 Sending null textMessage shouldn't break the wire 2016-04-04 11:08:43 -05:00
Clebert Suconic 3560415bcb ARTEMIS-463 Using OperationContext for async support 2016-04-04 11:08:43 -05:00
Clebert Suconic 3aedf27386 ARTEMIS-463 More simplifications on the openwire head
https://issues.apache.org/jira/browse/ARTEMIS-463

This will have some extra refactoring on the protocol head, transferring responsibility to the broker classes in a lot of cases
and removing some duplicated code

This was a team effort from Clebert Suconic and Howard Gao
2016-04-04 11:08:43 -05:00
Clebert Suconic 6ddf486f8f ARTEMIS-463 Refactoring on Openwire
https://issues.apache.org/jira/browse/ARTEMIS-463

This was a team effort from Clebert Suconic and Howard Gao
2016-04-04 11:08:43 -05:00
Clebert Suconic 2e66673048 ARTEMIS-463 Improvement to the openwire testsuite
https://issues.apache.org/jira/browse/ARTEMIS-463

This was a team effort from Clebert Suconic and Howard Gao
2016-04-04 11:08:43 -05:00
jbertram 7e80cc3586 This closes #435 2016-04-04 11:08:18 -05:00
Jiri Danek 2788eaa1bf Put parameters into query string in a predictable order
Previously, the order of query parameters depended on the iteration order of items in a Set.
This order is undefined for some Sets. Nevertheless, unit test for createQueryString expected
that query parameters are in a particular order.
2016-04-04 11:08:18 -05:00
jbertram 01d6e26081 This closes #434 2016-04-04 11:07:50 -05:00
Paul Gallagher 1aac582ce8 Update to dependency versions jgroups 2016-04-04 11:07:50 -05:00
Clebert Suconic 35d3c50db7 This closes #433 2016-04-04 12:05:39 -04:00
jbertram 69a97c3678 ARTEMIS-462 JMSXGroupID on JMS 2 producer 2016-04-04 12:05:39 -04:00
jbertram d476ca1035 This closes #432 2016-04-04 11:04:49 -05:00
Ville Skyttä 3a2d5de49e Remove unnecessary code 2016-04-04 11:04:49 -05:00
jbertram 6fbf80ed2a This closes #431 2016-04-04 11:04:13 -05:00
Ville Skyttä 4045d47daa Spelling fixes 2016-04-04 11:04:13 -05:00
jbertram bd5a78802f This closes #430 2016-04-04 11:03:48 -05:00
Ville Skyttä 16ee65309c Add missing @Override annotations 2016-04-04 11:03:48 -05:00
jbertram 12071d0fbc This closes #429 2016-04-04 11:03:20 -05:00
Ville Skyttä 50dcb136ab Remove bashishm from ARTEMIS-318 example 2016-03-26 13:19:51 +02:00
jbertram beae4265a2 This closes #428 2016-03-23 10:52:56 -05:00
Martyn Taylor afdb78dd5c ARTEMIS-456 Synchronize sendReplicatePacket method
There is a potential deadlock scenario if 2 threads try
sendReplicatePacket.  Thread 1 registers Netty callback which will
invoke readyForWrites() method, which locks the callback list and waits
on the replicationLock.  Thread 2 enters sendReplicatePacket and gets
the replicationLock and is blocked on the callback list lock.  This fix
ensures the sendReplicatePacket blocks on the ReplicationManager meaning
no interleaving of the Netty callback thread and the wait on lock can
happen.
2016-03-23 10:52:56 -05:00
Martyn Taylor 0030918fef This closes #427 2016-03-23 15:47:23 +00:00
jbertram e2b799d003 ARTEMIS-451 JAAS user/role props reload 2016-03-22 10:48:38 -05:00
Clebert Suconic 9c95201069 This closes #426 2016-03-21 18:35:21 -04:00
jbertram 32ce8710fc ARTEMIS-445 avoid NPE on null ks password 2016-03-21 18:35:21 -04:00
Clebert Suconic 923c12c7a4 This closes #424 2016-03-18 10:11:37 -04:00
Erich Duda edadc79c5f ARTEMIS-442 - [Artemis Testsuite] ConcurrentDeliveryCancelTest#testConcurrentCancels calls System.exit 2016-03-18 09:35:40 +01:00
Clebert Suconic 57c1c338ea This closes #423 2016-03-17 13:53:15 -04:00
jbertram 7653d17e6a ARTEMIS-441 correct time-unit for large msg poll 2016-03-17 09:22:14 -05:00
jbertram ab98eb9620 This closes #422 2016-03-16 10:06:24 -05:00
Clebert Suconic ee6a03295f ARTEMIS-437 Improving lock over certain protocols
Avoiding deadlocks between acks and other factors
2016-03-16 08:23:58 -04:00
Clebert Suconic ca19abb4f1 This closes #421 2016-03-15 15:08:28 -04:00
Martyn Taylor e9992bc59f ARTEMIS-439 Set default global thread pool based on cores 2016-03-15 15:20:21 +00:00
Clebert Suconic 45d1194009 ARTEMIS-437 tweak on the test. Making sure the test fails over during the message sends 2016-03-11 16:55:10 -05:00
Clebert Suconic 8ce17b2be6 This closes #420 2016-03-11 15:33:28 -05:00
jbertram 196f0ca8d6 ARTEMIS-432 client gets msg after session stop 2016-03-11 15:33:28 -05:00
jbertram 4ba11c8bbc This closes #419 2016-03-11 13:25:50 -06:00
Clebert Suconic 26fe21baa4 ARTEMIS-437 Large Message send should be interrupted during failover 2016-03-11 13:13:32 -05:00
Clebert Suconic 212c16867c This closes #418 2016-03-11 12:59:24 -05:00
Erich Duda 9b60e558eb ARTEMIS-430 - [Artemis Testsuite] ClosingConnectionTest#testKillConnection fails 2016-03-11 07:25:34 +01:00
Clebert Suconic 83738d0902 This closes #417 2016-03-10 08:50:13 -05:00
Erich Duda b6922c25f9 ARTEMIS-429 - [Artemis Testsuite] TopicControlUsingJMSTest#testGetXXXMessagesCount fails 2016-03-10 08:50:13 -05:00