Commit Graph

9626 Commits

Author SHA1 Message Date
Christian Schneider a85689d73c [AMQ-6605] Properly specify the tag libs we use 2017-02-17 18:11:58 +01: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 f6bf823ded)
2017-02-17 08:05:27 -05:00
Christian Schneider 2d4b13be3f [AMQ-6597] Do not add the camel component decriptors to activemq-osgi 2017-02-15 14:26:27 +01: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
Christopher L. Shannon (cshannon) 3e66eccb55 https://issues.apache.org/jira/browse/AMQ-6595
Fixing tar permissions so that everything is 0755 or 0644 as it should
be

(cherry picked from commit 1d15908e71)
2017-02-08 13:18:26 -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 c5315d6d5e [AMQ-6571] use browsercompatspec cookie matcher - apply patch from Andrew Flegg with thanks
(cherry picked from commit 4f6c55ad67)
2017-02-06 09:13:15 -05:00
gtully 8af72c2157 [AMQ-6587] - fix typo in test that needs 1.7 final
(cherry picked from commit 64b3203713)
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 e415d2921e)
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 9b64e188b5)
2017-02-06 09:05:31 -05:00
gtully 3a848971ff [AMQ-6432] improve the logging to see the current offset
(cherry picked from commit e3b529129a)
2017-02-06 09:05:31 -05:00
Christian Schneider fb2063d177 [AMQ-6591] Add missing import 2017-02-02 14:25:45 +01:00
Christopher L. Shannon (cshannon) cc28f5dc39 https://issues.apache.org/jira/browse/AMQ-6590
Removing un-needed imports

(cherry picked from commit 83511c96e5)
2017-02-02 07:10:38 -05:00
Christopher L. Shannon (cshannon) 6a87e13eb3 https://issues.apache.org/jira/browse/AMQ-6590
Fix KahaDB index free page recovery on unclean shutdown so that existing
free pages will be tracked and not lost.

(cherry picked from commit 38d85be476)
2017-02-02 07:07:41 -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) cd82533f35 https://issues.apache.org/jira/browse/AMQ-6586
Merge branch 'AMQ-6586' into activemq-5.14.x

This closes #225
2017-01-31 15:34:54 -05:00
Krzysztof Sobkowiak 659d1f6ba5 [AMQ-6586] Compilation of activemq-unit-test fails 2017-01-31 20:36:13 +01:00
Christian Schneider 776418bae6 [AMQ-6584] Remove spring-aspects as it works with just the range fix 2017-01-30 15:31:37 +01:00
Christian Schneider cd144e803b [AMQ-6584] Fix feature to make it work for karaf 4.1.0 2017-01-30 15:31:32 +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 d0c95146c3)
2017-01-25 11:18:19 -05:00
Krzysztof Sobkowiak a579023e78 [AMQ-6576] Problem while installing activemq-camel with Camel 2.17.x or 2.18.x
(cherry picked from commit 6534a83c40)
2017-01-25 07:38:36 -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) f947a74f4a https://issues.apache.org/jira/browse/AMQ-6572
On journal start use lastFileLength instead of maxFileLength when
checking for unused space in the last journal file as it is possible the
length of the last journal file is not the same length as maxFileLength

(cherry picked from commit 0ad62f722f)
2017-01-23 11:04:49 -05:00
Timothy Bish cab6f73c9d https://issues.apache.org/jira/browse/AMQ-6563
ensure that the lock is always released in the load method.
(cherry picked from commit 281d600ae2)
2017-01-13 11:49:03 -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
Timothy Bish 71f51dc4c9 Clean up connection resources on failed connect.
(cherry picked from commit 8a34ca0ec7)
2016-12-21 17:19:37 -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) 4b599c23ba NO-JIRA: Adding 5.14.3 schemas
(cherry picked from commit 04626d807e)
2016-12-19 10:17:28 -05:00
Christian Schneider 3998cd6367 [AMQ-6544] Create spring.schemas with schemas of activemq and spring
(cherry picked from commit 50dae26788)
2016-12-19 09:21:09 -05:00
Christopher L. Shannon (cshannon) fc3897af67 https://issues.apache.org/jira/browse/AMQ-6545
Fixing the order of locks acquired in the KahaDB journal to prevent a
deadlock during file rotation

(cherry picked from commit 5fd63a0e4e)
2016-12-16 13:48:28 -05:00
Daniel Kulp 1c625e116e Add upcoming 5.13.5 release to spring schemas 2016-12-16 13:01:48 -05:00
Timothy Bish 31a79ea584 https://issues.apache.org/jira/browse/AMQ-6536
Add support for the receiver side of a sender link which carries a
desired capabilities array which can request to know if we support
delayed delivery, answer with an offered capability in that case.
(cherry picked from commit 4a1c05b628)
2016-12-13 12:37:50 -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
Christopher L. Shannon (cshannon) 80b5fdcf2f https://issues.apache.org/jira/browse/AMQ-6521
Fixing support for Jetty 9.3 and Jetty 9.2.  The previous attempt at a
fix had the wrong class instance.

(cherry picked from commit 29b4db5c34)
2016-12-09 09:47:59 -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
Christopher L. Shannon (cshannon) 973cb4ce52 NO-JIRA: Adding 5.14.2 schema
(cherry picked from commit fa55316b65)
2016-12-05 09:05:46 -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
gtully 89209d320c [AMQ-6522] - remove hardcoded 32k batch limit from recovery check of the journal, fix and test
(cherry picked from commit dad629e889)
2016-12-05 08:45:20 -05:00
Christopher L. Shannon (cshannon) 3542657541 https://issues.apache.org/jira/browse/AMQ-6524
Fixing a thread safety issue with memoryUsage when using concurrentStoreAndDispatch
that was causing memory usage to get out of sync.

The InnerFutureTask class inside KahaDB was not thread safe which was
the root cause of the problem.

(cherry picked from commit 0f0bdb21ef)
2016-12-05 07:12:59 -05:00
Christopher L. Shannon (cshannon) 4cdd188ef2 https://issues.apache.org/jira/browse/AMQ-6521
Adding support for Jetty 9.3 by re-adding in the logic to dynamically
load the correct GzipHandler depending on the version

(cherry picked from commit 80f46a8056)
2016-11-29 11:39:17 -05:00
Christopher L. Shannon (cshannon) a50979e308 https://issues.apache.org/jira/browse/AMQ-6491
Changing the WebSocket servlet to return a succesful empty response
instead of an error when a GET request is made

(cherry picked from commit f40532a23d)
2016-11-22 07:28:53 -05:00
Christian Schneider 1fc93660c6 [AMQ-6514] Upgrade xbean-blueprint to 4.2 to fix issue with placeholders 2016-11-22 13:16:46 +01: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 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