795 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon)
164312f888 NO-JIRA: Add missing license headers
(cherry picked from commit e5de25f4fc7401c4b5888bb9836eb5a6886bada2)
2018-01-29 08:12:16 -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 03b19b9da4d50c3bb8985f930e93596c7d994d26)
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 2ea5d1420bbbf90bd151e19a75e6ca33c773f1f4)
2017-12-19 07:18:01 -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 56baba96c657d4e44b88955a964d6c92ff39b822)
2017-12-14 16:02:06 -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 08aa5118ffcd8dfc4ec813d799a61ef1ee4421d1)
2017-11-16 07:50:53 -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 6013441a9a7c4a13f7412d6d72638de0f420e6a3)
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 3ca439cadaa8c40f506aa1ef683b36624d216254)
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 41211c78d19b545a2352584d3598346aa3705be4)
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 96ce14b278fef9e5f428f1c3c07ce5c09fd8f9a8)
2017-11-16 07:50:12 -05:00
Christopher L. Shannon (cshannon)
c4d460bf60 [maven-release-plugin] prepare for next development iteration 2017-10-17 10:16:08 -04:00
Christopher L. Shannon (cshannon)
9e595d8674 [maven-release-plugin] prepare release activemq-5.15.2 2017-10-17 10:09:04 -04:00
Christopher L. Shannon (cshannon)
a218119e6b [maven-release-plugin] prepare for next development iteration 2017-09-28 10:45:21 -04:00
Christopher L. Shannon (cshannon)
d17a8740fc [maven-release-plugin] prepare release activemq-5.15.1 2017-09-28 10:28:20 -04:00
Christopher L. Shannon (cshannon)
1d0121ccd4 Revert "[maven-release-plugin] prepare release activemq-5.15.1"
This reverts commit 756b858fa458757a0a5824c6ffe94e684c5771c9.
2017-09-28 10:05:01 -04:00
Christopher L. Shannon (cshannon)
756b858fa4 [maven-release-plugin] prepare release activemq-5.15.1 2017-09-28 09:59:18 -04:00
Christopher L. Shannon (cshannon)
76474fbc67 Revert "[maven-release-plugin] prepare release activemq-5.15.1"
This reverts commit 37227fbf8bf2308d45dddb169483864007ef5560.
2017-09-27 08:54:44 -04:00
Christopher L. Shannon (cshannon)
ade1a87e09 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit e2eabeb1c2a8234d2763238eae8a2a143e1860a6.
2017-09-27 08:54:36 -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 41a100766c19655816d575841ba559d33c63313d)
2017-09-26 14:34:47 -04:00
Christopher L. Shannon (cshannon)
e2eabeb1c2 [maven-release-plugin] prepare for next development iteration 2017-09-25 09:23:32 -04:00
Christopher L. Shannon (cshannon)
37227fbf8b [maven-release-plugin] prepare release activemq-5.15.1 2017-09-25 09:17:38 -04:00
Erik Wramner
e1699d58c8 AMQ-6808 preserve destination for browsed scheduled messages
(cherry picked from commit c691124d3288ffc9299bedca69b952952f2cbcf6)
2017-09-15 09:03:58 -04:00
Dejan Bosanac
9387451412 https://issues.apache.org/jira/browse/AMQ-6799 - stop the jmx server connector properly
(cherry picked from commit 5e656d394ce73d6f7d9e72f46348ed7dc9b6240c)
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 c7291f1ecfefec7aad6fcf168e298e2ef0af8ed7)
2017-09-07 12:14:35 -04:00
gtully
0924f983f8 [AMQ-6792] fire the failover exception handler before stop to ensure blocked write does not block stop request
(cherry picked from commit 63f0b7e20d56837b4f159e83594a4e4fb906cd4a)
2017-09-07 12:14:23 -04:00
Christian Schneider
d5dfadd8d0 [AMQ-6788] Explain how to fix the problem in the exception
(cherry picked from commit 8646bb1010d2632f5d405fe1761c2b9c99a0a139)
2017-09-07 12:13:55 -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 a67c75a9e15c9957aedc0bc8c4aa89952a4c5ea0)
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 a15626193c8d3c099b0bcf1e605b892b533a4d3e)
2017-09-07 12:13:29 -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 ddfa96028c4c803467b0c074b8c1b4d3e5f9687d)
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 d7f70837b7e80d41e45362c1327f4d9af25335e1)
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 35bd3ad938f5c378b17a34980d2f3480bf3bbfc3)
2017-08-24 09:25:13 -04:00
Christopher L. Shannon (cshannon)
e7956b527d NO-JIRA: Incrementing version to 5.15.1-SNAPSHOT 2017-06-27 13:52:45 -04:00
Christopher L. Shannon (cshannon)
5f0d6943cb [maven-release-plugin] prepare release activemq-5.15.0 2017-06-27 13:41:01 -04:00
Christopher L. Shannon (cshannon)
2311749aa2 AMQ-6706 - Protecting preShutdownHooks with an AtomicBoolean 2017-06-20 11:05:29 -04:00
Zoran Regvart
155461a0ba
AMQ-6706 Allow for hooks before broker stop occurs
When Camel is run embedded within ActiveMQ it's shutdown is called at
the point the broker is already stopped, this can lead to data loss as
there could be exchanges that have not ended.
This adds the ability to specify preStopHook(s) that can be invoked
during ActiveMQ shutdown but before the broker is shutdown.

With this Camel can gracefully shutdown while the broker is still
started.
2017-06-19 14:29:05 +02: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
df3bd83c0d [AMQ-6703] check for enable audit false 2017-06-15 11:22:20 +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
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
00ee9491d9 [AMQ-6678] sync destructive purge on queue view mbean (jmx) to prevent concurrent calls 2017-05-29 11:21:00 +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
a0ba0bf4c6 [AMQ-6667] gate cursor cache enablement on a single pending send and tidy up setbatch to always check outstanding async future list. Fix and test 2017-05-03 11:36:06 +01:00
gtully
57795bafce [AMQ-6665] - check for peercerts is now on tcp transport such that the bridge connection info can have the correct context 2017-04-27 12:07:12 +01:00
gtully
0e74c52e8a [NO JIRA] tidy up MbeanInfo text in DestinationView 2017-04-26 12:10:24 +01:00
Christopher L. Shannon (cshannon)
808a4c5c17 AMQ-6661 - Fix Auto MQTT protocol detection
Protocol detection now takes into account the variable length header in
the CONNECT packet.
2017-04-25 08:47:08 -04:00