Clebert Suconic
293b96aa45
ARTEMIS-3697 Adding test assertion on invalid IO on Paging
...
This commit is part of a bigger task where I am improving paging.
This test is needed to validate some of the changes I am making on further commits.
2022-02-25 14:34:44 -05:00
AntonRoskvist
99b9d87bfd
ARTEMIS-2934 Add option to suppress SESSION notifications
2022-02-17 14:56:16 -06:00
AntonRoskvist
8a9f326b25
ARTEMIS-3647 - OpenWire, remove rolledbackMessageRef on Ack
2022-02-17 14:36:39 -06:00
Robbie Gemmell
5d5e6ccb20
ARTEMIS-3638: remove duplicate dependency definition to fix warning
2022-02-17 16:19:19 +00:00
Matteo Baccan
8c3f699d27
Typo error: double semicolon at the end of line
2022-02-17 10:30:33 -05:00
Matteo Baccan
dc1c269b36
Fixed a typo error "unkown" -> "unknown"
2022-02-17 10:29:58 -05:00
Justin Bertram
0bc7bf3f7c
ARTEMIS-3677 add more tests
2022-02-14 12:23:16 -06:00
Justin Bertram
7b25cbb51d
ARTEMIS-3677 add test, etc.
2022-02-10 12:00:17 -06:00
Justin Bertram
27d018327a
ARTEMIS-3678 return proper CONNACK code when MQTT 3.x auth fails
2022-02-10 10:30:44 -06:00
Domenico Francesco Bruscino
bac579ac25
ARTEMIS-3573 Support PropertiesLoginModule custom password codecs
2022-02-07 20:31:30 -06:00
AntonRoskvist
bf83a9b3d1
ARTEMIS-3608 - Add distribution for Multicast messages to OFF_WITH_REDISTRIBUTION to avoid message loss
2022-02-07 20:06:45 -06:00
Luis De Bello
cf73e895f3
ARTEMIS-3613: Deprecating stompMaxFramePayloadLength in favour of webSocketMaxFramePayloadLength
2022-02-07 19:44:18 -06:00
Domenico Francesco Bruscino
290e5016c8
ARTEMIS-3645 Support broker balancer cache persistence
2022-02-07 19:08:00 -06:00
Justin Bertram
ae7e7cbb22
ARTEMIS-2413 fix tests
2022-02-07 11:44:41 -06:00
Justin Bertram
e582ce03a5
ARTEMIS-3644 add cert info to CONNECTION_CREATED notification
2022-02-04 14:37:15 -06:00
Justin Bertram
9c459eb313
ARTEMIS-2413 upgrade JGroups
...
JGroups 3.x hasn't been updated in some time now. The last release was
in April 2020 almost 2 years ago. Lots of protocols have been updated
and added and users are wanting to use them. There is also increasing
concern about using older components triggered mainly by other
recently-discovered high-profile vulnerabilities in the wider Open
Source Java community.
This commit bumps JGroups up to the latest release - 5.2.0.Final.
However, there is a cost associated with upgrading.
The old-style properties configuration is no longer supported. I think
it's unlikely that end-users are leveraging this because it is not
exposed via broker.xml. The JGroups XML configuration has been around
for a long time, is widely adopted, and is still supported. I expect
most (if not all) users are using this. However, a handful of tests
needed to be updated and/or removed to deal with this absence.
Some protocols and/or protocol properties are no longer supported. This
means that users may have to change their JGroups stack configurations
when they upgrade. For example, our own clustered-jgroups example had to
be updated or it wouldn't run properly.
2022-02-04 13:47:11 -05:00
AntonRoskvist
263b723726
ARTEMIS-3646 - OpenWire, Fix overflowing prefetch and incorrect metrics for messages sent to DLQ
2022-02-04 13:40:32 -05:00
Justin Bertram
e184038d05
ARTEMIS-3670 support diverting to multiple addresses
2022-02-04 11:39:16 -05:00
Justin Bertram
8063110644
ARTEMIS-3638 Support MQTT 5
...
MQTT 5 is an OASIS standard which debuted in March 2019. It boasts
numerous improvments over its predecessor (i.e. MQTT 3.1.1) which will
benefit users. These improvements are summarized in the specification
at:
https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901293
The specification describes all the behavior necessary for a client or
server to conform. The spec is highlighted with special "normative"
conformance statements which distill the descriptions into concise
terms. The specification provides a helpful summary of all these
statements. See:
https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html#_Toc3901292
This commit implements all of the mandatory elements from the
specification and provides tests which are identified using the
corresponding normative conformance statement. All normative
conformance statements either have an explicit test or are noted in
comments with an explanation of why an explicit test doesn't exist. See
org.apache.activemq.artemis.tests.integration.mqtt5 for all those
details.
This commit also includes documentation about how to configure
everything related to the new MQTT 5 features.
2022-02-04 09:57:15 -05:00
Robbie Gemmell
8661cecb8f
ARTEMIS-3655: isolate the errorprone dependencies to its profiles, enable everywhere, fix related problems, and update to 2.10.
2022-01-26 16:32:34 +00:00
gtully
90535a2401
ARTEMIS-3652 - tighten up test assertions and cleanup, track errors via connection listener and consider missing send reply
2022-01-25 17:17:35 +00:00
gtully
c05177d723
ARTEMIS-3627 - allow default classpath properties name to be configured and use non intrusive property for testing, root cause of falure in test identified by ARTEMIS-3652
2022-01-24 17:18:34 +00:00
gtully
10d93d9c92
ARTEMIS-3627 - support broker.properties for augmenting or supplying additional configuration via nested properties of the internal configuratinimpl bean - elements with a name attribute can be configured in collections, the type inferred by the add singular fluent api
2022-01-19 14:39:27 +00:00
Justin Bertram
951c506481
ARTEMIS-3637 config-delete-diverts not applied properly
...
The address-setting config-delete-diverts is not being applied correctly
hierarchically because it's not included in the merge() method. It is
also not being persisted to disk either. This commit fixes both issues.
2022-01-12 21:06:40 -05:00
Erwin Dondorp
172d72d62d
ARTEMIS-3626 fixed simple syntax error
2022-01-12 12:09:24 -06:00
Robbie Gemmell
a91d3b0c0f
ARTEMIS-3624: change dep mangement entry to be for the minikdc dep, add property for its version, update it and rework exclusions
2022-01-11 10:44:22 -05:00
Domenico Francesco Bruscino
055d05b9f1
NO-JIRA Fix DiscoveryTest#testSimpleBroadcast
2022-01-04 14:23:17 +01:00
Clebert Suconic
e34677f5c0
[maven-release-plugin] prepare for next development iteration
2021-12-14 22:50:55 -05:00
Clebert Suconic
3dea7eeb71
[maven-release-plugin] prepare release 2.20.0
2021-12-14 22:50:53 -05:00
Marlon Müller
d56d299456
ARTEMIS-3574 multiple bindings for embedded webserver
...
* Add BindingDTO to allow configuring multiple addresses to listen on
* Start a new ServerConnector for each binding and deploy the corresponding web-applications
* Update documentation and tests
* Add tests to verify old and new configuration style produce equal results
2021-12-14 19:16:34 -05:00
Clebert Suconic
1857017abe
Revert "ARTEMIS-3574 multiple bindings for embedded webserver"
...
This reverts commit 182334359c
.
2021-12-14 15:18:16 -05:00
Domenico Francesco Bruscino
ca1accc202
ARTEMIS-3605 Fix RestDeserializationTest
2021-12-14 10:04:55 -05:00
Marlon Müller
182334359c
ARTEMIS-3574 multiple bindings for embedded webserver
...
* Add BindingDTO to allow configuring multiple addresses to listen on
* Start a new ServerConnector for each binding and deploy the corresponding web-applications
* Update documentation and tests
* Add tests to verify old and new configuration style produce equal results
2021-12-14 09:38:59 -05:00
AntonRoskvist
7d129b36e9
Commits: 'Add redistribution to old Anycast consumers' and 'Changed redistributionDelay-check to earlier, improved test, reverted changes in ClusterTestBase'
2021-12-14 09:22:05 -05:00
Justin Bertram
fac7f1692a
ARTEMIS-3601 expose acceptors via management
2021-12-14 08:52:48 -05:00
Justin Bertram
fb2270dc05
ARTEMIS-3535 bytes messages not obeying management limit
2021-12-13 21:58:03 -06:00
Clebert Suconic
1e89ce828c
NO-JIRA fixing intermittent test failure
2021-12-10 15:49:26 -05:00
gtully
158157260c
ARTEMIS-2097 - via elastic queue use case test based on ARTEMIS-3365 and ARTEMIS-3569
...
scenario - avoid paging, if address is full chain another broker and produce to the head, consume from the tail using producer and consumer roles to partition connections. When tail is drained, drop it.
- adds a option to treat an idle consumer as slow
- adds basic support for credit based address blocking ARTEMIS-2097
- adds some more visiblity to address memory usage and balancer attribute modifier operations
2021-12-09 10:14:20 +00:00
gtully
56299e846a
ARTEMIS-3054 - fix lock inversion - intermittent failure of PageCleanupWhileReplicaCatchupTest and hang
2021-12-09 10:13:26 +00:00
gtully
de7a1805a4
ARTEMIS-2716 - fix up test regression in OpenWireProtocolManagerTest
2021-12-08 15:12:12 +00:00
gtully
e0b16217a1
ARTEMIS-3594 - add support for a local target key transformer and an instance of CONSISTENT_HASH_MODULO that can be used to partition in a static cluster
2021-12-07 13:17:37 +00:00
Clebert Suconic
5730fcacfa
ARTEMIS-3599 Removing finalization calls
2021-12-03 13:12:02 -05:00
Clebert Suconic
72a4fff167
ARTEMIS-3593 Defense against OME on parsing XID
...
Co-authored-by: Viktor Kolomeyko <Viktor.Kolomeyko@r3.com>
2021-12-02 21:15:41 -05:00
Justin Bertram
5fe42dd0c4
ARTEMIS-3552 NPE on message expiration
2021-11-29 12:13:14 -05:00
gtully
b979189187
ARTEMIS-3569 - balancer role_name local target, matches role of authenticated user
2021-11-24 11:28:16 +01:00
Clebert Suconic
bfc10dcf8b
ARTEMIS-3546 Jakarta javax.json incompability on jakarta all client
...
Domenico Bruscino provided the JSON Wrapper used here. Thanks Domenico!
2021-11-19 13:20:38 -05:00
gtully
8d50aa916c
ARTEMIS-3581 - allow max-size-bytes=0 configuration force paging for an address, independent of the page-size-bytes
2021-11-18 09:44:13 +00:00
gtully
778ab4419f
ARTEMIS-3575 - ensure message owner is set from journal reload, follow up on ARTEMIS-3067
2021-11-16 11:33:26 -05:00
Erwin Dondorp
dde48d052f
ARTEMIS-3556 show message protocol on message-view page
2021-11-10 20:46:55 -05:00
Clebert Suconic
067247178f
ARTEMIS-3555 Invalid data could interrupt compacting and shutdown server
2021-11-05 14:36:22 -04:00
Clebert Suconic
98a6e42a57
ARTEMIS-3554 Invalid Prepared Transaction could interrupt server reload
2021-11-05 10:14:43 -04:00
Clebert Suconic
657e4bf842
ARTEMIS-3538 Removing some extra // ----
2021-11-04 08:43:14 -04:00
Clebert Suconic
6de637259b
ARTEMIS-3553 -5718 Conversion of AMQP large message expiry
2021-11-03 21:28:56 -04:00
Clebert Suconic
8b3663e827
ARTEMIS-3538 Removing a few extra // ----- structural comments
2021-11-02 21:45:09 -04:00
Asukwo-comfort
923e4cc892
ARTEMIS-3538: Removing // --------- comments from the codebase
2021-11-02 21:44:12 -04:00
Clebert Suconic
1d0c0a8897
ARTEMIS-3541 createQueue ignoring autoDeleteAddress flag
...
Commit 481b73c8ca
from ARTEMIS-3502
inadvertently broke this functionality. This commit restores the
original behavior.
autoDeleteAddress was renamed to forceAutoDeleteAddress which will ignore the address settings.
delete temporary queues will use forceAutoDeleteAddress=true.
this is done in collaboration with Justin Bertram
2021-11-02 08:56:15 -04:00
gtully
c6b85ea4e3
ARTEMIS-1925 - fix test regression - isHighAcceptPriority does not need to check for off_with_redistribution
2021-11-01 13:08:26 +00:00
Tiago Bueno
7791a268c8
ARTEMIS-3540 Fix SimpleSymmetricClusterTest.testSimpleRestartClusterConnection
...
add bridge connection verification after stop cluster connection
to wait for the bridge stop completely and avoid a failure
on stop/start cluster connection test
2021-10-26 12:27:44 +02:00
Clebert Suconic
fdc0cc591c
ARTEMIS-3523 Small tweaks into AddressControl delegation
2021-10-21 13:20:19 -04:00
nbrendah
ebf8adc72b
ARTEMIS-3523: Created delegated methods replay in addressControl
2021-10-21 13:20:06 -04:00
Domenico Francesco Bruscino
dca3facb55
ARTEMIS-3495 Fix backup cluster controller connection loops
...
Skip backup connector equivalent to cluster connector for cluster connections.
2021-10-21 10:46:59 +01:00
gtully
3259791bbb
ARTEMIS-3533 - respect extra url parameters from federation connector-ref
2021-10-20 09:44:21 +01:00
gtully
cf85d35355
ARTEMIS-3308 - support federation of large messages
2021-10-20 09:43:11 +01:00
Clebert Suconic
1db3ae1dc0
ARTEMIS-3529 Fixing integration tests after Web Console Parsing of Large Messages
2021-10-19 23:00:51 -04:00
Clebert Suconic
54418dfcaf
ARTEMIS-3529 Fixing test and tweaks on properties
2021-10-19 17:43:01 -04:00
Clebert Suconic
a833d95c1f
ARTEMIS-3461 Generalize MBean Support on Messages and avoid converstion to core on AMQP Messages on console browsing
...
Done in collaboration with Erwin Dondorp through https://github.com/apache/activemq-artemis/pull/3794/
2021-10-17 11:25:27 -04:00
Clebert Suconic
fd12209488
ARTEMIS-3529 Tweaks on test - Removing AssertionLogger and reformat
2021-10-13 19:14:45 -04:00
Clebert Suconic
1d84800d5a
ARTEMIS-3529 Expire should not reject messages from duplicateID
2021-10-13 19:11:40 -04:00
Clebert Suconic
2383aa0125
ARTEMIS-3525 Empty Auto Created queues should be removed on restart
2021-10-12 12:54:48 -04:00
Clebert Suconic
e86acc977b
NO-JIRA fixing intermittent test failure
2021-10-12 12:06:26 -04:00
Clebert Suconic
95aa20b608
NO-JIRA fixing intermittent failures
2021-10-11 16:22:33 -04:00
Justin Bertram
402842062a
[maven-release-plugin] prepare for next development iteration
2021-10-11 13:35:57 -05:00
Justin Bertram
5fcb763234
[maven-release-plugin] prepare release 2.19.0
2021-10-11 13:35:06 -05:00
Clebert Suconic
75430f6ebe
NO-JIRA Adding JDBC AMQPLargeMessage test
2021-10-11 11:36:27 -04:00
Clebert Suconic
377cda62b2
ARTEMIS-3313 fixing intermittent test failure
2021-10-10 20:50:27 -04:00
Justin Bertram
7e7f7496c1
ARTEMIS-3313 add export/import test
2021-10-08 10:34:49 -05:00
Domenico Francesco Bruscino
452d3dfc15
ARTEMIS-3518 Upgrade karaf version to 4.3.3
2021-10-08 15:11:05 +02:00
Justin Bertram
c3d93f5590
ARTEMIS-3313 routing-type conflict during import/export
2021-10-08 08:09:21 -05:00
Clebert Suconic
41baff7423
NO-JIRA fixing typoe on test
2021-10-07 17:11:51 -04:00
Robbie Gemmell
d7f37ae313
ARTEMIS-3520: set the Open failure hint when balancer redirects or refuses AMQP connection, add lower level test for balancer related redirect/refusal protocol behaviour
2021-10-07 10:55:29 +01:00
Robbie Gemmell
a5b5a504e0
ARTEMIS-3038: unwind effect of defunct changes from ARTEMIS-1264
...
Follows earlier test removal in a3de3d4c75
2021-10-07 10:45:02 +01:00
Clebert Suconic
15c2dbb1c3
ARTEMIS-3521 Option to disable duplicate detection on openwire failover clients
2021-10-06 16:26:01 -04:00
Clebert Suconic
481b73c8ca
ARTEMIS-3502 Auto delete & auto create leading to inconsistencies
2021-10-05 17:53:30 -04:00
Clebert Suconic
20445bef7c
ARTEMIS-3513 Fixing AIOJournalCompactTest
2021-10-05 15:06:51 -04:00
Clebert Suconic
557506140f
ARTEMIS-3457 Dealing with String conversions
...
The test I wrote for ARTEMIS-3513 is throwing a few convert exceptions
because of SimpleString versus String conversion
This commit is addressing the issue,
The previous commit (the one addressing ARTEMIS-3513) should provide the test for this change.
2021-10-05 11:44:24 -04:00
Clebert Suconic
ef63dc95bb
ARTEMIS-3513 Compacting exception invalidates deletes and updates
2021-10-05 11:44:24 -04:00
Robbie Gemmell
20511375de
NO-JIRA: update to errorprone 2.9.0, fix errors, enable it when running on Java 17+
2021-09-29 11:55:40 +01:00
Andy Taylor
e37175784c
ARTEMIS-3493 - expose User ID (JMS Message ID) in send tab of console
...
https://issues.apache.org/jira/browse/ARTEMIS-3493
2021-09-28 08:11:26 +01:00
Clebert Suconic
116545c589
ARTEMIS-3498 Bridge reconnects will not clear delivering count statistics on internal queues
2021-09-24 16:40:59 -04:00
gtully
72cfda6b1a
ARTEMIS-2007 - refactor to make use of existing refCountForConsumers for tracking consumer count and remove need for volatile redistributor
2021-09-24 15:07:01 +01:00
Justin Bertram
e01d6c3846
ARTEMIS-2545 fix test
2021-09-20 12:54:14 -05:00
Domenico Francesco Bruscino
569c5994a5
ARTEMIS-3491 Fix cluster connection restart
2021-09-17 19:45:08 +02:00
Emmanuel Hugonnet
f19337901a
[ARTEMIS-2545]: Auto queue creation does not work with MDBs.
...
* Adding support for queue autocreation from the resource adapter.
Issue: https://issues.apache.org/jira/browse/ARTEMIS-2545
2021-09-16 10:44:54 -04:00
franz1981
cc527f6359
NO-JIRA Adding quorum paging & large msg BackupSyncJournalTest
2021-09-16 14:16:39 +02:00
Clebert Suconic
c3b403a980
ARTEMIS-3482 Removing non used methods and some reorg on message methods
2021-09-15 09:17:01 -04:00
Clebert Suconic
b31737d2fc
ARTEMIS-3464 Adding assertion to test
2021-09-13 15:07:53 -04:00
Clebert Suconic
14457c4308
ARTEMIS-3464 Protecting scheduled tasks counter with a synchronized
2021-09-13 14:35:45 -04:00
Clebert Suconic
5dbbc98a62
ARTEMIS-3464 Fixing PageAckScanTest
2021-09-10 21:39:37 -04:00
Clebert Suconic
2fb23474ce
ARTEMIS-3464 Improving ACK reliability on Paging and code improvements
2021-09-10 18:27:00 -04:00
Clebert Suconic
43ca9540be
ARTEMIS-3472 Reconnect openwire could leave Openwire internal session null
2021-09-10 18:07:11 -04:00