Commit Graph

10014 Commits

Author SHA1 Message Date
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
gtully c50dc6ff00 [AMQ-6693] ignore the long term connection associated with the broker context, fix and test 2017-06-01 12:00:04 +01:00
gtully d2c0eddaad [AMQ-6691] allow dlq flag to be set via jmx to allow retry op after a restart - use destinations element for long term persistence 2017-05-31 12:39:48 +01:00
gtully 8023b9ee44 [AMQ-6690] do nothing for move/copy jmx ops that try to modify self 2017-05-31 11:26:46 +01:00
Clebert Suconic 44b5d0be65 [AMQ-6689] placeholder for new logo submissions 2017-05-30 14:41:51 -04:00
gtully f4c11f73bb [AMQ-6688] catch throwable on add task such that result error result is not lost on failed async send, fix and test 2017-05-29 17:14:05 +01:00
gtully 00ee9491d9 [AMQ-6678] sync destructive purge on queue view mbean (jmx) to prevent concurrent calls 2017-05-29 11:21:00 +01:00
gtully 30d3162982 [no jira] tidy up test teardown - prevent subsequent ci failures in error 2017-05-26 11:49:04 +01:00
gtully 25f112c5c9 [AMQ-6687] ensure transacted sends blocked on pfc do not resume after tx completion. AMQ-4467 refine the fix such that PFC kicks in such that the cache will accept messsages that push it over it's limit while it is still under the limit 2017-05-25 12:43:08 +01:00
Christopher L. Shannon (cshannon) 04b60cb188 AMQ-6664 - Adding missing header tag to JSP files
Also fixing JSP comments.  This fix is a follow on to
AMQ-6620
2017-05-24 16:22:23 -04:00
gtully 7cae60eae0 [AMQ-6684] exclude json cat-x transitive dep 2017-05-24 16:19:09 +01:00
Timothy Bish e69367fbc3 https://issues.apache.org/jira/browse/AMQ-6680
Fix handling of incoming MQTT binary data over WS.  The handler should
use the MQTTCodec to ensure that partial or packed frames are fully
processed
2017-05-22 12:27:16 -04:00
gtully acab282d9c [AMQ-6678] sync destructive queue view mbean (jmx) operations such that concurrent calls see consistent state 2017-05-18 12:37:54 +01:00
Timothy Bish 02353226c9 https://issues.apache.org/jira/browse/AMQ-6630
Update Qpid JMS to v0.23.0
2017-05-16 15:35:23 -04:00
Timothy Bish 0eb11bf0a1 https://issues.apache.org/jira/browse/AMQ-6676
Handle continuation frames on the test client WS transport.
2017-05-16 10:53:23 -04:00
Timothy Bish 88efa01e11 AMQ-6675 AMQP Test client can't accept bigger frames on WS
Need to configure the WS Handshaker in the test client's netty transport
with the same value given to the proton connection via setMaxFrameSize
so that incoming frames larger than the default 65535 over WS don't
trigger netty to fail the connection.
2017-05-11 18:33:38 -04:00
Timothy Bish 4f7c9ec811 AMQ-6674 Ensure timely shutdown of the connection executor
Don't wait for next idle check or other scheduled tasks to run before
shutdown can proceed.
2017-05-11 15:59:08 -04:00
Timothy Bish 154ff81eee AMQ-6673 Add some fixes and improvements to the AMQP test client
Adds some thread safety fixes and Netty usage fixes to the transport as
well as adding a traceBytes option to trace the bytes sent / received
during testing.
2017-05-11 15:01:16 -04:00
Timothy Bish fddbac2b8a AMQ-6672 Use a dynamic proxy to create unmodifiable types
Use a dynamic proxy instead of hand-crafted wrappers around proton
types to prevent access to mutating methods in tests that could
inadvertantly change the state outside the connection thread.
2017-05-11 13:14:39 -04:00
gtully eb1a3eb77b [AMQ-6670] - harden the test to avoid ci failure 2017-05-10 11:30:30 +01:00
Robert Gemmell 73e70299e6 AMQ-6623: update to proton-j 0.19.0 2017-05-08 12:42:51 +01:00
gtully 053c38f99f [AMQ-6670] - disable expiry processing that may page in and change the test 2017-05-08 11:53:55 +01:00
gtully 2518bded67 [AMQ-6670] - trap classcast and marshall errors on load message from journal such that errors are consistently propagated to the ioExceptionHandler 2017-05-05 15:43:09 +01:00
gtully ae97fbd52e fix cn to match jdk8 cert 2017-05-05 11:01:33 +01:00