Commit Graph

9998 Commits

Author SHA1 Message Date
Christopher L. Shannon (cshannon) 01f6aeb012 AMQ-6811 - fix reduceMemoryFootprint when no message body
ReduceMemoryFootprint will now properly detect that a message is
marshalled even if there is no message body so the headers can be
cleared out after message send

(cherry picked from commit f82993d9c2)
2017-09-15 10:12:43 -04:00
Erik Wramner e1699d58c8 AMQ-6808 preserve destination for browsed scheduled messages
(cherry picked from commit c691124d32)
2017-09-15 09:03:58 -04:00
gtully d894d570d4 [AMQ-6277] take account of producer audit not being updatated on recovery check, avoid unnecessary partial journal replay
(cherry picked from commit a359d8152c)
2017-09-15 09:03:47 -04:00
Dejan Bosanac 9387451412 https://issues.apache.org/jira/browse/AMQ-6799 - stop the jmx server connector properly
(cherry picked from commit 5e656d394c)
2017-09-07 12:14:45 -04:00
Dejan Bosanac ccf8dbe28b https://issues.apache.org/jira/browse/AMQ-6799 - IOExceptionHandler during the startup
(cherry picked from commit c7291f1ecf)
2017-09-07 12:14:35 -04:00
gtully 0924f983f8 [AMQ-6792] fire the failover exception handler before stop to ensure blocked write does not block stop request
(cherry picked from commit 63f0b7e20d)
2017-09-07 12:14:23 -04:00
gtully f7185b992e [AMQ-6643][AMQ-5594] fix test regression to reflect match strategy
(cherry picked from commit 068b7946ce)
2017-09-07 12:14:08 -04:00
Christian Schneider d5dfadd8d0 [AMQ-6788] Explain how to fix the problem in the exception
(cherry picked from commit 8646bb1010)
2017-09-07 12:13:55 -04:00
gtully 3b6ba778bd [AMQ-6643] refine fix to allow wildcard subs to non wildcard subscription queues, enable simple wildcard sub to drain all subscription queues
(cherry picked from commit a67c75a9e1)
2017-09-07 12:13:40 -04:00
gtully 035baf1722 [AMQ-6787] release securty context on failure to addConnection subsequent to auth, resolve leak. fix and test
(cherry picked from commit a15626193c)
2017-09-07 12:13:29 -04:00
gtully 199f25ed93 [AMQ-6778] - fix test regression that needs to account for presence of correct advisory dests
(cherry picked from commit 206f77adac)
2017-09-07 12:11:10 -04:00
gtully 1bba73dcb6 [AMQ-6778] fix and test - no longer gate firing advisory on broker start flag b/c consumers may be present once transport connectors have started
(cherry picked from commit ddfa96028c)
2017-09-07 12:10:55 -04:00
gtully a023c7a3e4 [AMQ-6771] fix off by one on input stream read long check, with test
(cherry picked from commit 3cd5529f50)
2017-09-07 12:10:44 -04:00
gtully ba5e814667 [AMQ-6771] do linear sequential scan of journal when validating checksums - remove batch reads via seek/read which depend on write batch size
(cherry picked from commit 8c218ee05d)
2017-09-07 12:10:20 -04:00
Timothy Bish 7a2c4eecb2 AMQ-6765 Add trace logging of start failure exception
Log the exception at trace level when start fails.

(cherry picked from commit 56bed30c64)
2017-09-07 12:10:08 -04:00
gtully 7ab743a053 [AMQ-6764] add logging of exit of jmx ops such that overlaps and delays are visible in the audit. fix and test
(cherry picked from commit d7f70837b7)
2017-09-07 12:09:56 -04:00
gtully cb62fd8388 [no jira] make networkConsumerIds visible in toString of consumerinfo to aid tracing consumers in a network via transport trace logging
(cherry picked from commit 499347542c)
2017-09-07 12:08:15 -04:00
gtully 51b428f49d [AMQ-4947] ensure index page file does not skip forcing metadata - size is important to the page file
(cherry picked from commit 42bf6e9061)
2017-09-06 13:49:07 -04:00
Timothy Bish d76b615ad0 AMQ-6804 Improve Transfer tag generation and pooling
Reduce GC overhead and improve tag generation for faster tag creation.
(cherry picked from commit ed395d1a85)
2017-09-06 13:28:53 -04:00
Robbie Gemmell ca86e2fbe6 AMQ-6801: ensure transport listener is set before tripping latch to indicate startup is occuring
(cherry picked from commit 2e492569db)
2017-09-01 13:02:39 +01:00
Christopher L. Shannon (cshannon) eca72dc81a AMQ-6798 - Clean up store usage object on Queue stop
When queues are stopped the StoreUsage object needs to be stopped so it
will be removed from the parent StoreUsage.  This allows the object to
be garbage collected and prevents a memory leak.

(cherry picked from commit 35bd3ad938)
2017-08-24 09:25:13 -04:00
Timothy Bish 8e9f80e7d6 AMQ-6796 Avoid double Ack on commit in STOMP individual ack mode
During commit of transaction when subscription mode is individual ack
the messages can get double acked leading to an error about receipt of
an invalid ack.
(cherry picked from commit 4c986d102c)
2017-08-23 12:21:30 -04:00
Timothy Bish eabfa451dc AMQ-6790 Update to latest Qpid JMS and Qpid Proton versions
Moves to Qpid JMS 0.24.0 and Qpid Proton-J 0.20.0
(cherry picked from commit 267fe73898)
2017-08-08 13:40:35 -04:00
Claus Ibsen ae66f964ec AMQ-6694: Not possible to autowire connectionFactory in Spring Boot using SB starter 2017-07-22 16:22:08 +02:00
Christopher L. Shannon (cshannon) e7956b527d NO-JIRA: Incrementing version to 5.15.1-SNAPSHOT 2017-06-27 13:52:45 -04:00
Christopher L. Shannon (cshannon) 5f0d6943cb [maven-release-plugin] prepare release activemq-5.15.0 2017-06-27 13:41:01 -04:00
Christopher L. Shannon (cshannon) 4b8cd46a00 NO-JIRA: Adding missing license header 2017-06-27 13:34:09 -04:00
Christopher L. Shannon (cshannon) 13ed4b64e8 NO-JIRA: Adding spring schemas 2017-06-27 13:32:49 -04:00
Christopher L. Shannon (cshannon) 480f1bb6cc AMQ-6704 - updating xstream and slf4j 2017-06-26 11:00:02 -04:00
Christopher L. Shannon (cshannon) 619f51740b AMQ-6704 - update javase javadoc url to java 8 2017-06-26 08:25:29 -04:00
Christopher L. Shannon (cshannon) 76a4d0610b AMQ-6704 - update Jackson to latest bug fix release 2017-06-26 08:21:19 -04:00
Christopher L. Shannon (cshannon) ab1bc5b549 AMQ-6681, AMQ-6704 - Update karaf and aries-blueprint-core 2017-06-24 09:50:58 -04:00
Christopher L. Shannon (cshannon) b3dff48a0a AMQ-5932 - removing all traces of Spring DM
Spring DM is not longer needed anymore after the upgrade to Camel 2.19.x
as everything is using Blueprint
2017-06-24 08:59:45 -04:00
Christopher L. Shannon (cshannon) 2311749aa2 AMQ-6706 - Protecting preShutdownHooks with an AtomicBoolean 2017-06-20 11:05:29 -04:00
Christopher L. Shannon (cshannon) 3593afeebe Merge PR for AMQ-6706
This closes #254
2017-06-20 10:55:29 -04:00
Zoran Regvart 155461a0ba
AMQ-6706 Allow for hooks before broker stop occurs
When Camel is run embedded within ActiveMQ it's shutdown is called at
the point the broker is already stopped, this can lead to data loss as
there could be exchanges that have not ended.
This adds the ability to specify preStopHook(s) that can be invoked
during ActiveMQ shutdown but before the broker is shutdown.

With this Camel can gracefully shutdown while the broker is still
started.
2017-06-19 14:29:05 +02:00
Martyn Taylor 35f3df4e71 [NO-JIRA] Added Logo Submissions 2017-06-19 09:42:48 +01:00
gtully d70852eec8 [AMQ-6625] fix mock test expectation regression 2017-06-16 10:29:32 +01:00
Timothy Bish ce551cf97d NO-JIRA update the AMQP tests to use the client close timeout
Use the client built in close timeout instead of the executor which can
leave threads running and causes the tests to take much longer than
needed.
2017-06-15 17:13:32 -04:00
Timothy Bish 3fd37439f8 AMQ-6704 Update commons and http client libraries to latest
Update to latest bugfix releases of some commons and http-client
libraries
2017-06-15 15:35:17 -04:00
Timothy Bish d33acf8777 AMQ-6704 Update project to use latest Apache parent 18
Project updated to use apache parent v18
2017-06-15 13:48:27 -04:00
Christopher L. Shannon (cshannon) 6b9883f10f AMQ-6585 - update to Camel 2.19.1 2017-06-15 13:45:20 -04:00
gtully b07821ab64 [AMQ-6625] remove kahadbioexceptionhandler by pushing allowIOResumption into persistence adapter. This allows the lease locker to still be used with kahadb for stopStartConnectors support 2017-06-15 17:28:31 +01:00
Christopher L. Shannon (cshannon) bfbdd3c5ad AMQ-6704 - Update to latest Jetty 9.2.x release 2017-06-15 09:18:10 -04:00
Christopher L. Shannon (cshannon) 25583ad184 AMQ-6704 - Upgrade Spring to 4.3.9 2017-06-15 09:12:45 -04:00
gtully df3bd83c0d [AMQ-6703] check for enable audit false 2017-06-15 11:22:20 +01:00
gtully 99f3d4c505 [AMQ-6703] have jmx purge clear the audit such that messages can be copied back, fix and test 2017-06-15 10:46:23 +01:00
Timothy Bish 2490c85fc5 AMQ-6699 Fix STOMP over WS not encoding header values
When sending STOMP frames out over WS the marshal isn't doing a proper
encode based on the STOMP version in use and so header values can be
transmitted without proper escaping.
2017-06-14 15:15:09 -04:00
Christopher L. Shannon (cshannon) 395a48deea AMQ-6585 - Fixing ActiveMQ camel components for 2.18.x
The new version of Camel adds username and password to JmsComponent and
JmsConfiguration which interferes with the ActiveMQ version.  Fixing
ActiveMQComponent and ActiveMQConfiguration to use the inherited
properties now which fixes username/password unit tests.  Also fixed a
couple of other tests that had bad configuration.
2017-06-13 10:13:21 -04:00
gtully b6cb0eacea [AMQ-6702] add maxProducersToAudit and maxAuditDepth to dead letter strategy to cofigure the audit, fix and test 2017-06-13 14:26:15 +01:00