Commit Graph

7740 Commits

Author SHA1 Message Date
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
rajdavies 2a6aab40b4 Added testcase for https://issues.apache.org/jira/browse/AMQ-4884 2013-11-13 18:50:56 +00:00
Claus Ibsen 99278dfb9c AMQ-3922: hssqldb adapter should use BLOB as its binary data type. 2013-11-13 18:06:36 +01:00
Claus Ibsen bd414b70f7 AMQ-3101: Removed start from bin\activemq.bat so windows users need to start the broker like on unix. 2013-11-13 17:53:08 +01:00
Claus Ibsen 13ba3008d4 AMQ-4883: Remove not needed repo. proton is in maven central. 2013-11-13 17:19:06 +01:00
Timothy Bish 5e5458ec38 https://issues.apache.org/jira/browse/AMQ-3388
ignore unknown fields in openwire commands to allow interop between
openwire versions.
2013-11-13 10:36:53 -05:00
Claus Ibsen 6ed8f43d8d AMQ-2505: Sanitize hostname in Id generator to only include ascii chars as otherwise this can cause problems in openwire protocol. 2013-11-13 16:37:49 +01:00
Claus Ibsen e1a363f96e AMQ-3580: Added unit test 2013-11-13 15:15:42 +01:00
Claus Ibsen a7895ae34e Some dependency upgrades 2013-11-13 13:01:37 +01:00
Claus Ibsen b977f24c79 AMQ-4881: Upgrade to xbean 3.15. But keep the activemq-spring maven plugin at 3.12 as otherwise the generated schema is changed. See JIRA ticket for details. 2013-11-13 12:39:32 +01:00
gtully 2fd52c9dcf https://issues.apache.org/jira/browse/AMQ-4682 - add removal modification test 2013-11-12 16:50:05 +00:00
Hiram Chirino 02a821defe Improve the Paho over NIO tests, allow scaling the test using a -DPahoMQTNioTTest.CLIENTS=xxxx mvn build arg. 2013-11-12 10:55:51 -05:00