Commit Graph

9937 Commits

Author SHA1 Message Date
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
Torsten Mielke a1e595c18f [AMQ-6700] Leak of ActiveMQ Connection Executor threads and ActiveMQConnection objects in JCA layer 2017-06-12 10:02:27 +02:00
Christopher L. Shannon (cshannon) a6782443c1 AMQ-6585 - Upgrade to Camel 2.18.4
Added the camel-blueprint feature to work with Spring 4.x as Spring DM
support for Camel was deprecated
2017-06-09 07:13:11 -04:00
Christopher L. Shannon (cshannon) 2a0b785a04 AMQ-6698 - Allow timeout of SSL handshake for auto+nio+ssl
The handshake now takes place inside of the async task that timesout so
that if the SSL handshake takes too long the connection attempt will
honor protocolDetectionTimeout and actually timeout.  Also, change the
default of protocolDetectionTimeout to 30 seconds so it matches the rest
of the broker's default connection timeout settings.
2017-06-08 12:34:15 -04:00
Martyn Taylor daeb70929e [NO-JIRA] Updated Logo Submissions 2017-06-07 11:09:44 +01:00
Clebert Suconic e64b216599 [NO-JIRA] Cleanup README on LOGO submissions 2017-06-06 16:10:31 -04:00
Clebert Suconic 2bb7e249f0 [NO-JIRA] Update Readme with current submissions links 2017-06-06 09:55:43 -04:00
Clebert Suconic 6069870e0c [AMQ-6689] Update README 2017-06-05 15:54:23 -04:00
Timothy Bish 8417ce537b AMQ-6697 Make the MBean explicitly final for java 7 support 2017-06-02 14:20:56 -04:00
Timothy Bish e83bb6dc38 AMQ-6697 Preserve dispatched state on client-individual tx ack
Need to preserve the messages in the dispatched list when a
client-individual ack comes in so that on abort the state remains
dispatched and the message can still be ack'd
2017-06-02 14:19:44 -04:00
Timothy Bish bd8661796b AMQ-6697 Adds a test to show that the described case works
Correctly ACK inside a TX and then Abort and then ACK again outside a TX
to show that the broker will then mark the message as consumed.
2017-06-02 11:50:14 -04:00
gtully 7413ee00e1 [AMQ-6696] zero out usage for forwarded messages such that the original target is no longer referenced. fix and test 2017-06-02 12:23:58 +01:00