Commit Graph

6402 Commits

Author SHA1 Message Date
Michael Andre Pearce 23cc4f45ce This closes #2389 2018-10-24 02:47:59 +01:00
Michael André Pearce d37a0e5f87 NO-JIRA Remove dead jms code from broker 2018-10-24 02:04:25 +01:00
Clebert Suconic e380eeb83c This closes #2383 2018-10-23 10:55:29 -04:00
Howard Gao f4c93a2860 ARTEMIS-2135 Test multiple core consumers receiving amqp messages
This test can verify an issue fixed by the commit:
7a463f038a (ARTEMIS-2096)

The issue was reported later by users where messages
sent by amqp clients are having their body size
randomly being zero when received by multiple core
consumers.

This was also fixed on commit  48e0fc8f42 but that
was exclusively on 2.6.x branch.
2018-10-23 10:52:50 -04:00
Clebert Suconic 5269df8525 This closes #2250 2018-10-22 11:33:07 -04:00
Francesco Nigro 2967df6a99 ARTEMIS-1996 MappedSequentialFileFactory may cause DirectByteBuffer off-heap memory leaks
Compaction is now reusing direct ByteBuffers on both
reading and writing with explicit and deterministic
release to avoid high peak of native memory utilisation
after compaction.
2018-10-22 09:16:15 +02:00
Justin Bertram ef7ff38de9 This closes #2381 2018-10-18 17:18:28 -05:00
Clebert Suconic 175d77a5b7 ARTEMIS-2136 synchronize copy constructor
A synchronization block was missed during the AMQP refactoring.
This could impact use-cases involving diverts, cluster bridges, and
multiple concurrent consumers.
2018-10-18 16:53:07 -05:00
Clebert Suconic f70075a789 This closes #2362 2018-10-17 20:53:14 -04:00
Michael André Pearce 547b2aa592 ARTEMIS-2117 Add custom LVQ Key and Non Destructive Queue into Broker
Implement custom LVQ Key and Non-Destructive in broker - protocol agnostic
Make feature configurable via broker.xml, core apis and activemqservercontrol 
Add last-value-key test cases
Add non-destructive with lvq test cases 
Add non-destructive with expiry-delay test cases
Update documents
Add new methods to support create, update with new attributes
Refactor to pass through queue-attributes in client side methods to reduce further method changes for adding new attributes in future and avoid methods with endless parameters. (note: in future this should prob be done server side too)

Update existing test cases and fake impls for new methods/attributes
2018-10-17 20:53:13 -04:00
Clebert Suconic 44fa690375 This closes #2377 2018-10-17 20:50:36 -04:00
Howard Gao 7c699ff46b ARTEMIS-2133 Artemis tab not showing on IE browser
The web console on IE doesn't have 'Artemis' showed up because
it doesn't support javascripts => function.
2018-10-17 20:50:36 -04:00
Clebert Suconic 69447ca1f8 This closes #2378 2018-10-17 20:49:51 -04:00
Francesco Nigro cae253d136 ARTEMIS-2131 Error compacting journal
Compaction cannot free a sliced view of a ByteBuffer on Java >=9:
the fix is using the original ByteBuffer instead of the slice
to perform a file write and allow it to be correctly released by
the Cleaner.
2018-10-17 20:49:50 -04:00
Clebert Suconic 48d8a54135 ARTEMIS-2135 Test avoiding NPE under race 2018-10-17 17:24:51 -04:00
andytaylor 66d5e4fbd1 This closes #2373 ARTEMIS-2125 Tabs preference changes to display columns not persistent through page refresh 2018-10-17 10:14:55 +01:00
Francesco Nigro c4dd09cb8d ARTEMIS-2125 Tabs pref changes to display columns not persisted through page refresh 2018-10-16 13:41:40 +02:00
Tadayoshi Sato fe971a7a97 ARTEMIS-2125 Queue preference changes to display columns not persistent through page refresh 2018-10-15 14:38:43 +09:00
Clebert Suconic 0d89eb3c30 This closes #2353 2018-10-11 13:43:57 -04:00
Ville Skyttä 74951d9221 NO-JIRA Log STOMP transaction starts with debug level instead of error 2018-10-11 13:43:39 -04:00
gtully 202ae262d3 ARTEMIS-2103 - fix up test to reflect full consumer queue name in the fqqn queue 2018-10-11 17:05:32 +01:00
Clebert Suconic 67d493ee0f This closes #2365 2018-10-11 11:28:26 -04:00
Justin Bertram cbace51d6c ARTEMIS-2121 reload logging config at runtime
Many thanks to James Perkins who supplied the guts of the reload logic.
2018-10-11 11:28:25 -04:00
Michael Andre Pearce 3cb5883aa1 This closes #2367 2018-10-11 11:58:10 +01:00
andytaylor d8c34dd3d7 NO-JIRA - fixing up some broken tests
updated tests that rely on logging id's
2018-10-11 10:25:14 +01:00
Michael Andre Pearce d4ac3c2f87 This closes #2366 2018-10-11 08:22:22 +01:00
Michael André Pearce 755f71e431 NO-JIRA cli test fixes
fix pom to not use hard coded version
further close cf's
2018-10-11 07:11:01 +01:00
Clebert Suconic 25f3000e19 This closes #2342 2018-10-10 18:53:38 -04:00
Ingo Weiss 2450f6a376 [ARTEMIS-2105] Discovery group connectors can delay broker shutdown
Issue: https://issues.apache.org/jira/browse/ARTEMIS-2105
2018-10-10 18:53:38 -04:00
Clebert Suconic d441e7595d This closes #2339 2018-10-10 18:50:12 -04:00
yang wei 8f4bd7c621 ARTEMIS-2102 delete paging directory or table if address is removed 2018-10-10 18:50:11 -04:00
Clebert Suconic 8c3f6cd3c2 This closes #2340 2018-10-10 18:48:54 -04:00
Justin Bertram b3529dcea4 ARTEMIS-1018 de-duplicate logging codes 2018-10-10 18:48:53 -04:00
Clebert Suconic 76595e79a1 This closes #2341 2018-10-10 18:48:12 -04:00
gtully b812bfdbed ARTEMIS-2103 - use the full openwire consumer queue for the mapped virtual topic queue binding, fix and test 2018-10-10 18:48:11 -04:00
Clebert Suconic 714a3f862e This closes #2343 2018-10-10 18:47:22 -04:00
Justin Bertram 59ad650a13 ARTEMIS-2106 log failure to start broker 2018-10-10 18:47:22 -04:00
Clebert Suconic c035c55167 This closes #2344 2018-10-10 18:46:49 -04:00
Justin Bertram b86cf69e6a ARTEMIS-2107 clarify identity for authn failures in notification 2018-10-10 18:46:48 -04:00
Clebert Suconic 8edd9399d2 This closes #2345 2018-10-10 18:45:40 -04:00
Justin Bertram d336a09f9a ARTEMIS-2108 Potential StackOverflowError when load balancing disabled 2018-10-10 18:45:40 -04:00
Clebert Suconic 77714b3d66 This closes #2346 2018-10-10 18:44:47 -04:00
gtully 30c88fc679 ARTEMIS-2110 allow a lease renew without update to the expiry timestamp. Fix intermittent failure of org.apache.activemq.artemis.core.server.impl.jdbc.JdbcLeaseLockTest#shouldRenewAcquiredLock 2018-10-10 18:44:46 -04:00
Clebert Suconic 61449cfb15 This closes #2347 2018-10-10 18:43:10 -04:00
Justin Bertram 744838faaf ARTEMIS-2111 ManagementContext can leak 2018-10-10 18:43:10 -04:00
Clebert Suconic 81a5dd300d This closes #2348 2018-10-10 18:40:46 -04:00
Justin Bertram e84e631051 ARTEMIS-2112 Remove JMX props from start scripts
JMX configuration is now done via management.xml. Configuring JMX via
the start scripts could result in unexpected behavior since the
authorisation configuration from management.xml would be ignored.
2018-10-10 18:40:46 -04:00
Clebert Suconic 0f3c8b8a53 This closes #2355 2018-10-10 18:40:15 -04:00
Francesco Nigro d561ca34ff ARTEMIS-2116 Set text message content on producer CLI command 2018-10-10 18:40:15 -04:00
Clebert Suconic bcc3eb6375 This closes #2363 2018-10-10 18:39:46 -04:00