Commit Graph

5005 Commits

Author SHA1 Message Date
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
Christopher L. Shannon (cshannon) 2ea0dce6c7 ARTEMIS-1695 - Improve STOMP compatiblity with 5.x clients
Also make sure on authentication error in version 1.0 a client will
disconnect
2018-02-22 16:22:40 -05:00
Justin Bertram f08f246454 This closes #1884 2018-02-22 15:21:30 -06:00
Stanislav Knot 6520c5a644 NO-JIRA typo in jmx-ssl example pom file 2018-02-22 15:21:30 -06:00
Michael Andre Pearce 8296b3b563 This closes #1837 2018-02-22 20:34:16 +00:00
Stanislav Knot c5c3a43d4c ARTEMIS-1603 fixed browsing tables under JMX tab 2018-02-22 20:34:15 +00:00
Michael Andre Pearce 1efb4b97eb This closes #1877 2018-02-22 20:33:08 +00:00
Stanislav Knot bf2688c55f ARTEMIS-1692 fixed filtering consumers in hawtio console 2018-02-22 20:33:07 +00:00
Clebert Suconic 6674935e87 This closes #1867 2018-02-21 16:19:42 -05:00
yang wei 898940f5bf ARTEMIS-1679 Stopping consumer no need to wait until all queued tasks done 2018-02-21 16:19:41 -05:00
Clebert Suconic 5a169013e7 This closes #1883 2018-02-21 16:00:00 -05:00
Justin Bertram 5133e68ea7 NO-JIRA fix AlignedJournalImplTest intermittent failure 2018-02-21 15:59:59 -05:00
Justin Bertram 81f89ae9f5 NO-JIRA comments to clarify Travis 'script' command 2018-02-21 15:59:59 -05:00
Clebert Suconic 7f0c9d0226 This closes #1865 2018-02-21 13:23:07 -05:00
Justin Bertram c26c970ddc ARTEMIS-1666 refactor to avoid duplicate code and fix bug 2018-02-21 13:23:06 -05:00
Clebert Suconic d83758e1aa This closes #1881 2018-02-21 12:55:49 -05:00