Commit Graph

719 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon) 6d848c440c [maven-release-plugin] prepare for next development iteration 2017-02-27 08:46:14 -05:00
Christopher L. Shannon (cshannon) 308eab0bb6 [maven-release-plugin] prepare release activemq-5.14.4 2017-02-27 08:45:01 -05:00
Christopher L. Shannon (cshannon) 16de69502f AMQ-6610: Fixing JDBC test
Durable destinations need to always be loaded on connector start

(cherry picked from commit ef84db5e64)
2017-02-27 07:38:03 -05:00
Christopher L. Shannon (cshannon) 0ee9420587 AMQ-6610 - Network connector mbean not registered on reload
On network connector add or update after broker start (such as the
runtime plugins) the mbean was not created.  There was also a couple of
other properties not set. Fixed the network connector start to be the
same for normal broker start and runtime reload.

(cherry picked from commit bab0887ed6)
2017-02-24 14:12:39 -05:00
gtully 727000f112 [AMQ-6587] - fix root cause of deletion candidate seeing sub. contention between adding sub to dests and adding dests to sub, also removing sub from dests twice could leave dest stat negative allowing invalid candidate for gc
(cherry picked from commit d86c98a687)
2017-02-10 08:05:35 -05:00
gtully 2d4fb4cbab [AMQ-6587] additional contention window with new sub while gc is in progress - need to verify new sub is actually subscribed to the candidate for deletion. Fix and test
(cherry picked from commit 0ee4f5b843)
2017-02-07 10:04:44 -05:00
gtully 95dc0eba2b [AMQ-6587] ensure subs added to new destination before destination is exposed in the destination map. sort gc contention with wildcard subs and anonymous publish. fix and test
(cherry picked from commit e415d2921e)
2017-02-06 09:06:56 -05:00
Timothy Bish 58ab9b6c93 https://issues.apache.org/jira/browse/AMQ-6588
Add more detail to log output for easier tracking
(cherry picked from commit 9b9e3d3678)
2017-02-01 16:16:04 -05:00
Christopher L. Shannon (cshannon) 96f312ebe5 https://issues.apache.org/jira/browse/AMQ-6579
Remove incorrect dispatch counter increment on message expiration in
TopicSubscription when a pending limit strategy is set

(cherry picked from commit d0c95146c3)
2017-01-25 11:18:19 -05:00
Christopher L. Shannon (cshannon) 1811d191af https://issues.apache.org/jira/browse/AMQ-1940
Queue purge now acquires the sendLock to prevent new messages from
coming in while purging.  The statistics are no longer zeroed out as
they should properly decrement as messages are removed.  These changes
should prevent the statistics from going negative.

(cherry picked from commit 56bb079c82)
2017-01-24 08:48:28 -05:00
Christopher L. Shannon (cshannon) df7aa6e892 https://issues.apache.org/jira/browse/AMQ-6561
Stop connections on all connection attempt errors, not just security
exceptions, to prevent dangling open sockets.

(cherry picked from commit d9c74d7317)
2017-01-12 10:22:19 -05:00
Christopher L. Shannon (cshannon) 161ba22f61 https://issues.apache.org/jira/browse/AMQ-6560
Converting flags in TransportConnection to AtomicBoolean to reduce
synchronization and improve thread safety

(cherry picked from commit bdec3f6ddb)
2017-01-12 07:41:30 -05:00
Christopher L. Shannon (cshannon) e4da98bd79 https://issues.apache.org/jira/browse/AMQ-6555
Fixing Scheduler so that a rescheduled task will first cancel the
existing task so it does not get orphaned from the task map.  Also
fixing Topic start so that it will only start once and not twice.

(cherry picked from commit 2769298cf6)
2017-01-10 10:27:44 -05:00
Christopher L. Shannon (cshannon) b36262ebba [maven-release-plugin] prepare for next development iteration 2016-12-19 10:33:54 -05:00
Christopher L. Shannon (cshannon) 58dddb9181 [maven-release-plugin] prepare release activemq-5.14.3 2016-12-19 10:32:45 -05:00
Christopher L. Shannon (cshannon) 0225edb471 https://issues.apache.org/jira/browse/AMQ-6538
Fixing an issue with syncDurableSubs that cause a bridge failure when
adding multiple bridges between the same brokers

(cherry picked from commit 25703fbd1f)
2016-12-13 12:00:41 -05:00
Christopher L. Shannon (cshannon) ae30662fbd https://issues.apache.org/jira/browse/AMQ-6535
Fixing the auto+nio+ssl transport so that the protocol detection task
will properly terminate on timeout and not continue to run. Also
lowered the default detection timeout to 15 seconds instead of 30
seconds to match the InactivityMonitor default.

(cherry picked from commit 27238b2dd7)
2016-12-12 11:26:26 -05:00
Daniel Kulp d3c5e8188d [AMQ-6529] Make sure the LDAP ACL's are definitely loaded when needed. 2016-12-08 09:39:17 -05:00
Christopher L. Shannon (cshannon) 8d1136e699 [maven-release-plugin] prepare for next development iteration 2016-12-05 09:35:12 -05:00
Christopher L. Shannon (cshannon) 2462711684 [maven-release-plugin] prepare release activemq-5.14.2 2016-12-05 09:33:48 -05:00
gtully 5b6ce12fc4 [AMQ-6518] - fix up aveMessageSize dest stat and test
(cherry picked from commit cfdff4edc5)
2016-12-05 08:45:56 -05:00
Timothy Bish 3597fd9614 https://issues.apache.org/jira/browse/AMQ-6504
Fix intermittent test failure
(cherry picked from commit 2c828b23df)
2016-11-21 12:38:40 -05:00
Timothy Bish 65d789b4e1 https://issues.apache.org/jira/browse/AMQ-6500
Better handle prefetch extension and pull consumers over Topics to avoid
the remote not receiving all the messages available based on the credit
it has issued.
(cherry picked from commit e050519ff6)
2016-11-18 12:18:53 -05:00
Christopher L. Shannon (cshannon) cc633e6913 https://issues.apache.org/jira/browse/AMQ-6505
Fixing the auto transport protocol detection so that the byte buffer
that captures the initial bytes for detection is not shared across
threads. This was causing failed connections under high load and high cpu
usage under NIO

(cherry picked from commit 7e648d512d)
2016-11-12 10:03:07 -05:00
Timothy Bish 41ce86bd95 https://issues.apache.org/jira/browse/AMQ-6504
Round the start time value not truncate to ensure delay falls on the
correct side of the scheduling block.
(cherry picked from commit 980162233f)
2016-11-11 14:53:35 -05:00
Christopher L. Shannon (cshannon) e0116d0458 https://issues.apache.org/jira/browse/AMQ-6477
ReduceMemoryFootprint now applies to non-persistent messages if they
have been marshalled and topics now clear memory after the recovery
policy check

(cherry picked from commit 7c3bb40100)
2016-10-25 10:20:33 -04:00
Christopher L. Shannon (cshannon) 2ea6b00eef https://issues.apache.org/jira/browse/AMQ-6476
Moving BrokerSubscriptionInfo processing into a new thread to prevent a
deadlock of the network bridge on startup

(cherry picked from commit b9cb02ae54)
2016-10-24 07:52:42 -04:00
Christopher L. Shannon (cshannon) 9b6b31ca2f https://issues.apache.org/jira/browse/AMQ-6472
Durable sync over a network bridge will now also sync non-durable
subscriptions proplrly if the consumer belongs to a destination that is
configured to force network durable subscriptions.

(cherry picked from commit d206621a73)
2016-10-20 13:49:05 -04:00
Christopher L. Shannon (cshannon) b49df4848e https://issues.apache.org/jira/browse/AMQ-6465
Properly decrementing the message reference count in
DemandForwardingBridgeSupport when messages supression is checked for
durable subscriptions

(cherry picked from commit 406a34294b)
2016-10-14 12:16:36 -04:00
Christopher L. Shannon (cshannon) 991e97ad94 https://issues.apache.org/jira/browse/AMQ-6449
Disabling doclint now only activates for JDK 8

(cherry picked from commit 72650a0b8b)
2016-10-03 07:38:37 -04:00
Christopher L. Shannon (cshannon) 241d9d1565 NO-JIRA: More Java 8 JavaDoc fixes - also fixed findbugs for Java 8
(cherry picked from commit 02082b1aec)
2016-09-30 14:37:29 -04:00
Christopher L. Shannon (cshannon) 9ab56d59cc [maven-release-plugin] prepare for next development iteration 2016-09-27 13:06:49 -04:00
Christopher L. Shannon (cshannon) 594c79e531 [maven-release-plugin] prepare release activemq-5.14.1 2016-09-27 13:06:12 -04:00
gtully ebbb7ab437 https://issues.apache.org/jira/browse/AMQ-6422 - match proton sender view credit to prefetchExtension - tracking credit to dispatch delta to track additional flow requests. Proton sender layer is distinct from the transport layer - they mirror each other 2016-09-27 12:15:50 -04:00
gtully 94ffb1bf81 AMQ-6422 - include the inflight count in the prefetch for positive remote credit flows. Fix and test 2016-09-27 12:12:33 -04:00
Christopher L. Shannon (cshannon) 02d53a0d9f Revert "[maven-release-plugin] prepare release activemq-5.14.1"
This reverts commit 422b231c25.
2016-09-27 11:57:35 -04:00
Christopher L. Shannon (cshannon) 354142adf1 Revert "[maven-release-plugin] prepare for next development iteration"
This reverts commit 47a652ef2a.
2016-09-27 11:57:25 -04:00
Christopher L. Shannon (cshannon) 47a652ef2a [maven-release-plugin] prepare for next development iteration 2016-09-27 08:58:13 -04:00
Christopher L. Shannon (cshannon) 422b231c25 [maven-release-plugin] prepare release activemq-5.14.1 2016-09-27 08:57:19 -04:00
Christopher L. Shannon (cshannon) b1c09d9a85 https://issues.apache.org/jira/browse/AMQ-6436
The temporary store will now delete the old temp directory on start up
if lazyInit is true instead of waiting for the store to initialize to
clear up space.  This prevents space on the disk from being wasted with
old data if the temp store isn't initialized

(cherry picked from commit a82c95cd29)
2016-09-23 15:49:38 -04:00
Christopher L. Shannon (cshannon) e0c70b843f https://issues.apache.org/jira/browse/AMQ-6430
Modifying patch so that only stores that persist the noLocal flag will
check if this flag has changed to prevent a subscription from being
deleted by mistake

(cherry picked from commit 18571ce09b)
2016-09-23 11:26:22 -04:00
Christopher L. Shannon (cshannon) d3b86e77dd https://issues.apache.org/jira/browse/AMQ-6430
When a nolocal durable consumer reconnects the new connectionId is properly captured for
the NoLocal expression so that nolocal works on reconnect.  Also fixed
the detection of the nolocal value changing on consumer connect.

(cherry picked from commit 7c293b661f)
2016-09-21 09:35:38 -04:00
gtully f0d898cc9d AMQ-6403 - add indexDirectory attribute to kahadb plist impl - settable via broker service tempDataStore
(cherry picked from commit 5a874816b7)
2016-09-08 15:36:44 -04:00
gtully 1d1c9262fd AMQ-6406 - ensure duplicates trapped by the cursor-add or queue-page-in are removed from the message store
(cherry picked from commit 2b1cda1964)
2016-09-08 15:36:15 -04:00
Christopher L. Shannon (cshannon) 5956bdc1f5 https://issues.apache.org/jira/browse/AMQ-6423
Fixing durable sync over a network bridge so that network subscriptions
that are no longer permissible are also cleaned up

(cherry picked from commit a038655605)
2016-09-08 08:29:03 -04:00
Christopher L. Shannon (cshannon) 4dbe61dd56 https://issues.apache.org/jira/browse/AMQ-6418
Fixing mqtt link stealing default setting for auto transport

(cherry picked from commit 88af1c70d9)
2016-09-07 08:28:36 -04:00
Christopher L. Shannon (cshannon) c4bc626fea https://issues.apache.org/jira/browse/AMQ-6420
Properly copying wire format options map before applying to the
transport when using auto transports so that the options do not get
cleared and will be used for all future connections

(cherry picked from commit 9ab94883a8)
2016-09-07 07:44:07 -04:00
Christopher L. Shannon (cshannon) c99eb1d600 https://issues.apache.org/jira/browse/AMQ-6418
Properly setting the transport properties on the
AutoNIOSSLTransportServer and fixing the Stomp protocol to set the peer
certs when using auto+ssl

(cherry picked from commit 98c5866c75)
2016-09-06 10:19:20 -04:00
Christopher L. Shannon (cshannon) 679f0cfd31 https://issues.apache.org/jira/browse/AMQ-6414
Changing the nio+ssl transports to trigger a serviceRead after start up
to prevent blocking. The prevents the channels from not reading in
certain cases, most notably with the auto+nio+ssl transport when used
for a network bridge.  Also added a couple tests and changed a network
bridge test to test out auto+nio+ssl.

(cherry picked from commit ed0e786b60)
2016-09-06 10:19:20 -04:00
Timothy Bish fb24b48b8a https://issues.apache.org/jira/browse/AMQ-6387
Fix up the Memory Store such that it removes the references it adds to
messages when they are placed into the memory durable topic subscription
store.
(cherry picked from commit bb8d32c04a)
2016-09-01 16:27:56 -04:00