Commit Graph

2897 Commits

Author SHA1 Message Date
Robert Davies e225ba622c optionally replay messages on the fault tolerant transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631244 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 15:00:37 +00:00
Robert Davies 25b6812daa Added network and fault tolerant flags to ConnectionContext
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631241 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:56:31 +00:00
Robert Davies 33724ec1c3 removed tmp destination tests - the check is done client side now
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631240 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:55:45 +00:00
Robert Davies cd24f8099f Introduced AbstractTempRegion - to cater for temp destination
usage on  failover

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631237 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:50:43 +00:00
Robert Davies 16b4009348 added additional logging around ClassNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@631227 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:34:40 +00:00
Hiram R. Chirino 230255a479 https://issues.apache.org/activemq/browse/AMQ-1595
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@630253 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 17:03:39 +00:00
Robert Davies b34f730231 expose some methods to make it easier to test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@630136 13f79535-47bb-0310-9956-ffa450edef68
2008-02-22 10:05:33 +00:00
Hiram R. Chirino 3d33c0e51a Fixing bug with qdox.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@630050 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 23:42:00 +00:00
Hiram R. Chirino b141d21dce Gaurd against too many read checks happening back to back.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629859 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 16:39:16 +00:00
Robert Davies 204f6d8385 have backup off by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629725 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 09:10:27 +00:00
Robert Davies 2a153b085f Fix for https://issues.apache.org/activemq/browse/AMQ-1560
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629713 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 08:13:08 +00:00
Hiram R. Chirino 60c260582d Fix for https://issues.apache.org/activemq/browse/AMQ-1591
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629639 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 22:24:18 +00:00
Robert Davies 34c530c39b removed unused imports
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629636 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 22:19:31 +00:00
Hiram R. Chirino e0bdc012c1 Fix for https://issues.apache.org/activemq/browse/AMQ-1591
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629631 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 22:05:02 +00:00
Robert Davies bca91bb068 check for null byte passed as parameter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629623 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 21:47:18 +00:00
Robert Davies 4e3e8c4add updated properties
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629405 13f79535-47bb-0310-9956-ffa450edef68
2008-02-20 10:12:47 +00:00
Adrian T. Co 13af1e36fb - Fix for https://issues.apache.org/activemq/browse/AMQ-1576 (behavior is that if a jms property is null, it will not be converted, but will still be added to the default list of properties)
- Fix a spelling typo


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629060 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 10:46:13 +00:00
Robert Davies 8768a04e63 doDispatch():
only apply message to least loaded if target subscription not 
already found

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@629007 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 07:21:50 +00:00
Adrian T. Co 40950bc4b8 https://issues.apache.org/activemq/browse/AMQ-1580
- Check for 0 length buffer when receiving byte messages
- Don't send an empty byte message if there is no data to flush
- Added test case from AMQQ-1580

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628988 13f79535-47bb-0310-9956-ffa450edef68
2008-02-19 04:37:55 +00:00
Robert Davies 900c9af498 When recovering durable subscriptions - ensure they are recovered only once
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628778 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 15:13:12 +00:00
Adrian T. Co 4a8ade0fae Fix typo: https://issues.apache.org/activemq/browse/AMQ-1565
Added explicit version for maven-antrun-plugin

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628764 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 14:52:56 +00:00
Robert Davies 91a0542315 Fix for https://issues.apache.org/activemq/browse/AMQ-1506
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628711 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 13:00:44 +00:00
Robert Davies 213c3ae379 Apply patch for https://issues.apache.org/activemq/browse/AMQ-1584
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628710 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 12:55:51 +00:00
Robert Davies 2747573f66 Fix for https://issues.apache.org/activemq/browse/AMQ-1583
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628708 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 12:50:38 +00:00
Robert Davies d4382e483b Change Queue dispatch model to reduce contention for lots of
consumers

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628667 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 09:38:10 +00:00
Robert Davies edd35d4b13 Added a TaksRunner that always executes iterate - even if its already running
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628665 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 09:36:39 +00:00
Robert Davies 8250a3c4b2 Fix some timing issues with test cases
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628664 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 09:35:37 +00:00
Robert Davies 7882eb7968 Fix some timing issues with test cases
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628663 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 09:32:57 +00:00
Robert Davies bbbe0ba4a2 applied patch from https://issues.apache.org/activemq/browse/AMQ-1513
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@627823 13f79535-47bb-0310-9956-ffa450edef68
2008-02-14 18:21:55 +00:00
Robert Davies da46fffc54 removed unused property
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@620760 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 11:11:05 +00:00
Robert Davies be6376373f Utility class for messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@620738 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 10:04:36 +00:00
Robert Davies f94406aae6 calculate message size even if the minimumMessageSize == 0
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@620500 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 14:59:56 +00:00
Robert Davies 5460b7bb47 remove patch comment
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619789 13f79535-47bb-0310-9956-ffa450edef68
2008-02-08 07:24:26 +00:00
Robert Davies 24fea9368c iterate() now returns false after every run to prevent spinning
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619652 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 21:42:56 +00:00
Hiram R. Chirino 939a3160f3 Handle the OverlappingFileLockException that could occur.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619511 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 17:13:03 +00:00
Robert Davies 52ca2de3f0 remove shutdown hook
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619391 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 12:58:46 +00:00
Robert Davies 6f66aa0eea can't determine order messages will arrive in for separate queues
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619390 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 12:57:52 +00:00
Robert Davies ac0a88f44d slave deletes all messages on startup now
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619388 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 12:56:12 +00:00
Robert Davies 6d0c552c8a cursor fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619387 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 12:55:02 +00:00
Robert Davies 1a6cbfa651 fix for https://issues.apache.org/activemq/browse/AMQ-1446
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619347 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 10:15:54 +00:00
Robert Davies 6c52d28985 Fix for:
https://issues.apache.org/activemq/browse/AMQ-1116
https://issues.apache.org/activemq/browse/AMQ-1575
https://issues.apache.org/activemq/browse/AMQ-1577
https://issues.apache.org/activemq/browse/AMQ-1581

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619336 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 09:51:19 +00:00
James Strachan cada61f3ca Use a larger send batch by default on the sample
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619078 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 17:22:16 +00:00
James Strachan 77f6790005 Use a larger send batch by default on the sample
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619005 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 14:51:58 +00:00
Hiram R. Chirino 527bd15a5a - Clients do not shutdown due to non-daemon threads hanging around.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@619004 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 14:48:42 +00:00
Robert Davies 149428b5bc Reduce contention on the AMQ Store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@618981 13f79535-47bb-0310-9956-ffa450edef68
2008-02-06 12:23:41 +00:00
Robert Davies 65beee6895 comment out send first then consume
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@618817 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 23:08:01 +00:00
Robert Davies fdd977aab8 return a lock for the store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@618774 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 20:52:10 +00:00
Robert Davies f81d0d59d3 lock dispatching (again) whilst adding a consumer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@618689 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 16:20:11 +00:00
Robert Davies ecc87ea672 add isConnected() flag to a Transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@618656 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 14:06:43 +00:00
Robert Davies c128634fa6 copy message before resend
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@618655 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 14:05:46 +00:00