Commit Graph

4970 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon) d4041b5a72 ARTEMIS-1713 - Fix NPE inside OpenWireConnection
fix NPE inside getClientId() in OpenWireConnection
2018-02-28 14:06:36 -05:00
Christopher L. Shannon (cshannon) bbf0fb495b This closes #1909 2018-02-28 10:56:52 -05:00
Timothy Bish 8fc1e00d88 ARTEMIS-1712 Add additional null check in TX rollback handler
Check for AMQSession being null before handling various TX state checks
in order to ensure the correct errors are thrown and TX rollback is
handled properly.
2018-02-28 10:46:31 -05:00
Timothy Bish 989779476b This closes #1903 2018-02-28 09:42:09 -05:00
Christopher L. Shannon (cshannon) 642654ff7a ARTEMIS-1706 - Add support for wantClientAuth
Support setting wantClientAuth on a netty acceptor
2018-02-28 06:44:24 -05:00
Clebert Suconic 247f2a309a NO-JIRA Simple fix on test 2018-02-27 22:03:50 -05:00
Clebert Suconic f7dbf7b6d0 This closes #1906 2018-02-27 20:23:36 -05:00
Clebert Suconic d7b7797843 NO-JIRA Improving test and queue.flush() 2018-02-27 19:13:35 -05:00
Clebert Suconic f3b71b2ab0 This closes #1889 2018-02-27 18:56:56 -05:00
Justin Bertram d552e4d2c8 ARTEMIS-1698 support 'instance' web deployments 2018-02-27 18:56:56 -05:00
Clebert Suconic af7f74e597 This closes #1905 2018-02-27 18:51:44 -05:00
Timothy Bish 38fb17703b ARTEMIS-1707 Check for already exists exceptions and ignore
For address and queue create check for the already exists exceptions and
ignore as another client might have just created the same
2018-02-27 16:30:45 -05:00
Justin Bertram d80e469a67 This closes #1904 2018-02-27 15:26:16 -06:00
Clebert Suconic 158eb9d3bf NO-JIRA Using force option on deleteTopics and deleteQueues on JoramTests 2018-02-27 16:13:42 -05:00
Clebert Suconic c6028c779f NO-JIRA Adding known threads to stick around 2018-02-27 13:06:35 -05:00
Clebert Suconic bd0c80d47b NO-JIRA Adding information to why Joram tests eventually fail on CI 2018-02-27 12:49:46 -05:00
Clebert Suconic 7e06a2b192 ARTEMIS-1700 Using IOExecutors for more IO tasks 2018-02-27 12:42:20 -05:00
Howard Gao f6c5408b0e This closes #1849 2018-02-27 20:42:16 +08:00
Francesco Nigro b5fa5ed3b7 ARTEMIS-1656 OpenWire scalability improvements
OpenWireFormat instances are shared between OpenWire connections/sessions/consumers, preventing the clients to scale due to the synchronized marshal/unmarshal on it.

It includes:
- direct transport buffer pooling
- groupId SimpleString pooling
- clientId SimpleString pooling
- reduced ActiveMQDestination[] and AtomicLong allocations on AMQSession:send
- reduced ActiveMQDestination allocations
- refactored shouldBlockProducer path of AMQPSession::send to reduce method size
- exclusive OpenWireFormat per session and connection (in/out) to avoid contention
- refactored trace log to favour inlining
- changed lastSent volatile set into lazy set to avoid full barrier cost on x86
- stateless OpenWireMessageConverter
- send's lock removal thanks to thread-safe NettyConnection
2018-02-27 20:41:24 +08:00
Howard Gao aceacceb97 This closes #1896 2018-02-27 20:12:08 +08:00
Michael André Pearce 9d1c59cdff ARTEMIS-1661 Support splitting of broker.xml
Support XML standard XInclude thus allowing splitting of the broker.xml
Added test cases with split out config using include.
2018-02-27 11:24:36 +00:00
Clebert Suconic 706abe8901 This closes #1893 2018-02-26 17:39:04 -05:00
Justin Bertram 2df9c0ee76 NO-JIRA make MessageConsumerTest deterministic
The method testStopConnectionDuringOnMessage in this class was relying
on sleep() calls for critical timing. This test fails sometimes on
fast-tests so I modified it to use a latch and a few waitFor calls to be
more deterministic. It also runs in a third of the time now.
2018-02-26 17:39:04 -05:00
Clebert Suconic bfb6500c69 This closes #1895 2018-02-26 17:38:36 -05:00
Francesco Nigro 60dbeae438 ARTEMIS-1702 ConcurrentLongHashMap and ConcurrentLongHashSet should avoid volatile set cost on put/remove
Most of the visibility guarantees of size/capacity fields modifications are already provided through optimistic locking, hence it could be used it instead of volatile set(s) on put/remove, making those methods more efficient.
2018-02-26 17:38:36 -05:00
Clebert Suconic 42f3828a37 This closes #1900 2018-02-26 17:36:40 -05:00
Justin Bertram 36fc14a30d ARTEMIS-1704 clear activate callbacks when stopping 2018-02-26 17:36:17 -05:00
Clebert Suconic 40e8daf819 This closes #1899 2018-02-26 17:25:45 -05:00
Clebert Suconic 691300d10e NO-JIRA Using Wait.assertEquals on test 2018-02-26 16:40:35 -05:00
Clebert Suconic ecf4110b1b ARTEMIS-1700 Fixed deadlock in paging state
This closes #1894
2018-02-26 16:06:04 -05:00
Michael Andre Pearce b69790b5ff This closes #1885 2018-02-26 19:14:44 +00:00
Justin Bertram 03709fc7cf ARTEMIS-1694 fix graceful-shutdown doc 2018-02-26 19:14:44 +00:00
Michael Andre Pearce fb62fe9499 This closes #1887 2018-02-26 19:13:23 +00:00
Justin Bertram 92ca12a3d8 ARTEMIS-1696 allow empty 'address' for grouping-handler 2018-02-26 19:13:23 +00:00
Michael Andre Pearce 99b6a34251 This closes #1890 2018-02-26 19:12:15 +00:00
Justin Bertram 53bfb47b34 NO-JIRA fix JMX examples 2018-02-26 19:12:14 +00:00
Michael Andre Pearce 52470dcc82 This closes #1898 2018-02-26 17:43:43 +00:00
Stanislav Knot 5144fbb24c ARTREMIS-1703 disable listing in web console 2018-02-26 17:43:43 +00:00
Justin Bertram 7596f0c192 This closes #1897 2018-02-26 08:22:25 -06:00
Dejan Bosanac a498bc0c1d ARTEMIS-1693 fix java.security.auth.login.config value 2018-02-26 13:32:05 +01:00
Clebert Suconic d6d895c558 ARTEMIS-1562 fixing typo on example 2018-02-22 20:54:03 -05:00
Clebert Suconic 5955688dd9 This closes #1892 2018-02-22 20:47:42 -05:00
Michael André Pearce 2c32dda39e ARTEMIS-1664 fix npe bug while getting element in the process of rehash
Apply same fix to ConcurrentLongHashSet
2018-02-22 20:47:42 -05:00
yang wei 6509c078fb ARTEMIS-1664 fix npe bug while getting element in the process of rehash 2018-02-22 20:47:42 -05:00
Clebert Suconic 3ff0dc2e69 NO-JIRA testPurge wasn't meant for globalTest, ignoring it 2018-02-22 20:45:13 -05:00
Michael Andre Pearce 2994ad2e5d This closes #1888 2018-02-22 21:37:34 +00:00
Justin Bertram 1e57a8e70a ARTEMIS-1697 give ActivateCallback default methods 2018-02-22 21:37:33 +00:00
Justin Bertram 43f4a758d6 This closes #1864 2018-02-22 15:30:24 -06:00
saurabhrai c2745085df ARTEMIS-1677 fix doc for AIO+NFS 2018-02-22 15:30:24 -06:00
Timothy Bish 8d343ade10 This closes #1886 2018-02-22 16:28:56 -05:00