Commit Graph

1318 Commits

Author SHA1 Message Date
Nikita Shupletsov 9106a9838f [AMQ-9595] Fix recoverNextMessages when there are messages consumed farther than maxBatchSize.
(cherry picked from commit 6b08e10420)
2024-10-23 15:49:17 +02:00
JB Onofré 52c3ce5b8b [maven-release-plugin] prepare for next development iteration 2024-09-26 14:54:34 +02:00
JB Onofré 733f646904 [maven-release-plugin] prepare release activemq-5.18.6 2024-09-26 14:54:17 +02:00
JB Onofré b3a8926738 Fix NetworkAdvancedStatisticsTest using javax.jms instead of jakarta.jms 2024-09-22 11:41:13 +02:00
Matt Pavlovich 38b442303b
[AMQ-9437] AdvancedDestination statistics networkEnqueue and networkDequeue counters
(cherry picked from commit b44074f5f7)
2024-09-20 08:57:04 -05:00
JB Onofré 5bc3a1ec05 [maven-release-plugin] prepare for next development iteration 2024-07-18 14:53:29 +02:00
JB Onofré 65d92a61ce [maven-release-plugin] prepare release activemq-5.18.5 2024-07-18 14:53:17 +02:00
Matt Pavlovich 2c6723f97d
[AMQ-9534] 5.18.x backport fixes for kahadb recovery with offset (ref: AMQ-9484)
(cherry picked from commit 034434836b02030d9a0a9beb14b4fb9373c7e6b1)
2024-07-16 08:58:11 -05:00
Matt Pavlovich 3b9d86bb80
[AMQ-9484] Support exporting kahadb messages from a queue with an offset
(cherry picked from commit 1a1b42f0c9)
(cherry picked from commit dad947fe4a)
2024-07-16 08:22:58 -05:00
Matt Pavlovich 6cc7658b94
[AMQ-9455] DestinationPolicy support for MessageInterceptorStrategy
(cherry picked from commit c465330be5)
2024-07-10 09:12:08 -05:00
Christopher L. Shannon a12f030090 AMQ-9504 - Add missing license header
(cherry picked from commit 527d245831)
2024-05-22 10:12:18 -04:00
Christopher L. Shannon c71965176a AMQ-9504 - Prevent registering duplicate mKahadb adapters
This fixes an issue on start up of a broker that is configured with
multiple mKahaDB filtered adapters and one is configured with
perDestination=true. Before this fix a duplicate persistence adapter
could be created because the filter did not check for existing matches.

Patch applied with thanks to Ritesh Adval

(cherry picked from commit ddfb36515c)
2024-05-22 09:31:44 -04:00
Christopher L. Shannon a37c111a75 AMQ-9475 - ConsumerControl commands should not auto create wildcard
dests

This fixes an issue where wildcard destinations could be inadvertently
created by ConsumerControl commands which could lead to problems. The
processing logic for this command now will only look up existing
destinations if they exist.
2024-04-11 07:12:47 -04:00
JB Onofré fdc4a63476 [maven-release-plugin] prepare for next development iteration 2024-04-08 08:25:24 +02:00
JB Onofré ee0edaf1f2 [maven-release-plugin] prepare release activemq-5.18.4 2024-04-08 08:25:14 +02:00
Grzegorz Kochanski 3b0a646af2 AMQ-9452: unwrap BaseDestination to access queue/topic message
Change-Id: Ic05002ecb428e2aa5abeb9dc3e499e3aae550051

(cherry picked from commit 4d40023968)
2024-03-24 07:40:30 +01:00
Christopher L. Shannon 4bae9df5bd AMQ-9436 - Ensure message audit in queue store cursor is shared
This commit fixes the initialization of the StoreQueueCursor message
audit object to make sure it's shared between the persistent and non
persistent cursors. It also adds a check to ensure that duplicate calls
to start will not try and init more than once.

(cherry picked from commit 75de932116)
2024-02-15 18:20:33 -05:00
Christopher L. Shannon 722a075e2c AMQ-9435 - Ensure orderIndex next id is rolled back on duplicates
This commit fixes a bug in KahaDB that caused gaps in sequence ack
tracking for durables that would lead to the appearance of stuck
messages on durable subs if duplicate messages were detected. The
sequence is now correctly rolled back so that there is no gap if the
message is not added to the order index

(cherry picked from commit 10d94bd165)
(cherry picked from commit 2b856f4da6)
2024-02-15 11:48:09 -05:00
Christopher L. Shannon (cshannon) 1fce36b3e5 AMQ-9420 - Don't decrement KahaDB durable sub metrics on duplicate ack
This adds a check in case a duplicate ack is passed to the store to make
sure that the subscription statistics (if enabled) for a durable sub do
not have the metrics decremented a second time

(cherry picked from commit 918099cb7e)
2024-01-23 10:59:35 -05:00
Christopher L. Shannon (cshannon) e9bc27130d AMQ-9344 - remove more jakarta imports 2024-01-23 10:54:12 -05:00
Matt Pavlovich 3affca35fb
[AMQ-9344] Add configurable limit to uncommitted transaction
- Backported jakarta.jms to javax.jms for activemq-5.18.x

(cherry picked from commit 50baf95bff)
2024-01-18 12:45:58 -06:00
Jean-Baptiste Onofré 7d9074e8c8 [maven-release-plugin] prepare for next development iteration 2023-10-24 21:44:02 +02:00
Jean-Baptiste Onofré 5f6edd9781 [maven-release-plugin] prepare release activemq-5.18.3 2023-10-24 21:43:52 +02:00
JB Onofré c08d32e470 [maven-release-plugin] rollback the release of activemq-5.18.3 2023-10-24 17:38:56 +02:00
JB Onofré 6c5351a9c9 [maven-release-plugin] prepare for next development iteration 2023-10-24 16:46:32 +02:00
JB Onofré 206adbdab4 [maven-release-plugin] prepare release activemq-5.18.3 2023-10-24 16:46:20 +02:00
Martin Devlin 7ed319e99d AMQ-9187 - Queue Advisory message not sent
- a test case which demonstrates the bug.
  - the first test case sendDelayedMessage_usingNormalProducer works fine because it is using a normal named JMS MessageProducer. Included just for comparison purposes.
  - the 2nd test case sendDelayedMessage_usingAnonymousProducer shows the bug.
- the bug fix: swap the order of the AdvisoryBroker and SchedulerBroker BrokerFilters.
  - make AdvisoryBroker come after SchedulerBroker but before RegionBroker
  - this ensures that when a delayed message gets eventually forwarded to the RegionBroker, the RegionBroker will "see" the AdvisoryBroker when it invokes 'addDestination'. Thus, the AdvisoryBroker gets to send out the advisory message as expected.

(cherry picked from commit 573ae71ec9)
2023-10-20 17:54:24 +02:00
Christopher L. Shannon (cshannon) a26bf256d1 AMQ-9343 - Reduce memory used for in flight transactions
This commit will reduce the memory required in KahaDB for long running
transactions and transactions with a lot of pending message sends by
clearing out the message memory when no longer needed instead of keeping
it tracked in the pending map
2023-10-18 11:47:21 -04:00
Matt Pavlovich 2b1f3070e6 [AMQ-9315] Add connectedTimestamp to Connection and JMX view
(cherry picked from commit 578d86d726)
2023-10-10 14:13:31 -05:00
Matt Pavlovich f14f78ddc7 [AMQ-8325] JMS 2.0 XA supported operations
- Backported jakarta.jms -> javax.jms imports

(cherry picked from commit da2f1376b2)
2023-09-19 09:15:29 -05:00
JB Onofré 20ed8ba70f [maven-release-plugin] prepare for next development iteration 2023-06-27 14:46:32 +02:00
JB Onofré 9cbf58d7bd [maven-release-plugin] prepare release activemq-5.18.2 2023-06-27 14:46:22 +02:00
Matt Pavlovich 972d31f976 [AMQ-9257] Disabled expire message checking when pauseDispatch=true (#1005)
(cherry picked from commit 9a5b61f6a2)
2023-06-08 08:21:48 -05:00
Christopher L. Shannon 04cb6585bd AMQ-9262 - Fix network subscriptions for composite consumers (#1014)
This fixes network subscriptions that are generated on demand when a
consumer uses composite destinations. Before this fix conduit
subscriptions didn't work correctly. This fix now splits up the
composite dest and generates correct demand for each of the individual
destinations.

(cherry picked from commit 901956d4dd)
2023-06-07 07:19:54 -04:00
JB Onofré 21f5c5a458 [maven-release-plugin] prepare for next development iteration 2023-04-10 07:25:30 +02:00
JB Onofré 37fb15d3b3 [maven-release-plugin] prepare release activemq-5.18.1 2023-04-10 07:25:19 +02:00
JB Onofré 1637f9e35c [maven-release-plugin] rollback the release of activemq-5.18.1 2023-04-08 07:38:33 +02:00
JB Onofré 10a5af7bde [maven-release-plugin] prepare for next development iteration 2023-04-06 17:54:56 +02:00
JB Onofré 619be166f2 [maven-release-plugin] prepare release activemq-5.18.1 2023-04-06 17:54:48 +02:00
Jean-Baptiste Onofré 6edfdf7c17 [maven-release-plugin] prepare for next development iteration 2023-03-18 06:47:58 +01:00
Jean-Baptiste Onofré f18f3223fa [maven-release-plugin] prepare release activemq-5.18.0 2023-03-18 06:47:47 +01:00
JB Onofré e4fb4a2d4e
Merge pull request #986 from mattrpav/AMQ-9230
[AMQ-9230] Upgrade jmdns to 3.5.8 (new GAV)
2023-03-14 06:20:47 +01:00
Matt Pavlovich 413dfa9532
[AMQ-5137] make networkConnector decreaseNetworkConsumerPriority="true" the default (#771) 2023-03-13 20:00:36 -06:00
JB Onofré 030d1b5035
Merge pull request #981 from jbonofre/AMQ-9223
[AMQ-9223] Upgrade to slf4j 2.0.6
2023-03-11 07:28:32 +01:00
Matt Pavlovich 122b8f213a [AMQ-9230] Upgrade jmdns to 3.5.8 (new GAV) 2023-03-10 09:52:29 -06:00
Matt Pavlovich 642ec302cc
[AMQ-9225] Remove j2ee management dependency as it is no longer part of JEE spec (#983) 2023-03-07 11:13:41 -06:00
Jean-Baptiste Onofré 1e8de860ad [AMQ-9223] Upgrade to slf4j 2.0.6 2023-02-19 08:11:54 +01:00
Christopher L. Shannon 9fe24cd8e3
AMQ-7309 - Implement Message#isBodyAssignableTo and Message#getBody methods (#979)
AMQ-7309 - Implement Message#isBodyAssignableTo and Message#getBody
methods
2023-02-16 18:03:14 -05:00
Christopher L. Shannon (cshannon) ee14778305 AMQ-7309 - remove test after adding support for jms 2 create session 2023-02-15 18:05:17 -05:00
Christopher L. Shannon (cshannon) 2c69e30748 AMQ-7309 - Implement JMS 2.0 createSession methods
Adds a real implemention for createSession() and createSession(ackMode)
methods on ActiveMQConnection
2023-02-15 08:33:00 -05:00