5394 Commits

Author SHA1 Message Date
Clebert Suconic
cd9aed0826 NO-JIRA update release instruction with git-release-report 2018-06-04 08:54:55 -04:00
Clebert Suconic
9318083897 This closes #2113 2018-05-31 18:57:49 -04:00
Johan Stenberg
0ea84ef9ff [ARTEMIS-1890] Fix any-word wildcard matching in AddressImpl to match zero words 2018-05-31 18:57:49 -04:00
Martyn Taylor
545b82fbd7 This closes #2115 2018-05-31 10:48:12 +01:00
Clebert Suconic
1ae2784dc6 ARTEMIS-1858 Expiry messages are not transversing clustering with AMQP 2018-05-30 18:57:38 -04:00
Clebert Suconic
9b7ebef9fd NO-JIRA Improving Assert.equals count on SessionTest 2018-05-30 15:29:06 -04:00
Clebert Suconic
183ebcc5f8 This closes #2114 2018-05-29 22:29:02 -04:00
yang wei
06eb82cb14 ARTEMIS-1891 use io executor to send replicate packet
After sending pages, the thread will hold the storage manager write lock
and send synchronization finished packet(use the parent thread pool) to
the backup node. At the same time, thread pool is full bcs they are
waiting for the storage manager read lock to write the page or journal,
leading to replication starting failure. Here we use io executor to send
replicate packet to fix thread pool starvation problem.
2018-05-29 10:15:50 +08:00
Clebert Suconic
fbcee58e8c This closes #2109 2018-05-25 12:30:16 -04:00
Christopher L. Shannon (cshannon)
f09a41d433 ARTEMIS-1888 - Add forceSSLParameters flag to override system SSL properties
If true the connection factory will prefer SSL settings set via the connector configuration vs system properties
2018-05-25 12:30:16 -04:00
Clebert Suconic
262ba3ffc2 This closes #2089 2018-05-25 12:29:03 -04:00
saurabhrai
d11eed2f9e ARTEMIS-1866 Make Quorum vote result wait time configurable.
Quorum voting is used by both the live and the backup to decide what to do if a replication connection is disconnected.
Basically, the server will request each live server in the cluster to vote as to whether it thinks the server it is replicating to or from is still alive.
You can also configure the time for which the quorum manager will wait for the quorum vote response.
Currently, the value is hardcoded as 30 sec. We should change this 30-second wait to be configurable.
2018-05-25 12:29:02 -04:00
Clebert Suconic
a6c54a7926 This closes #2111 2018-05-25 08:42:42 -04:00
Justin Bertram
6211fb7ad6 ARTEMIS-1882 fix failing SecurityTest 2018-05-24 22:05:09 -05:00
Clebert Suconic
90a6e9911c This closes #2110 2018-05-24 16:31:23 -04:00
Justin Bertram
b97bf8fac4 ARTEMIS-1872 fix examples broken after authn change 2018-05-24 15:18:42 -05:00
Clebert Suconic
5e5ae40417 This closes #2108 2018-05-24 14:37:36 -04:00
Justin Bertram
cd2f544b7e ARTEMIS-1872 fix security tests
After the new authn change for creating addresses a bunch of tests need
to be updated to include the proper permissions.
2018-05-24 14:37:35 -04:00
saurabhrai
fd3baf1ea2 ARTEMIS-1887 Setting default-max-consumers in address-setting not working
When setting "default-max-consumers" in addressing setting in broker.xml
It has no effect on the "max-consumers" property on matching address queues.

Tests added as part of a previous commit

This closes #2107
2018-05-24 14:36:23 -04:00
Shailendra Kumar Singh
390a07e391 [ARTEMIS-1885] max-consumers attribute in queue definition does not work for AMQP client.
Tests being added as part of another commit

This closes #2106
2018-05-24 14:36:23 -04:00
Clebert Suconic
ca589f316b ARTEMIS-1887 and ARTEMIS-1885 Adding tests on maxConsumer
This is a test for PRs #2106 and #2107
2018-05-24 14:36:22 -04:00
Clebert Suconic
c915ed1d92 This closes #2102 2018-05-24 12:00:30 -04:00
Justin Bertram
cb7b5cba04 NO-JIRA Fix compatibility tests 2018-05-24 12:00:12 -04:00
Justin Bertram
3602713a7e ARTEMIS-1882 verify PKCS12 keystores work 2018-05-24 11:58:43 -04:00
Clebert Suconic
e6d2607494 This closes #2105 2018-05-24 09:16:42 -04:00
Michael André Pearce
659d23cb28 ARTEMIS-1872 Fixing address security checks
Ensure CREATE_ADDRESS is honored and behavior is consistent across protocols.
2018-05-24 05:23:41 +01:00
Michael André Pearce
0746ea8aca ARTEMIS-1872 Fixing Security test 2018-05-23 22:49:45 -04:00
Clebert Suconic
e28a8a5635 This closes #2101 2018-05-23 15:47:49 -04:00
Howard Gao
7c53855c11 ARTEMIS-1853 Adding Netty OpenSSL provider example
Added an example to demonstrate how to configure and use openssl
Moved/Added netty-tcnative dependency to artemis-distribution
Changed artemis-jms-client-all pom to exclude io.netty from relocation
so that the native openssl can be loaded
2018-05-23 15:47:10 -04:00
Clebert Suconic
d6d685134a This closes #2103 2018-05-23 15:44:42 -04:00
Clebert Suconic
3a5971ec81 ARTEMIS-1872 Improving Security Checks on AMQP Protocol
Also improving test coverage on SecureConfigurationTest
This commit will fix JMSConnectionWithSecurityTest.
2018-05-23 15:01:41 -04:00
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