903 Commits

Author SHA1 Message Date
Dejan Bosanac
19adb5d840 [maven-release-plugin] prepare release activemq-5.14.5 2017-04-11 17:32:24 +02:00
Timothy Bish
4c5a70421c AMQ-6603 Stop tracking producer if creation failed
Track the message producer create and ensure it is not recreated on
failover if the creation resulted in an error response.  Add failover
level tests to cover consumer and producer failed create tracking.
(cherry picked from commit 90b808ab98b760f06885a5f45628353c9d2224f2)
2017-02-28 16:20:19 -05:00
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)
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 bab0887ed60907d4ccac1824d83371a592f94925)
2017-02-24 14:12:39 -05:00
Christopher L. Shannon (cshannon)
7c84aca59f AMQ-6599 - Properly apply soTimeout value to TcpTransport
The soTimeout value needs to be applied to the TcpTransport as well as
the socket because the NIO transports use the value later on when
establishing a connection

(cherry picked from commit f6bf823dedba54dea40b597f1762ac6d7308ffa6)
2017-02-17 08:05:27 -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 d86c98a68772aaa879e6a573fed1ab8382568c9e)
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 0ee4f5b84302daf8901363556d038e274c2defd5)
2017-02-07 10:04:44 -05:00
gtully
8af72c2157 [AMQ-6587] - fix typo in test that needs 1.7 final
(cherry picked from commit 64b3203713161ee0dd5d8d1dbd74f4c4602f546c)
2017-02-06 09:07:04 -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 e415d2921ec7eabeccdf7db4d1850caa68486de3)
2017-02-06 09:06:56 -05:00
gtully
93715d1bd6 [AMQ-6432] issue was journal scan on newly created ack file. I left the relevant braces from AMQ-6288 in place. Fix and test
(cherry picked from commit 9b64e188b59a395300a2f5d6022df9dbbae2f426)
2017-02-06 09:05:31 -05:00
Krzysztof Sobkowiak
659d1f6ba5 [AMQ-6586] Compilation of activemq-unit-test fails 2017-01-31 20:36:13 +01: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 d0c95146c37f96ca69e1fe82c4b2fe9208f8184e)
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 56bb079c8227a2beee609b205c001d66597db98a)
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 d9c74d7317677725a52466349f7ed91911664d3d)
2017-01-12 10:22:19 -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 25703fbd1f27b65a7410acd7df0bfaf7c16845d8)
2016-12-13 12:00:41 -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 cfdff4edc529984deea27067578810498541321c)
2016-12-05 08:45:56 -05:00
gtully
89209d320c [AMQ-6522] - remove hardcoded 32k batch limit from recovery check of the journal, fix and test
(cherry picked from commit dad629e889b2116a778fd4f77680a1b2944b400f)
2016-12-05 08:45:20 -05:00
Timothy Bish
3903ea08ab https://issues.apache.org/jira/browse/AMQ-6505
Fix compilation error on 5.14.x branch
2016-11-18 12:24:12 -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 e050519ff6ae8079c5183f6e6372ddb3d03e91c7)
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 7e648d512d06508d85f6a4e111d9adbdb9e33a82)
2016-11-12 10:03:07 -05:00
Christopher L. Shannon (cshannon)
f9e624a487 https://issues.apache.org/jira/browse/AMQ-6489
Adding a new ActiveMQXASslContextFactory and jndi support for it
in ActiveMQSslInitialContextFactory

(cherry picked from commit 016ae05d0e2697fe53db276d8e6f098d2e9f6f05)
2016-11-04 08:31:53 -04:00
Christopher L. Shannon (cshannon)
fc3206864d https://issues.apache.org/jira/browse/AMQ-6477
Fixing potential concurrent modification exception

(cherry picked from commit 5c80eda321e7edb5f34ffd62c71523310d26b2ca)
2016-11-01 10:32:01 -04:00
Michael L. Bloom
ed4ffaba54 https://issues.apache.org/jira/browse/AMQ-6489
Add support for SSL configurations using JNDI.

(cherry picked from commit 11541e8608807d900f0fd66ef48bbc7c5590ee4c)
2016-10-31 12:48:13 -04: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 7c3bb401007b4047c540287b53b435b20d3161c0)
2016-10-25 10:20:33 -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 d206621a73e4731b00eff49518ea93ba9a4ee3c0)
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 406a34294befca4ba2de4b728c86f64b96a94945)
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 72650a0b8b00f281ce6b2e300da2cb4015d25e81)
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 02082b1aec97140dd62a418d68f2cc029082444e)
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
Christopher L. Shannon (cshannon)
02d53a0d9f Revert "[maven-release-plugin] prepare release activemq-5.14.1"
This reverts commit 422b231c25bbf1af4695939468e80b9a2dbaa98b.
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 47a652ef2a9bb876b324da65285a7de4fab25317.
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)
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 18571ce09b6385d8560200928a353e9da1a1ffe4)
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 7c293b661f22245ce21bf2b5aa1c5bf4192cb8c5)
2016-09-21 09:35:38 -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 2b1cda196471280c4fc587d8664d6373e18c97ca)
2016-09-08 15:36:15 -04:00
gtully
cf004c205d AMQ-6413 - ensure audit update on skipped store add for kahadb concurrentStoreAndDispatch. Fix and test
(cherry picked from commit f8bc19b96da752e216de2c5c543a7d8523512a03)
2016-09-08 15:35:32 -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 a038655605e8fa1de279b37989ba69a68f83c601)
2016-09-08 08:29:03 -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 9ab94883a8ba88aeeb0a16e2310ab42a46de1d05)
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 98c5866c7534c1f26d2e41edbdb372fe21387fe4)
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 ed0e786b6002633411037923fb28a075489e442b)
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 bb8d32c04aa06735d0036963685a4bc41fcbaad7)
2016-09-01 16:27:56 -04:00
Christopher L. Shannon (cshannon)
a99edb8175 https://issues.apache.org/jira/browse/AMQ-6067
The JDBCMessageStore now checks hasSpace() when running a message
recovery listener to prevent going past the max configured page size

(cherry picked from commit b9fad53fc650a9026391bef0fd74aea1bea7ec1b)
2016-08-26 13:52:18 -04:00