Commit Graph

956 Commits

Author SHA1 Message Date
gtully c0a6f47a47 AMQ-7021 - add unsynchronised accessors to destination map for usage with rw lock from abstract region; allow concurrent read of the destination map
(cherry picked from commit 0b76d3a0ea)
2018-07-26 11:31:11 -04:00
Jeff Genender 2a2e01df6a AMQ-7015 - Changed attribute to purgeRecoveredXATransactionStrategy and
allow NEVER, COMMIT, and ROLLBACK
2018-07-25 12:52:49 -06:00
hkesler ce7498c971 AMQ-7015 Added a purgeRecoveredXATransactions property on the KahaDB adaptor to purge prepared XA messages on recovery 2018-07-19 11:53:04 -06:00
jgoodyear 7ba7bfd9cd [AMQ-7013] Adding unit test 2018-07-18 13:04:07 -02:30
gtully 4cbb913271 AMQ-7002 - ensure uniqueue jobids, fix and test via patch from Jamie goodyear applied with thanks
(cherry picked from commit e0aa091d9e)
2018-06-27 14:17:04 +01:00
Christopher L. Shannon (cshannon) 9683ae3f5d AMQ-6940 - test fix for AMQ6477 test
Need to remove the portion of the test that looks at the dispatched list
for TopicSubscription as that class no longer tracks message references

(cherry picked from commit 84126d8a7a)
2018-03-30 06:35:52 -04:00
Christopher L. Shannon (cshannon) 21a594c8e8 AMQ-6940 - Add flag to disable TopicSubscription in flight stats
To save memory usage in some use cases add a new flag to PolicyEntry
called useTopicSubscriptionInflightStats to allow disabling the
inflight stats

(cherry picked from commit 65b0f2ad0d)
2018-03-29 13:26:13 -04:00
Christopher L. Shannon (cshannon) 164312f888 NO-JIRA: Add missing license headers
(cherry picked from commit e5de25f4fc)
2018-01-29 08:12:16 -05:00
gtully d8f8ae9f92 [AMQ-6815] rework to drop the batch reference from Location such that batches are free for gc when index pages are agressively cached
(cherry picked from commit ec6fa19099)
2018-01-11 08:07:58 -05:00
Łukasz Dywicki 3e9ee71062 AMQ-6861 Allow customisation of network bridge creation logic. 2017-12-20 22:17:17 -05:00
gtully 0464d53233 [AMQ-6847] limit the retry loop to one iteration overa all pending messages such that new additions are not replayed to avoid duplicates
(cherry picked from commit 03b19b9da4)
2017-12-19 07:18:12 -05:00
gtully eb9e50f3c9 [AMQ-6847] pause dispatch for message move to avoid redelivery with pending ack/remove/audit rollback
(cherry picked from commit 2ea5d1420b)
2017-12-19 07:18:01 -05:00
Carlo Dapor b04b971685 [AMQ-6601] AMQ with master and slave broker, shutting down slave causes dead-lock. 2017-12-18 22:54:23 -05:00
Christopher L. Shannon (cshannon) 94aea677ac AMQ-6875 - Use the correct destination for Virtual destination consumers
when using Virtual Topics

(cherry picked from commit 56baba96c6)
2017-12-14 16:02:06 -05:00
Christopher L. Shannon (cshannon) d2e49be3a8 AMQ-6871 - By default only send generic platform details
The default behavior by the OpenWire client will be to send generic
platform details to the server with a new flag to send more specific
information.

(cherry picked from commit 5fa0bbd515)
2017-12-06 08:42:12 -05:00
Christopher L. Shannon (cshannon) 1cfc9ff9a6 (AMQ-6858) - add extra precautionary check for demand subs
also remove test that intermittently fails with timing issues

(cherry picked from commit 08aa5118ff)
2017-11-16 07:50:53 -05:00
Christopher L. Shannon (cshannon) 3285be60ed (AMQ-6858) - test fix
(cherry picked from commit 2e3a7f6114)
2017-11-16 07:50:47 -05:00
Christopher L. Shannon (cshannon) 247243c9c1 AMQ-6858 - handle resync of network proxy durables after restart
We need to properly handle the re-addition of network proxy durables
after the brokers are restarted so removal is done properly

(cherry picked from commit 6013441a9a)
2017-11-16 07:50:40 -05:00
Christopher L. Shannon (cshannon) 39d6321a4a AMQ-6858 - Allow configuration of the client Id token in network bridge
The client id token that is used to separate parts of a generated local
client id in a network bridge should be configurable so bridge names and
broker names can contain underscores if desired

(cherry picked from commit 3ca439cada)
2017-11-16 07:50:31 -05:00
Christopher L. Shannon 97fe20a572 AMQ-6858 - reworking durable subscription propagation fix
Significantly reworking previous fix so that the client id is properly
changed when tracking network proxy subscriptions. This makes it so
removal is done properly

(cherry picked from commit 41211c78d1)
2017-11-16 07:50:19 -05:00
Christopher L. Shannon (cshannon) d5a987b6a5 AMQ-6858 - Fix several durable subscription bridge propagation issues
Durable network proxy subs will now be properly created across multiple
bridges when 3 or more brokers are used.  Demand will be properly synced
and removed.

(cherry picked from commit 96ce14b278)
2017-11-16 07:50:12 -05:00
gtully fe82d02e38 [AMQ-6824] remove time dependency in test assertion
(cherry picked from commit 578eacab45)
2017-09-28 09:40:35 -04:00
gtully 26788f5fd7 [AMQ-6824] - fix up prefetchExtension growth on transaction completion and delivered ack and tie in boolean usePrefetchExtension
(cherry picked from commit 41a100766c)
2017-09-26 14:34:47 -04:00
Timothy Bish 592b31343e AMQ-6809 Fix issue where stream message getBytes returned wrong value
StreamMessage implementation should return zero when the full value of a
written byte array has been consumed before then returning -1 on the
next read.  Ands fix and additional testing of ActiveMQStreamMessage
(cherry picked from commit 61d3231d36)
2017-09-20 15:50:56 -04:00
Erik Wramner e1699d58c8 AMQ-6808 preserve destination for browsed scheduled messages
(cherry picked from commit c691124d32)
2017-09-15 09:03:58 -04:00
gtully d894d570d4 [AMQ-6277] take account of producer audit not being updatated on recovery check, avoid unnecessary partial journal replay
(cherry picked from commit a359d8152c)
2017-09-15 09:03:47 -04:00
Dejan Bosanac 9387451412 https://issues.apache.org/jira/browse/AMQ-6799 - stop the jmx server connector properly
(cherry picked from commit 5e656d394c)
2017-09-07 12:14:45 -04:00
Dejan Bosanac ccf8dbe28b https://issues.apache.org/jira/browse/AMQ-6799 - IOExceptionHandler during the startup
(cherry picked from commit c7291f1ecf)
2017-09-07 12:14:35 -04:00
gtully f7185b992e [AMQ-6643][AMQ-5594] fix test regression to reflect match strategy
(cherry picked from commit 068b7946ce)
2017-09-07 12:14:08 -04:00
gtully 3b6ba778bd [AMQ-6643] refine fix to allow wildcard subs to non wildcard subscription queues, enable simple wildcard sub to drain all subscription queues
(cherry picked from commit a67c75a9e1)
2017-09-07 12:13:40 -04:00
gtully 035baf1722 [AMQ-6787] release securty context on failure to addConnection subsequent to auth, resolve leak. fix and test
(cherry picked from commit a15626193c)
2017-09-07 12:13:29 -04:00
gtully 199f25ed93 [AMQ-6778] - fix test regression that needs to account for presence of correct advisory dests
(cherry picked from commit 206f77adac)
2017-09-07 12:11:10 -04:00
gtully 1bba73dcb6 [AMQ-6778] fix and test - no longer gate firing advisory on broker start flag b/c consumers may be present once transport connectors have started
(cherry picked from commit ddfa96028c)
2017-09-07 12:10:55 -04:00
gtully 7ab743a053 [AMQ-6764] add logging of exit of jmx ops such that overlaps and delays are visible in the audit. fix and test
(cherry picked from commit d7f70837b7)
2017-09-07 12:09:56 -04:00
Christopher L. Shannon (cshannon) eca72dc81a AMQ-6798 - Clean up store usage object on Queue stop
When queues are stopped the StoreUsage object needs to be stopped so it
will be removed from the parent StoreUsage.  This allows the object to
be garbage collected and prevents a memory leak.

(cherry picked from commit 35bd3ad938)
2017-08-24 09:25:13 -04:00
gtully d70852eec8 [AMQ-6625] fix mock test expectation regression 2017-06-16 10:29:32 +01:00
gtully b07821ab64 [AMQ-6625] remove kahadbioexceptionhandler by pushing allowIOResumption into persistence adapter. This allows the lease locker to still be used with kahadb for stopStartConnectors support 2017-06-15 17:28:31 +01:00
gtully 99f3d4c505 [AMQ-6703] have jmx purge clear the audit such that messages can be copied back, fix and test 2017-06-15 10:46:23 +01:00
gtully b6cb0eacea [AMQ-6702] add maxProducersToAudit and maxAuditDepth to dead letter strategy to cofigure the audit, fix and test 2017-06-13 14:26:15 +01:00
Christopher L. Shannon (cshannon) 2a0b785a04 AMQ-6698 - Allow timeout of SSL handshake for auto+nio+ssl
The handshake now takes place inside of the async task that timesout so
that if the SSL handshake takes too long the connection attempt will
honor protocolDetectionTimeout and actually timeout.  Also, change the
default of protocolDetectionTimeout to 30 seconds so it matches the rest
of the broker's default connection timeout settings.
2017-06-08 12:34:15 -04:00
gtully 7413ee00e1 [AMQ-6696] zero out usage for forwarded messages such that the original target is no longer referenced. fix and test 2017-06-02 12:23:58 +01:00
gtully c50dc6ff00 [AMQ-6693] ignore the long term connection associated with the broker context, fix and test 2017-06-01 12:00:04 +01:00
gtully d2c0eddaad [AMQ-6691] allow dlq flag to be set via jmx to allow retry op after a restart - use destinations element for long term persistence 2017-05-31 12:39:48 +01:00
gtully 8023b9ee44 [AMQ-6690] do nothing for move/copy jmx ops that try to modify self 2017-05-31 11:26:46 +01:00
gtully 30d3162982 [no jira] tidy up test teardown - prevent subsequent ci failures in error 2017-05-26 11:49:04 +01:00
gtully 25f112c5c9 [AMQ-6687] ensure transacted sends blocked on pfc do not resume after tx completion. AMQ-4467 refine the fix such that PFC kicks in such that the cache will accept messsages that push it over it's limit while it is still under the limit 2017-05-25 12:43:08 +01:00
gtully acab282d9c [AMQ-6678] sync destructive queue view mbean (jmx) operations such that concurrent calls see consistent state 2017-05-18 12:37:54 +01:00
gtully ae97fbd52e fix cn to match jdk8 cert 2017-05-05 11:01:33 +01:00
gtully b30ae4e846 [AMQ-6665] - remove extranious import from test 2017-05-05 10:48:13 +01:00
gtully 07b0d913af conform to jdk8 algorithm constraints with keystores 2017-05-04 13:14:31 +01:00