Commit Graph

8887 Commits

Author SHA1 Message Date
Clebert Suconic c5579ff73d https://issues.apache.org/jira/browse/AMQ-5558 change on producer / consumer - One session per thread
I'm backporting a change I have made into Artemis for this. Each thread should have its own JMS Session
2015-08-03 12:17:28 -04:00
Christopher L. Shannon b64b8ba27e https://issues.apache.org/jira/browse/AMQ-5896
Removing the dependency on the ExceptionUtils class in Apache Commons
as that dependency is only available at test time
2015-07-31 20:16:01 -04:00
Christopher L. Shannon (cshannon) 310c2bb059 https://issues.apache.org/jira/browse/AMQ-5857
Fixing a potential race condition in the storeContent
method of ActiveMQTextMessage
2015-07-31 18:32:02 +00:00
Christopher L. Shannon (cshannon) ac3d088647 https://issues.apache.org/jira/browse/AMQ-5896
Fixing a potential race condition with BrokerFacacdeSupport that could
cause an InstanceNotFoundException when getting a destination from
a RemoteJMXBrokerFacade instance
2015-07-31 11:56:40 +00:00
Timothy Bish b84413a314 https://issues.apache.org/jira/browse/AMQ-5907
recompute the timeout value and send a new pull request if the message
received exceeds the configure redelivery maximum.
2015-07-30 17:17:55 -04:00
Christopher L. Shannon (cshannon) 84ec047d2f https://issues.apache.org/jira/browse/AMQ-5857
Changing ActiveMQTextMessage to clear out the text field on marshal to
a ByteSequence to prevent the data from being stored in memory twice.
2015-07-30 16:59:05 +00:00
Jeff Genender de86f473f7 This closes #137
Fix for AMQ-5903 - thanks Heath and Paul
2015-07-29 18:27:47 -06:00
Heath Kesler 8f407a78dc AMQ-5903 - add patch that fixes the broker camel component to take all header values 2015-07-29 17:48:16 -06:00
gtully 0b86397784 add browseAsTable verification to offline durable sub mbean 2015-07-29 17:05:07 +01:00
gtully 4a603a9936 AMQ-5895 - apply patch with thanks to Anders Aaberg 2015-07-29 12:49:29 +01:00
Christopher L. Shannon (cshannon) 5684d093c0 https://issues.apache.org/jira/browse/AMQ-5875
Reworking DurableConduitBridge to look up subscriptions from the
TopicRegion  instead of the RegionBroker since inactive subscriptions
need to be looked at as well when dynamicOnly is false for a
network bridge.
2015-07-29 12:10:05 +01:00
Marc Schoechlin eb8723c1e9 renamed bin/diag to bin/activemq-diag
This prevents ambiguities in the unix PATH environment variable.
2015-07-25 17:43:07 +02:00
Marc Schoechlin 7d30b5ceda removed activemq-admin
This script provides redundant functionality to "bin/activemq" and its
broken because it uses the wrong environment configuration.
2015-07-25 17:40:28 +02:00
Marc Schoechlin 167c510331 changed permissions of "env" file
The previous permission of the  <activemq-install-dir>/bin/env file
(755) caused some problems on systems where the
<activemq-install-dir>/bin/ directory is part of the PATH variable.
The executable "env" is also available of all common unix platforms.
If <activemq-install-dir>/bin/ has precedence in the PATH environment
variable this causes lots of unexpected problems.
In future it would be a good idea to relocate the file to the
<activemq-install-dir>/conf directory.
2015-07-25 17:22:10 +02:00
Christian Posta f4f416a093 Added a test for browsing offline durable subscriber sub 2015-07-20 09:00:13 -07:00
gtully a439a0c6bf AMQ-5875 - rework the patch a bit to only call createDemandSubscription when we have a match to avoid trcking state in error via the bridge subscriptionMap* from configureDemandSubscription 2015-07-17 16:56:22 +01:00
Christopher L. Shannon (cshannon) 2117768e0a https://issues.apache.org/jira/browse/AMQ-5875
Fixing a regression that caused a network bridge to recreate durable
demand improperly.
2015-07-17 16:34:06 +01:00
gtully e0c2c177c2 give test more time, was teetering on the limit locally with some builds 2015-07-17 13:40:33 +01:00
gtully 7c116631b5 AMQ-5266 - fix leak in transaction context - completions were not cleared on close/commit 2015-07-17 12:31:29 +01:00
Timothy Bish b9b27b968b https://issues.apache.org/jira/browse/AMQ-5893
Ensure that unacknowledged messages are removed from the Audit so they
are able to be redelivered to another consumer on this connection
2015-07-16 10:46:11 -04:00
gtully b1ea29ed14 AMQ-5892 - remove default stack trace from service warn to debug level on async error; makes it consistent with transport logging 2015-07-16 15:18:23 +01:00
Robert Gemmell 0cfd225912 AMQ-5890: prevent NPE if Modified disposition is applied without the delivery-failed flag set, add some general tests of Modified handling
https://issues.apache.org/jira/browse/AMQ-5890
2015-07-16 12:46:24 +01:00
gtully c85c7c1472 AMQ-5400 - rework to remove static lock - impacted parallel delivery and hense performance. Fix and additional tet 2015-07-16 12:38:52 +01:00
gtully 2b5b890db9 AMQ-5888 add patch from GMURTHY with thanks - fix and test 2015-07-16 11:53:12 +01:00
gtully 59958ad269 https://issues.apache.org/jira/browse/AMQ-5552 - exclude two tests that show intermittent failures in ci 2015-07-14 11:03:01 +01:00
Dejan Bosanac da0d1168c1 add example of optimized mqtt deployment configuration 2015-07-13 15:09:15 +02:00
Dejan Bosanac ad8879d283 https://issues.apache.org/jira/browse/AMQ-5368 - improve nio ssl handshake performance - use soTimeout for handshake selector 2015-07-13 13:34:22 +02:00
Timothy Bish 18300c6514 https://issues.apache.org/jira/browse/AMQ-5621
Clean up, convert all to JUnit 4 style tests, replace system.out calls
with loggers.
2015-07-10 17:14:48 -04:00
Timothy Bish 39a1e04554 Ensure that the test has it's own data dir so it doesn't stumble into
the KahaDB store from some other test.
2015-07-10 09:38:22 -04:00
Timothy Bish ba1bd264d9 https://issues.apache.org/jira/browse/AMQ-5621
Clean up tests, remove hard coded ports, add test timeouts, move data
dirs into target so they get removed on clean.
2015-07-09 17:35:32 -04:00
Timothy Bish 257a79de07 https://issues.apache.org/jira/browse/AMQ-5621
Remove reliance on fixed ports.
2015-07-09 15:18:53 -04:00
Timothy Bish 21c3ba3582 https://issues.apache.org/jira/browse/AMQ-5621
Clean up some warning, remove System.out calls, remove references to
static ports.
2015-07-09 13:52:30 -04:00
Christopher L. Shannon (cshannon) f10aab6428 https://issues.apache.org/jira/browse/AMQ-5851
resolves #123

This commit resolves an issue where unmatched acknowledgement
messages could be received when running a MDB consumer and
sending messages with a short TTL.  The expiration logic when
receiveing an expired Message Ack will now only expire messages
in dispatch relating to the received ack, not all expired messages
in the dispatch list.
2015-07-09 16:46:21 +01:00
Timothy Bish c9c32e5dc9 Fix test failure in CI 2015-07-09 11:09:26 -04:00
gtully 0f4320d00f fix unchecked warn 2015-07-09 15:09:32 +01:00
gtully 21fb802260 redirecting console output from itest to file - more sanity when scrolling over build 2015-07-09 14:22:32 +01:00
gtully a05a9a2129 https://issues.apache.org/jira/browse/AMQ-5552 - added profile for activemq.tests=smoke to run a fast subset of tests that gives a fast verification of a full build 2015-07-09 14:10:38 +01:00
gtully c454fe31fc remove some unchecked warns 2015-07-09 14:08:05 +01:00
gtully 802e968f93 fix deprecated import warn 2015-07-09 13:39:33 +01:00
Dejan Bosanac 52e4527125 https://issues.apache.org/jira/browse/AMQ-5368 - improve nio ssl handshake performance 2015-07-09 12:53:58 +02:00
gtully 3985e7225f https://issues.apache.org/jira/browse/AMQ-5853 - fix cacheEnabled case - additional test and fix for both jdbc and kahadb stores 2015-07-09 10:30:54 +01:00
Timothy Bish 13044decce https://issues.apache.org/jira/browse/AMQ-5848
Use the latest openwire version marshallers in the KahaDB store when
starting from a clean install, drop back to the version used in the
existing store if one is found.
2015-07-08 17:29:32 -04:00
Timothy Bish b0952d8747 This closes #130 2015-07-08 17:18:17 -04:00
Christopher L. Shannon (cshannon) 73d1bcd7ac https://issues.apache.org/jira/browse/AMQ-5875
Resolves an issue when using mKahaDB that caused a MessageStore
being used by more than one destination to be deleted even though
there was still at least 1 other destination using the store.
2015-07-08 18:32:15 +00:00
Timothy Bish c853bcf436 This closes #129 2015-07-08 13:11:47 -04:00
Christopher L. Shannon (cshannon) 8871b0e496 https://issues.apache.org/jira/browse/AMQ-5748
Fixing an issue that prevented old versions of KahaDB from being
upgraded to the newest version 6
2015-07-08 16:10:11 +00:00
gtully e1c707e813 https://issues.apache.org/jira/browse/AMQ-5856 - fix typo that lead to recursive call - test regression in MQTTConnectTest 2015-07-08 12:18:05 +01:00
gtully 59cd018979 https://issues.apache.org/jira/browse/AMQ-5876 - refactor properties loading such that it can be reused by cert and props login modules. Both loading on start and refreshing if reload=true and lastMod indicates change 2015-07-08 12:07:04 +01:00
Timothy Bish 6f457d2f5c This closes #128 2015-07-07 19:03:42 -04:00
Christopher L. Shannon bd28c3b0ba https://issues.apache.org/jira/browse/AMQ-5748
Fixing a potential Null pointer exception in  MemoryMessageStore
2015-07-07 18:54:06 -04:00