Commit Graph

9045 Commits

Author SHA1 Message Date
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
Christopher L. Shannon (cshannon) d1dface01a https://issues.apache.org/jira/browse/AMQ-5923
Adding a null pointer check in PListImpl to prevent a null
pointer exception on remove
2015-09-10 11:23:27 +00:00
Dejan Bosanac 4ab55f13ae https://issues.apache.org/jira/browse/AMQ-5960 - durable sub pendingQueueSize after force shutdown 2015-09-10 11:10:37 +02:00
Christopher L. Shannon (cshannon) 734fb7dda3 https://issues.apache.org/jira/browse/AMQ-5923
Adding metrics to track the pending message size for a queue and for
subscribers.  This is useful so that not only the pending count is
known but also the total message size left to consume. Also improving
the message size store tests as well.
2015-09-09 18:12:15 +00:00
Christopher L. Shannon (cshannon) b17cc37ef9 Fixing intermitent Karaf itest failure 2015-09-09 14:28:09 +00:00
Timothy Bish f58683ea07 https://issues.apache.org/jira/browse/AMQ-5959
Add check to avoid NPE
2015-09-08 10:03:23 -04:00
Timothy Bish ad00e1fe52 https://issues.apache.org/jira/browse/AMQ-5958
Update commons pool2 to latest release: 2.4.2 as of now.

This closes #139
2015-09-04 12:08:17 -04:00
Dejan Bosanac 73f9131a62 https://issues.apache.org/jira/browse/AMQ-5956 - improve CLI commands error handling 2015-09-04 15:52:23 +02:00
gtully c7b93d1232 https://issues.apache.org/jira/browse/AMQ-5953 - transaction broker, fix sync of xatransaction get with insert 2015-09-03 16:56:20 +01:00
Christopher L. Shannon (cshannon) 0f492f3b4b https://issues.apache.org/jira/browse/AMQ-5356
Migrated to Karaf 4.  This was required to support Jetty 9.2.x.
Fixed all OSGi unit tests.
2015-09-03 12:42:22 +00:00