Commit Graph

9054 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon) 4adc8e4f4e https://issues.apache.org/jira/browse/AMQ-6004
Calling socketHandlerThread.interrupt() on TcpTransportServer stop to
make sure the broker shutsdown cleanly.

Patch applied with thanks to Erik Godding Boye
2015-10-08 12:11:16 +00:00
Christopher L. Shannon (cshannon) 6fef9eea65 Cleaning up logging
Fixing one of the logging statements for the disk usage check process
that warns when the amount of free space is too low
2015-10-07 11:55:20 +00:00
Dejan Bosanac 816e8dfe54 https://issues.apache.org/jira/browse/AMQ-6002 - escape client id in virtual topic mqtt subscription; add test 2015-10-07 11:42:03 +02:00
Dejan Bosanac aa743cbd7a https://issues.apache.org/jira/browse/AMQ-6002 - escape client id in virtual topic mqtt subscription 2015-10-07 11:28:41 +02:00
Timothy Bish bbcd938032 https://issues.apache.org/jira/browse/AMQ-6001
Refill credit at a slightly faster rate.
2015-10-06 11:33:35 -04:00
gtully dc06c8dc75 https://issues.apache.org/jira/browse/AMQ-5994 https://issues.apache.org/jira/browse/AMQ-4000 - proper fix for duplicate sub info from the store on recovery failure from AMQ2149Test. Additional test from Christopher L 2015-10-06 12:01:24 +01:00
Claus Ibsen 95be3698cd Upgrade jolokia 2015-10-06 10:35:35 +02:00
Christopher L. Shannon (cshannon) 50591c313a https://issues.apache.org/jira/browse/AMQ-5998
Merging patch to upgrade Pax-url to the latest
Applied with thanks to Andrea Cosentino

This closes #148
2015-10-05 18:46:41 +00:00
Andrea Cosentino 655b595f53 https://issues.apache.org/jira/browse/AMQ-5998 - Upgrade Pax-url to version 2.4.3 2015-10-05 17:32:44 +02:00
Dejan Bosanac b83c38b04c https://issues.apache.org/jira/browse/AMQ-5997 - support legacy clients 2015-10-05 12:55:48 +02:00
Timothy Bish 81b4b9ae3d https://issues.apache.org/jira/browse/AMQ-5996
When possible check for noLocl changes on durable subscription
reactivation and recreate the durable sub if it changes.  For both
selector change and noLocal change also update the AbstractSubscription
selectorExpression so it matches with what was requested.
2015-10-01 19:23:58 -04:00
Christopher L. Shannon (cshannon) 7c7c505057 https://issues.apache.org/jira/browse/AMQ-5990
Disabling JMX for the Commons Pool implementation inside of
PooledConnectionFactory.  In the future if we want JMX we should
enable our own JMX stats that are independent of Commons Pool.
2015-10-01 18:08:37 +00:00
Christopher L. Shannon (cshannon) 450a5226e0 https://issues.apache.org/jira/browse/AMQ-5961
This closes #143

Applying patch with thanks to Erik Wramner
2015-10-01 13:32:06 +00:00
erik-wramner 9a78bc689f https://issues.apache.org/jira/browse/AMQ-5961
Prevent deadlock by moving calls to afterCommit
and afterRollback out of synchronized blocks.

https://issues.apache.org/jira/browse/AMQ-5961
Lock list but keep global hashmap out for deadlock protection.

https://issues.apache.org/jira/browse/AMQ-5961
Lock safely in isInXATransaction.

https://issues.apache.org/jira/browse/AMQ-5961
Don't synchronize on list as we have an exclusive reference.
2015-10-01 13:31:00 +00:00
gtully fc25535748 https://issues.apache.org/jira/browse/AMQ-5854 - fix intermittent test failure 2015-09-30 11:41:08 +01:00
gtully 8514e38135 https://issues.apache.org/jira/browse/AMQ-5951 - scenario wheere transaction command can block, additional test and further fix 2015-09-30 11:41:08 +01:00
Timothy Bish 94b56977d2 https://issues.apache.org/jira/browse/AMQ-5957
update the xstream bundle version.
2015-09-29 10:08:23 -04:00
gtully 92e1f60d98 https://issues.apache.org/jira/browse/AMQ-5854 - tidy up test 2015-09-29 13:11:29 +01:00
gtully 8d982479e9 https://issues.apache.org/jira/browse/AMQ-5854 - fix and test. Ensure transaction rollback if there are pending acks during a failover reconnect. Reliably tracking pending acks to eusure possible redelivery is too complex in the context of acks getting dropped by failover or ignored by the subscription, in addition to being sent async. Couple that with multiple consumers on the same connection and the locking of message delivery; only safe course is to ensure rollback outcome. 2015-09-28 14:29:57 +01:00
gtully f6e1054a4b https://issues.apache.org/jira/browse/AMQ-5984 - fix sync on get for access ordered LinkedHashMap 2015-09-28 14:20:45 +01:00
Dejan Bosanac 4a8fec4a66 https://issues.apache.org/jira/browse/AMQ-5983 - mqtt virtual topic queue restore 2015-09-28 13:10:31 +02:00
Timothy Bish d6682e5476 https://issues.apache.org/jira/browse/AMQ-5957
Update several dependencies to their latest point release version.
2015-09-25 14:52:20 -04:00
Marc Schoechlin 179d7c0580 Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/activemq 2015-09-25 08:12:49 +02:00
Timothy Bish caac4f784f https://issues.apache.org/jira/browse/AMQ-5962
http-client v4.5.1 now latest.
2015-09-24 18:44:14 -04:00
Timothy Bish b2b949791a https://issues.apache.org/jira/browse/AMQ-5878
Update to latest bugfix release of Jackson.
2015-09-23 13:32:25 -04:00
Christopher L. Shannon (cshannon) a74c5d5065 This closes #147
Merge branch AMQ-5982

Thanks to Chad Zobrisky
2015-09-23 16:45:47 +00:00
Chad Zobrisky b68b273c4c https://issues.apache.org/jira/browse/AMQ-5982
Updating netty to version 4.0.31
2015-09-23 16:31:41 +00:00
gtully fcabcd282d https://issues.apache.org/jira/browse/AMQ-5960 - rework fix to reset the next sequence so that the next ack position and message reference gets cleared up in normal operation 2015-09-23 13:15:29 +01:00
Gregor Zurowski b7a5787610 AMQ-5977: Add LSB headers to init script
Add LSB headers to init script to fix problems when setting up ActiveMQ
as a daemon with chkconfig on RHEL and clones.

Signed-off-by: Gregor Zurowski <gregor@zurowski.org>
2015-09-23 08:31:00 +02:00
gtully 86c826c461 https://issues.apache.org/jira/browse/AMQ-5568 - verify delete return code for win platform failure. Thanks to Erik Wramner for the heads up 2015-09-22 12:56:13 +01:00
Christopher L. Shannon (cshannon) c08efbe6c2 https://issues.apache.org/jira/browse/AMQ-5922
This closes #121

Thanks to Seth Leger
2015-09-21 19:57:07 +00:00
Seth Leger 103efe1d4b Update Import-Package to include Spring 4
Update OSGi metadata to include Spring 4.X in the version range. Removed duplicate org.springframework.osgi* package reference.
2015-09-21 19:56:10 +00:00
Christopher L. Shannon (cshannon) 130455c925 https://issues.apache.org/jira/browse/AMQ-5968
Fixing a potential null pointer exception when attempting to use
scheduler support with replicated levelDB, which is currently not
supported.
2015-09-21 17:37:02 +00:00
Christopher L. Shannon (cshannon) 00d19e7b66 Removing inadvertantly checked in file 2015-09-21 17:13:36 +00:00
gtully cc9b9b0843 https://issues.apache.org/jira/browse/AMQ-5938 - remove unnecessary topic cast - breaks auth scenario. Fix and test 2015-09-21 14:48:44 +01:00
Christopher L. Shannon (cshannon) e9aedc8019 https://issues.apache.org/jira/browse/AMQ-5974
Updating to latest Mockito version, 1.10.19
2015-09-20 15:39:28 +00:00
Christopher L. Shannon (cshannon) ebf27cb398 https://issues.apache.org/jira/browse/AMQ-5957
Updating to Spring 4.1.7.RELEASE
2015-09-20 15:30:48 +00:00
Christopher L. Shannon (cshannon) 38a6bedf92 https://issues.apache.org/jira/browse/AMQ-5860
Adding support for encrypted passwords when using the LDAPLoginModule
2015-09-20 14:50:31 +00:00
Christopher L. Shannon (cshannon) 5107262998 AMQ-5964 - Increasing test timeouts 2015-09-17 20:04:37 +00:00
Christopher L. Shannon (cshannon) d2bd152960 Tweaking some unit tests to improve reliability 2015-09-17 11:28:14 +00:00
Dejan Bosanac ee4672baaf https://issues.apache.org/jira/browse/AMQ-5972 - wildcard policy entries not applied in correct order 2015-09-17 11:08:21 +02:00
Christopher L. Shannon (cshannon) 8a09b7e5f6 AMQ-5923 - Increasing test timeout times
Logging showed that intermittent test failures were caused by not
giving the tests enough time to finish. Also switched message
generation to create random sizes in order to improve testing.
2015-09-16 14:57:30 +00:00
Christopher L. Shannon (cshannon) 4cddd2c015 https://issues.apache.org/jira/browse/AMQ-5963
Disk limits can now be specified as a percentage of the partition size
that the store is located on.  The usual checks of the max size
exceeding the available space will still apply.  When using a
percentage, the store can always regrow itself if space becomes
available.

https://issues.apache.org/jira/browse/AMQ-5964
https://issues.apache.org/jira/browse/AMQ-5965
https://issues.apache.org/jira/browse/AMQ-5969
2015-09-15 14:50:18 +00:00
Dejan Bosanac 32ca1f53fa https://issues.apache.org/jira/browse/AMQ-5956 - propagate exception - helps with AMQ3410Test and AMQ3411Test failures 2015-09-15 11:46:34 +02:00
Christopher L. Shannon (cshannon) 4f8d56aaf6 https://issues.apache.org/jira/browse/AMQ-5967
Updating temporary limit disk check to take into account space being
used by the temporary store itself
2015-09-14 19:46:57 +00:00
Christopher L. Shannon (cshannon) 226222546a Adding logging to help debug test failures
https://issues.apache.org/jira/browse/AMQ-5923
2015-09-11 12:09:25 +00:00
Timothy Bish fe34a61c3a https://issues.apache.org/jira/browse/AMQ-5962
Update HttpClient and HttpCore to latest release.
2015-09-10 19:18:42 -04:00
Christopher L. Shannon (cshannon) d27b192553 https://issues.apache.org/jira/browse/AMQ-5923
Removing TemporaryFolder usage in Junit tests to try and fix the
tests that are hanging when messages are produced.
2015-09-10 19:43:01 +00:00
Christopher L. Shannon (cshannon) 3ec560f2a8 https://issues.apache.org/jira/browse/AMQ-5923
Making message size statistic tests more reliable
2015-09-10 16:23:43 +00:00
Dejan Bosanac f4a2543def https://issues.apache.org/jira/browse/AMQ-5960 - durable sub pendingQueueSize after force shutdown - fix npe test failure 2015-09-10 14:13:45 +02:00