Commit Graph

6865 Commits

Author SHA1 Message Date
Clebert Suconic c0ab83ef49 This closes #2870 2019-10-29 16:22:51 -04:00
Clebert Suconic 5e7dddd969 ARTEMIS-2530 Upgrade ActiveMQ Artemis Native 1.0.1 2019-10-29 16:22:50 -04:00
Clebert Suconic 7561b11939 This closes #2873 2019-10-29 14:37:58 -04:00
Justin Bertram 0ddd55b2cc NO-JIRA add acceptor to handshake timeout msg 2019-10-29 14:37:57 -04:00
Clebert Suconic eb3c4931c2 This closes #2850 2019-10-28 09:01:42 -04:00
Justin Bertram 84067d8fef ARTEMIS-2504 implement retroactive addresses
A new feature to preserve messages sent to an address for queues that will be
created on the address in the future. This is essentially equivalent to the
"retroactive consumer" feature from 5.x. However, it's implemented in a way
that fits with the address model of Artemis.
2019-10-28 09:01:42 -04:00
Justin Bertram c0e77e96d1 ARTEMIS-2529 update address-settings mngmnt 2019-10-28 09:01:42 -04:00
Christopher L. Shannon (cshannon) 47a5406ca2 Merge branch 'ARTEMIS-2531'
This closes #2872
2019-10-28 06:54:43 -04:00
Christopher L. Shannon (cshannon) ad0581bf76 ARTEMIS-2531: Fix filter in FederatedQueue to prevent infinite consumer
creation in a circular or bidrectional setup
2019-10-25 14:26:46 -04:00
Clebert Suconic dacd0f3187 This closes #2869 2019-10-24 16:20:08 -04:00
Christopher L. Shannon (cshannon) 1aed3f9dd6 ARTEMIS-2526 - Update ActiveMQServerImpl to call correct
beforeDestroyQueue hook
2019-10-24 16:20:08 -04:00
Clebert Suconic d7dc8b8de8 ARTEMIS-2527 Stop executors on print-data 2019-10-23 15:58:32 -04:00
Clebert Suconic 4f3df1f1e4 This closes #2851 2019-10-23 15:27:53 -04:00
brusdev 0ac605740e ARTEMIS-2503 Improve wildcards for the authorisation key attributes
Improve wildcard support for the key attribute in the roles access
match element and whitelist entry element, allowing prefix match for
the mBean properties.
2019-10-23 15:27:53 -04:00
Clebert Suconic 6a14d424c1 This closes #2867 2019-10-21 20:46:13 -04:00
Wei Yang 89698b9dbc ARTEMIS-2524 Remove message from map in LVQ if it's deleted/moved/expired/changed 2019-10-21 20:46:13 -04:00
Clebert Suconic c3eacfd4d1 This closes #2866 2019-10-21 09:02:57 -04:00
brusdev 98746a20a1 ARTEMIS-2523 Deprecate the parameter failoverOnInitialConnection
The parameter failoverOnInitialConnection wouldn't seem to be used and
makes no sense any more, because the connectors are retried in a loop.
So someone can just add the backup in the initial connection.
2019-10-21 07:04:21 +02:00
Justin Bertram 3baf602c11 This closes #2865 2019-10-17 10:02:57 -05:00
Sascha Dirbach 8043828e84 ARTEMIS-2521 add documentation for role-mapping 2019-10-16 18:18:04 +02:00
Clebert Suconic 3687ae400c This closes #2859 2019-10-14 15:59:31 -04:00
Howard Gao 6177d32774 ARTEMIS-2513 Large message's copy may be interfered by other threads
In LargeMessageImpl.copy(long) it need to open the underlying
file in order to read and copy bytes into the new copied message.
However there is a chance that another thread can come in and close
the file in the middle, making the copy failed
with "channel is null" error.

This is happening in cases where a large message is sent to a jms
topic (multicast address). During delivery it to multiple
subscribers, some consumer is doing delivery and closed the
underlying file after. Some other consumer is rolling back
the messages and eventually move it to DLQ (which will call
the above copy method). So there is a chance this bug being hit on.
2019-10-14 15:59:31 -04:00
Christopher L. Shannon (cshannon) f19f75e2fe Merge branch 'ARTEMIS-2519'
This closes #2864
2019-10-14 14:06:25 -04:00
Christopher L. Shannon (cshannon) a74036361d ARTEMIS-2519: Use proper enum type inside ActiveMQUnexpectedRoutingTypeForAddress 2019-10-14 14:06:15 -04:00
Clebert Suconic 714e31babf This closes #2861 2019-10-12 15:36:05 -04:00
Wei Yang cb355bb584 ARTEMIS-2515 pageIterator.hasNext spends too much time in the case of no messages matched 2019-10-12 15:36:04 -04:00
Clebert Suconic 149e26075b NO-JIRA Replacing assertEquals(queue.getCount) by Wait.asserEquals on a test 2019-10-11 08:59:33 -04:00
Clebert Suconic df8505b0e2 This closes #2863 2019-10-10 14:44:56 -04:00
Clebert Suconic b0497ed724 ARTEMIS-2517 JMX will be shutdown after failback 2019-10-10 14:44:55 -04:00
Clebert Suconic 68f419d8d4 This closes #2855 2019-10-09 11:41:00 -04:00
brusdev 28d1a53630 ARTEMIS-2508 Crititical analyser trigger shutdown if removeAllMessages
The crititical analyser trigger the broker shutdown if try to
removeAllMessages with a huge queue. The iterQueue is split so as
not to keep the lock too time.
2019-10-09 11:41:00 -04:00
Clebert Suconic 5ad8f89e1e This closes #2860 2019-10-09 11:39:39 -04:00
brusdev f3b7cf88ed NO-JIRA Fixing shared-storage-static-cluster parent 2019-10-09 11:39:38 -04:00
Clebert Suconic abb7d16b92 NO-JIRA Improving SessionTest reliability
This test was eventually failing
Improving the assertions and loops
2019-10-09 11:18:58 -04:00
Clebert Suconic 49c96c60d1 This closes #2858 2019-10-08 17:11:38 -04:00
Justin Bertram 2992daaeb1 ARTEMIS-2514 dupl cache leak w/clustered temp q 2019-10-08 17:11:38 -04:00
Clebert Suconic 03971cf560 This closes #2857 2019-10-07 16:12:06 -04:00
brusdev 615fb64008 ARTEMIS-2512 Move the LocalMonitor tick log
The LocalMonitor tick log is very useful to establish a "heartbeat" log
statement. It is moved into its own logger from PagingManager logger,
which is too verbose to leave activated indefinitely in production.
2019-10-07 17:49:45 +02:00
Clebert Suconic 2f5691c3f7 NO-JIRA moving shared-storage-static-cluster under clustering examples 2019-10-03 13:47:35 -04:00
Clebert Suconic 104ee10a3e NO-JIRA fixing client-side-load-balancing example 2019-10-03 13:18:58 -04:00
Clebert Suconic b4ca5d589b This closes #2856 2019-10-01 11:38:26 -04:00
michael.pearce 143e401bdb ARTEMIS-2509 Add some basic support for legacy openwire
This is needed to aid some lift and shift migration from activemq5 where non-java clients have support for older openwire protocols.

(cherry picked from commit d497cb6205a5bdbd508d18bead8f9e8e39d6b1ba)
2019-10-01 10:14:40 +01:00
Clebert Suconic 4526695d48 This closes #2852 2019-09-27 15:29:43 -04:00
Keith Wall 4e0b209128 ARTEMIS-2505: Fix wiring of the max-size-bytes-reject-threshold address-setting 2019-09-27 15:29:42 -04:00
Clebert Suconic 4925040e4d This closes #2853 2019-09-27 15:29:02 -04:00
Howard Gao d02da18dab ARTEMIS-2506 MQTT doesn't cleanup underlying connection for bad clients
When a bad MQTT clients drop its connection without proper closing
it the broker doesn't close the underlying physical connection.
2019-09-27 19:41:15 +08:00
Clebert Suconic 63b93499d2 ARTEMIS-2500 Fixing test after test rename 2019-09-23 20:43:54 -04:00
Clebert Suconic 7bde870851 This closes #2846 2019-09-23 20:07:47 -04:00
Howard Gao a2504288c6 ARTEMIS-2500 CoreMessage doesn't make a ful copy of its props on moveHeadersAndProperties
When CoreMessage is doing copyHeadersAndProperties() it doesn't
make a full copy of its properties (a TypedProperties object).
It will cause problem when multiple threads/parties are modifying the
properties of the copied messages from the same message.

This will be particular bad if the message is a large message
where moveHeadersAndProperties is being used.
2019-09-23 20:06:41 -04:00
Clebert Suconic 91f4d0a633 [maven-release-plugin] prepare for next development iteration 2019-09-23 11:19:54 -04:00