Commit Graph

10717 Commits

Author SHA1 Message Date
Justin Bertram 77d9f10a3d ARTEMIS-4588 30 second pause for large msgs + federation
Large message support was added to
o.a.a.a.c.s.f.FederatedQueueConsumerImpl#onMessage via cf85d35 for
ARTEMIS-3308. The problem with that change is that when onMessage
returns o.a.a.a.c.c.i.ClientConsumerImpl#callOnMessage will eventually
call o.a.a.a.c.c.i.ClientLargeMessageImpl#discardBody which eventually
ends up in o.a.a.a.c.c.i.LargeMessageControllerImpl#popPacket waiting 30
seconds (i.e. the default readTimeout) for more packets to arrive (which
never do). This happens because the FederatedQueueConsumer short-cuts
the "normal" process by using LargeMessageControllerImpl#take.

This commit fixes that by tracking the number of bytes "taken" and then
looking at that value later when discarding the body effectively
skipping the 30 second wait.
2024-02-14 11:07:11 -06:00
Alexey Markevich 9cd598ebf4 ARTEMIS-1230 Added artemis-bom 2024-02-14 10:33:19 +00:00
Robbie Gemmell da0287ddba update actions to resolve deprecation warnings, and bump OS version 2024-02-13 11:46:19 +00:00
Domenico Francesco Bruscino 5969c20777 ARTEMIS-4628 Upgrade vertx version to 4.5.3 2024-02-13 09:39:45 +00:00
Timothy Bish 94b6c0ec6e ARTEMIS-4641 Support events for add of missing federation resources
When an AMQP federation instance attempts to federate an address or queue
it can fail if the remote address or queue is not present or cannot be
created based on broker policy. A federation link can also closed if the
federated resource is removed from the remote broker by management etc.
In those cases the remote broker should note the resources that were
targets of federation and send alerts to the source federation broker to
notify it that these resources become available for federation and the
source should attempt again to create federation links if demand still
exists. This allows an AMQP federation instance to heal itself based on
updates from the remote.
2024-02-12 17:54:05 +00:00
Domenico Francesco Bruscino 29781bd5da ARTEMIS-4586 Auto reload web binding SSL stores on change 2024-02-09 17:20:56 +00:00
Justin Bertram 20840cfdf1 ARTEMIS-4639 NPEs when TopologyMember's primary is null 2024-02-09 10:43:50 +00:00
Justin Bertram 311e9382a2
NO-JIRA fix STOMP doc formatting 2024-02-08 11:28:10 -06:00
Clebert Suconic 460faf50fd NO-JIRA proposed log4j commented out log configuration for testing
I have to keep looking how to do this every time I need it.
I just wanted to proposed a commented out section for next time I need this again.
2024-02-07 15:20:57 -06:00
Robbie Gemmell cdd341a1e8 ARTEMIS-4640: move os-maven-plugin extension into a profile, fix artemis-commons reproducibility 2024-02-07 12:03:39 -06:00
Clebert Suconic 057709e948 NO-JIRA removing not implemented class
We should add this class back when implemented.
2024-02-07 11:45:28 -05:00
Justin Bertram 04b5585d66 ARTEMIS-4638 fix bashism in install validation script 2024-02-07 16:05:27 +00:00
Justin Bertram b158a892c9
NO-JIRA small doc clarification 2024-02-07 08:20:07 -06:00
Justin Bertram d418a5c00e ARTEMIS-4636 upgrade OpenWebBeans to 2.0.27 2024-02-06 13:25:14 -06:00
Justin Bertram 62432ee323 ARTEMIS-4635 upgrade Arquillian & Weld dependencies 2024-02-06 13:22:22 -06:00
Justin Bertram 5f0902cfe9 ARTEMIS-4634 upgrade Maven Plugin Annotations to 3.11.0 2024-02-06 13:21:47 -06:00
Justin Bertram 983bb71ad0 ARTEMIS-4633 upgrade Apache HTTP Core to 4.4.16 2024-02-06 13:21:18 -06:00
Justin Bertram a17037bc9e ARTEMIS-4632 upgrade Apache HTTP client to 4.5.14 2024-02-06 13:18:32 -06:00
Justin Bertram e3ce9afbb9 ARTEMIS-4631 upgrade Spring to 5.3.31 2024-02-06 13:18:21 -06:00
Justin Bertram 347f9d7aed
This closes #4387 2024-02-06 13:14:22 -06:00
Maverick19841972 89c3a627e9
ARTEMIS-4187 made SizeAware attributes consistent 2024-02-06 13:12:59 -06:00
Justin Bertram 9bb19f6eb0
Revert "ARTEMIS-4630 Validate if the pid is really from Artemis"
This reverts commit 7ac6f4e99c.
2024-02-06 11:20:07 -06:00
Justin Bertram 968ef74cd7
Revert "ARTEMIS-4630 Fix a typo in earlier commit 7ac6f4e99cc8349b378b4ae9d9ecc0970ac5b2b4"
This reverts commit 306b192e80.
2024-02-06 11:19:52 -06:00
a181321 c4c2a9e718 ARTEMIS-4637 - Allow unordered xml conf elements for clusters and bridges 2024-02-06 11:58:59 -05:00
Clebert Suconic a325a795cf NO-JIRA fixing typo 2024-02-06 11:57:52 -05:00
Clebert Suconic b03bcb5247 NO-JIRA Adding Test to validate clustering distribution under paging
No problems reported on this test.
I needed to validate rather if messages were being distributed correctly when either SNF or the final address itself was paged. Rather than throw away the test I decided to keep the validation here.
2024-02-06 10:57:29 -05:00
Ângelo Galvão 306b192e80 ARTEMIS-4630 Fix a typo in earlier commit 7ac6f4e99c
This closes #4811
2024-02-06 13:27:35 +00:00
Justin Bertram 6c251eaa78 ARTEMIS-4592 ignore more currently-invalid potential upgrades 2024-02-06 13:23:28 +00:00
Ângelo Galvão 7ac6f4e99c ARTEMIS-4630 Validate if the pid is really from Artemis
In rare cases the status is returning 'running' to a process that is
not Artemis. It was create a extra level of verification by validating
if the running process working directory is the
same of ${ARTEMIS_INSTANCE}.
2024-02-05 15:11:55 -06:00
Justin Bertram f91d7c51fd ARTEMIS-4629 fix core bridge docs
This fills in the gaps for some missing parameters in the core bridge
documentation as well as fixes the example so it's actually valid
according to the XSD.
2024-02-02 11:58:36 -06:00
Timothy Bish 169d6317d9 ARTEMIS-4626 Improve demand tracking for federation consumers
Implement idempotent tracking for tracking demand at start while also
tracking demand as consumer or bindings are added and removed.
2024-02-01 16:13:37 -05:00
Clebert Suconic 9d988dd9d0 ARTEMIS-4617 upgrade JLine to 3.25.1
I had to remove the indirect dependency between the maven plugin and jline
to avoid the maven plugin to parse some classes in jline that require experimental features on the JDK
even when they are not in use.
2024-02-01 16:12:58 -05:00
Justin Bertram 3f65f74753 ARTEMIS-4624 upgrade TestContainers to 1.19.4 2024-02-01 10:15:18 -06:00
Justin Bertram 7454b4d284 ARTEMIS-4623 upgrade SLF4J to 2.0.11 2024-02-01 10:14:08 -06:00
Justin Bertram 5cefd93562 ARTEMIS-4616 upgrade JGroups to 5.3.2.Final 2024-02-01 10:12:50 -06:00
Justin Bertram 49367ce51c ARTEMIS-4615 upgrade JCTools to 4.0.2 2024-02-01 10:11:55 -06:00
Justin Bertram f53833e8b5 ARTEMIS-4614 upgrade Jacoco to 0.8.11 2024-02-01 10:10:54 -06:00
Justin Bertram 49cb8c1845 ARTEMIS-4610 upgrade ZooKeeper to 3.9.1 2024-02-01 10:09:34 -06:00
Justin Bertram 2952d94554 ARTEMIS-4608 upgrade Derby to 10.15.2.0 2024-02-01 10:07:57 -06:00
Justin Bertram 8b8c1dde3e ARTEMIS-4604 upgrade Commons DBCP2 to 2.11.0 and Commons Pool to 2.12.0 2024-02-01 10:07:13 -06:00
Justin Bertram 4905c438e1 ARTEMIS-4597 upgrade Commons IO to 2.15.1 2024-02-01 10:05:50 -06:00
Justin Bertram 901ffe6f9d ARTEMIS-4593 upgrade Caffeine to 3.1.8 2024-02-01 10:04:35 -06:00
Justin Bertram d3d4945714 ARTEMIS-4622 upgrade Selenium to 4.17.0 2024-02-01 09:18:51 -06:00
Justin Bertram 3f56418074 ARTEMIS-4621 upgrade PostgreSQL to 42.7.1 2024-02-01 09:18:35 -06:00
Justin Bertram cc108785b9 ARTEMIS-4620 upgrade OWASP to 9.0.9 2024-02-01 09:18:24 -06:00
Justin Bertram ae10037e28 ARTEMIS-4619 upgrade Mockito to 5.10.0 2024-02-01 09:18:13 -06:00
Justin Bertram 777cc49e7d ARTEMIS-4618 upgrade JUnit to 5.10.1 2024-02-01 09:18:01 -06:00
Justin Bertram c6329778e1 ARTEMIS-4613 upgrade Jansi to 2.4.1 2024-02-01 09:17:17 -06:00
Justin Bertram 377d231b16 ARTEMIS-4612 upgrade EasyMock to 5.2.0 2024-02-01 09:17:06 -06:00
Justin Bertram fdd76720c9 ARTEMIS-4611 upgrade BouncyCastle to 1.77 2024-02-01 09:16:57 -06:00