Commit Graph

7601 Commits

Author SHA1 Message Date
gtully b7c430d068 https://issues.apache.org/jira/browse/AMQ-1063 - revert delayed change to inTx flag, now cleared before exception is thrown by getConnection, this ensures jms transactions can use autocommit=false 2013-12-09 17:02:32 +00:00
rajdavies 3797da64fc Fix for https://issues.apache.org/jira/browse/AMQ-4912 2013-12-09 16:59:26 +00:00
Christian Posta b21dc69e81 added time unit for "send timeout" in the javadocs 2013-12-09 09:14:38 -07:00
Timothy Bish d0f1dd6668 https://issues.apache.org/jira/browse/AMQ-4887
Update test case to show other broken scenarios.
2013-12-05 15:52:27 -05:00
Hiram Chirino 30f3a9b7f3 Default flushDelay on the replicated leveldb store did not have the correct default. 2013-12-05 13:38:52 -05:00
Hiram Chirino ed8e4eae8f Fixes https://issues.apache.org/jira/browse/AMQ-4923: Replicated LevelDB: Loss of broker Quorum fails to fully stop the master 2013-12-05 13:38:52 -05:00
Timothy Bish 044c2d98ff fix for: https://issues.apache.org/jira/browse/AMQ-4910 2013-12-05 12:01:44 -05:00
Hiram Chirino 3b5fa4bf89 Implementing a dirty stop method for the leveldb store that might come in handy for testing. 2013-12-05 09:24:10 -05:00
Kevin Earls 7cf5c240a2 Test to reproduce AMQ4920 2013-12-05 12:50:55 +01:00
Kevin Earls 8b06c44cc0 Added test to reproduce AMQ-4887 2013-12-05 10:45:38 +01:00
rajdavies 374cab9cd5 Fix for https://issues.apache.org/jira/browse/AMQ-4918 2013-12-05 08:55:56 +00:00
rajdavies 9b88902459 Fix for https://issues.apache.org/jira/browse/AMQ-4918 2013-12-04 20:14:07 +00:00
rajdavies 489f929686 Fix for https://issues.apache.org/jira/browse/AMQ-4918 2013-12-04 19:02:25 +00:00
Hiram Chirino 02ef9445dd Fixing bug where the DataByteArrayInputStream was not throwing EOFExceptions when reads were going past the end of the byte array.
This would make it harder to figure out when things went wrong.
2013-12-04 12:09:47 -05:00
Hiram Chirino 8378cb1ffc Fixing https://issues.apache.org/jira/browse/AMQ-4917 : LevelDB store can fail when using durable subs.
We were browsing durable sub entries which had been concurrently GCed causing leveldb store failures which then caused the broker to restart.
2013-12-04 12:09:47 -05:00
Timothy Bish 69e35d6c4a https://issues.apache.org/jira/browse/AMQ-4889
Improve the stream close logic in the init method to ensure we don't
leak and resources.
2013-12-04 11:09:28 -05:00
Timothy Bish 3a8ee81154 update ignore settings. 2013-12-04 10:00:41 -05:00
Rob Davies 07ec890372 Fix for https://issues.apache.org/jira/browse/AMQ-4916 2013-12-03 17:15:56 +00:00
Hiram Chirino 5fa462a08a Adding assertions to make sure that we only append to the log from the write thread. Found a code path that was appending to the log from a different thread. This might have been affecting https://issues.apache.org/jira/browse/AMQ-4882 2013-12-03 12:05:16 -05:00
Timothy Bish f0334862a2 Adds several test cases which show some JMS client issues, most are
resolved by moving on to v 0.26-SNAPSHOT
2013-12-02 15:14:11 -05:00
Hiram Chirino 61e13fa6ce Fixing regression caused by changes to SuppressRelyException in commit b0e91d47f5. 2013-12-02 12:29:21 -05:00
Kevin Earls cfeea7797d Test to reproduce AMQ-4914 with the failing part @Ignored for now 2013-12-02 17:52:30 +01:00
gtully b9f0783af5 ignore test pending investigation on new SuppressReply from http://git-wip-us.apache.org/repos/asf/activemq/commit/b0e91d47 2013-11-29 12:40:00 +00:00
gtully 06f24e2e0b https://issues.apache.org/jira/browse/AMQ-4907 - sanity check on the index when checkForCorruptJournalFiles - test and check that validates the orderindex makes sense 2013-11-28 21:14:24 +00:00
rajdavies 11781d3cf2 Added Fix and tests for https://issues.apache.org/jira/browse/AMQ-4906 2013-11-28 12:56:11 +00:00
Timothy Bish e3fed4b57a Add some methods for stoppng and restarting broker during tests. 2013-11-27 14:02:05 -05:00
gtully eead6e5110 https://issues.apache.org/jira/browse/AMQ-4905 - resolve by embedding spring xsd 2013-11-27 16:04:14 +00:00
gtully 7d98b32050 https://issues.apache.org/jira/browse/AMQ-4904 - ensure transports are not restarted without a store lock 2013-11-27 12:49:18 +00:00
Claus Ibsen 927be0ce7a AMQ-4903: AMQ Karaf should depend to http feature instead of jetty to support both Karaf 2.x and 3.x. Thanks to Jean for the patch. 2013-11-27 11:28:33 +01:00
Claus Ibsen a7f57b5407 Upgraded to Camel 2.12.2 2013-11-27 11:18:17 +01:00
Timothy Bish a6e306437e fix for: https://issues.apache.org/jira/browse/AMQ-4893 2013-11-25 14:48:38 -05:00
Hiram Chirino b0e91d47f5 Have the leveldb store thorw SuppressReplyExceptions instead of IOExceptions so that the clients retry try the operations instead of giving up. Also retry the problemantic getMessage() call which seems to fail at times. 2013-11-25 13:17:58 -05:00
Claus Ibsen 00cb9a5668 AMQ-4858: Moved scala source file from java to scala dir. Thanks to Jaromir Hamala for patch. 2013-11-22 11:25:08 +01:00
Claus Ibsen c0090f6f0c AMQ-4885: Renamed some API methods in MessageStore due typos. 2013-11-22 11:21:42 +01:00
Claus Ibsen 25f4e874eb Polished 2013-11-22 11:01:35 +01:00
Claus Ibsen a3e3d487a3 AMQ-4856: Use application/xml as content-type in web servlet. Thanks to Fernando Ribeiro for the patch. 2013-11-22 10:53:07 +01:00
Claus Ibsen 898abca028 Upgraded to hawtio 1.2.0 GA 2013-11-20 23:07:04 +01:00
Dejan Bosanac bc1ca6c8cf https://issues.apache.org/jira/browse/AMQ-4897 - race condition in failover transport 2013-11-19 12:41:10 +01:00
Hiram Chirino bc4f4e92a6 Fixes AMQ-4896 - MQTT does not properly restore durable subs with the Paho client. 2013-11-18 12:11:34 -05:00
Hiram Chirino de58386607 Fixing som e typos. 2013-11-18 10:24:00 -05:00
gtully 511b60c6f6 https://issues.apache.org/jira/browse/AMQ-4485 - resolve - non transacitonal work interleaved with transactional work needs to check for and integrate with cursor update ordering. Key difference in latest test is 3/4 of messages getting produced via network connectors, hense not in transactions 2013-11-18 13:05:57 +00:00
Hiram Chirino 030c2cca31 Fixing AMQ-4892: MQTT clients disconnecting due to socket error do not publish the configured last will and testament message. 2013-11-15 15:51:15 -05:00
Kevin Earls a46db89b2a Added timeouts after seeing this hang a CI build. 2013-11-15 14:33:26 +01:00
gtully ff593bf3dd add debug logging for mkaha destination to persistence adapter mapping 2013-11-15 11:29:15 +00:00
Kevin Earls c60af64165 See AMQ-4886. Updated tearDown so it can't hang, reduced timeouts, updated to JUnit4 2013-11-14 15:55:04 +01:00
Kevin Earls e57aeb3786 Changed timeouts to 1 minute from 30 because of occasional long runs on CI boxes. None of these tests takes more than 5 seconds on my mac 2013-11-14 15:33:26 +01:00
rajdavies 0a67b12c64 Fix for https://issues.apache.org/jira/browse/AMQ-4884 2013-11-14 09:48:34 +00:00
rajdavies 291ec5ea17 Fix for https://issues.apache.org/jira/browse/AMQ-4884 2013-11-14 09:47:40 +00:00
Timothy Bish c55a666921 https://issues.apache.org/jira/browse/AMQ-4706
add setting warnAfterReconnectAttempts to FailoverTransport to log a
warning after every N retries.  A value of <= 0 will disable the
warnings.
2013-11-13 15:19:16 -05:00
rajdavies 7f639a6047 Fix for https://issues.apache.org/jira/browse/AMQ-4884 2013-11-13 18:50:57 +00:00