5563 Commits

Author SHA1 Message Date
Clebert Suconic
88b23994c3 This closes #2093 2018-05-23 13:11:36 -04:00
Michael André Pearce
a9d9731f0a ARTEMIS-1872 Check for queue exists before creating shared queue
1. Add tests case to verify issue and fix, tests also tests for same behavior using CORE, OPENWIRE and AMQP JMS Clients.
2. Update Core Client to check for queue before creating, sharedQueue as per createQueue logic.
3. Update ServerSessionPacketHandler to handle packets from old clients to perform to implement the same fix server side for older clients.
4. Correct AMQP protocol so correct error code is returned on security exception so that amqp jms can correctly throw JMSsecurityException
5. Correct AMQP protocol to check for queue exists before create
6. Correct OpenWire protocol to check for address exists before create
2018-05-23 13:11:25 -04:00
Timothy Bish
78016cbe69 This closes #2098 2018-05-22 18:40:29 -04:00
Justin Bertram
8d64f741a1 ARTEMIS-1873 STOMP heartbeater left alive on cxn destroy 2018-05-22 17:07:31 -05:00
andytaylor
4cd7b1c65c This closes #2096 ARTEMIS-1876 InVMNodeManager shouldn't be used if no JDBC HA is configured 2018-05-22 11:17:37 +01:00
Francesco Nigro
f886c0bdb4 ARTEMIS-1876 InVMNodeManager shouldn't be used if no JDBC HA is configured
When database persistence and no shared store option is being used,
Artemis is choosing to use InVMNodeManager, that is not providing
the same behaviour of FileLockNodeManager.
2018-05-22 09:35:48 +02:00
Clebert Suconic
90273c92cc This closes #2091 2018-05-21 19:47:01 -04:00
saurabhrai
32a92b52e1 ARTEMIS-1870:Missing documentation for new parameter jdbc-journal-sync-period added for JDBC Persistence 2018-05-21 19:47:01 -04:00
Clebert Suconic
7a917dc7d2 This closes #2094 2018-05-21 18:10:00 -04:00
Justin Bertram
4d492bea0e ARTEMIS-1874 fix NPE setting object property 2018-05-21 18:10:00 -04:00
Clebert Suconic
6e6a76deab This closes #2092 2018-05-21 18:09:29 -04:00
Howard Gao
8b458b5682 ARTEMIS-1853 Adding Netty OpenSSL provider test
Added some netty openssl tests
Fix a NPE issue
2018-05-21 18:09:29 -04:00
Clebert Suconic
ef03ce4ee9 This closes #2090 2018-05-21 18:07:54 -04:00
Francesco Nigro
f24d97bfd1 ARTEMIS-1868 Openwire doesn't add delivery count in client ack mode
If a client ack mode consumer receives a message and closes without
acking it, the redelivery of the message won't set the redelivery
flag (JMSRedelivered) because it doesn't increment the delivery count
when message is cancelled back to queue.
(Perf improvement)
2018-05-21 18:02:40 -04:00
Howard Gao
47b31b53d6 ARTEMIS-1868 Openwire doesn't add delivery count in client ack mode
If a client ack mode consumer receives a message and closes without
acking it, the redelivery of the message won't set the redelivery
flag (JMSRedelivered) because it doesn't increment the delivery count
when message is cancelled back to queue.
2018-05-21 18:00:08 -04:00
Clebert Suconic
9eed307cee This closes #2095 2018-05-21 17:59:20 -04:00
Martyn Taylor
4b04b53bc9 ARTEMIS-1875 Add message address if not set during redistribution 2018-05-21 18:23:42 +01:00
Timothy Bish
07197b8c15 NO-JIRA Update NOTICE files to have correct year range. 2018-05-17 15:43:31 -04:00
Clebert Suconic
23b5a0585c NO-JIRA Extra tests upgrade on pom 2018-05-16 21:54:21 -04:00
Clebert Suconic
af56b67e38 [maven-release-plugin] prepare for next development iteration 2018-05-16 11:03:26 -04:00
Clebert Suconic
bcaa11c2ee [maven-release-plugin] prepare release 2.6.0 2.6.0 2018-05-16 11:03:14 -04:00
Clebert Suconic
3e54c5da4e This closes #2083 2018-05-15 09:53:22 -04:00
Christian Sailer
2d59a0d3db ARTEMIS-1746: Fix client side OpenSSL 2018-05-15 09:48:12 -04:00
Clebert Suconic
459d5a811e This closes #2082 2018-05-14 09:45:41 -04:00
Michael André Pearce
aad45ad592 ARTEMIS-1783 Remove need for guava
Replace guava Preconditions with artemis Preconditions
Replace guava Predicate with java Predicate
Replace guava Ordering with java Comparator
Replace guava Immutable, with ArrayList/Set and then wrap with unmodifiable
2018-05-14 09:45:41 -04:00
Michael André Pearce
19418630d4 ARTEMIS-1783 Remove need for guava in client
Refactor away from Guava memorize based on Guava Supplier to using java.util.Supplier and our own memorizer code.
2018-05-14 09:45:41 -04:00
Clebert Suconic
6904af82d4 This closes #2088 2018-05-11 16:33:47 -04:00
Robbie Gemmell
f0bac1bf18 ARTEMIS-1862: fix 'amqpLowCredits' XML config, update related code defaults 2018-05-11 21:07:02 +01:00
Christopher L. Shannon (cshannon)
30cac20902 Merge branch 'ARTEMIS-1861'
This closes #2087
2018-05-11 13:21:48 -04:00
Timothy Bish
9e008523b5 ARTEMIS-1861 Set a max-frame-size on AMQP connections by default
Configure a value of 128KB for AMQP max frame size by default to improve
overall performance and provide a limit on delivery size before chunking
begins.
2018-05-11 12:57:56 -04:00
Clebert Suconic
2ea77d3eae This closes #2086 2018-05-11 12:11:52 -04:00
Justin Bertram
ecb9d462ce ARTEMIS-1851 avoid exception in isReplicaSync() 2018-05-11 12:11:52 -04:00
Clebert Suconic
82b5871cfd This closes #2085 2018-05-11 09:00:13 -04:00
Francesco Nigro
75d61f606b NO-JIRA Fixing assertActiveSession on ClientCrashTest::testCrashClient2 2018-05-11 11:44:19 +02:00
Clebert Suconic
32ec602eaf NO-JIRA Fixing test race on ClientCrashTest 2018-05-10 12:19:18 -04:00
Clebert Suconic
9d62e1d854 NO-JIRA Fixing another test race on JMSConsumer11Test 2018-05-10 09:05:30 -04:00
Clebert Suconic
9723eed830 NO-JIRA Fixing another test race 2018-05-09 20:45:33 -04:00
Clebert Suconic
d2cd21a0c3 This closes #2079 2018-05-09 09:12:31 -04:00
Michael André Pearce
72d694b9ed NO-JIRA - XSD Doc fix
Just correcting (reverting) an accidental doc change i had made a while back, for auto-delete-addresses, which was intended for config-delete-addresses.
2018-05-09 08:17:04 +01:00
Clebert Suconic
9387b9af4e NO-JIRA Improving test to avoid clustering races 2018-05-08 22:42:05 -04:00
Clebert Suconic
512d675049 This closes #2078 2018-05-08 22:10:52 -04:00
Clebert Suconic
69ca189439 NO-JIRA Improvements on ReplicatedMultipleServerFailoverExtraBackupsTest 2018-05-08 18:55:59 -04:00
Clebert Suconic
eaf935ecec NO-JIRA avoiding possible NPE on SharedNothingBackupActivation 2018-05-08 18:55:59 -04:00
Clebert Suconic
845f03dce3 This closes #2077 2018-05-08 18:55:41 -04:00
Justin Bertram
90a604da20 ARTEMIS-1834 don't alter STOMP 'destination' header when using prefix 2018-05-08 15:28:46 -05:00
Clebert Suconic
a66b7dda27 NO-JIRA Fixing race on test 2018-05-08 14:45:56 -04:00
Clebert Suconic
82d8992bce NO-JIRA Improving MqttClusterWildcardTest 2018-05-08 11:45:07 -04:00
Clebert Suconic
50e170b7ec NO-JIRA Fixing ReplicatedFailoverTest testFailBack 2018-05-07 20:03:29 -04:00
Clebert Suconic
93a868c117 This closes #2076 2018-05-07 17:34:15 -04:00
Justin Bertram
67964facf0 NO-JIRA fix another OpenWire race 2018-05-07 17:34:15 -04:00