Commit Graph

2685 Commits

Author SHA1 Message Date
Robert Davies b2969d05a9 tidy up comments
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@589330 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 10:54:35 +00:00
Robert Davies c8761c7e0f Fix for https://issues.apache.org/activemq/browse/AMQ-1479
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@589314 13f79535-47bb-0310-9956-ffa450edef68
2007-10-28 09:39:12 +00:00
Robert Davies 9352c9fcdc Test case for: https://issues.apache.org/activemq/browse/AMQ-1479
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@589048 13f79535-47bb-0310-9956-ffa450edef68
2007-10-27 04:14:35 +00:00
Hiram R. Chirino 582f3401fa The caching of the prepared statement for updating the last ack was wrong.
Reported at http://www.nabble.com/Is-this-a-bug-in-DefaultJDBCAdapter.java--tf1890445s2354.html#a5170127


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@588767 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 20:20:25 +00:00
Hiram R. Chirino 0e7162509d fix bad cast
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@588731 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 18:16:17 +00:00
Hiram R. Chirino 3a4a360d3f Avoid deleting datafiles that are in-use.. timing issue was making this possible
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@588725 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 18:00:14 +00:00
Hiram R. Chirino 6084b6061b MarshallingSupport.unmarshalPrimitive is throwing "Unknown primitive type: 0" when nested map contains a null
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@588718 13f79535-47bb-0310-9956-ffa450edef68
2007-10-26 17:32:19 +00:00
Hiram R. Chirino ceec57aa0d Removed synchronizations on all the processXXX() methods to avoid getting into situations where deadlocks occur.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@588260 13f79535-47bb-0310-9956-ffa450edef68
2007-10-25 15:43:34 +00:00
Hiram R. Chirino 43b808d158 Cleanup the leaky abstraction of the DiscoveryAgent. see:
https://issues.apache.org/activemq/browse/AMQ-1477


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587927 13f79535-47bb-0310-9956-ffa450edef68
2007-10-24 16:53:46 +00:00
Hiram R. Chirino 1c1ed4d953 allow any setter to be called
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587618 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 19:11:34 +00:00
Hiram R. Chirino 230a57b155 https://issues.apache.org/activemq/browse/AMQ-1268
Test case regression was fixed.. enabling test again


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587509 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 13:58:59 +00:00
Hiram R. Chirino 0570c00e37 Applied patch: https://issues.apache.org/activemq/browse/AMQ-1238
- Allows java service wrapper start script to work on Debian sarge


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587507 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 13:52:21 +00:00
Hiram R. Chirino 82d1c91b3f Fix for https://issues.apache.org/activemq/browse/AMQ-796
- The threads associated with the session are now setup to be non-daemon so that if you 
   setup a MessageListener and let the main thread exit, your program will not terminate
   if there are no active transport threads which is the case when the failover transport
   is in the middle of reconnecting to a broker.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587504 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 13:36:15 +00:00
Robert Davies 569e5ca78c synchronize doMessageSend() to ensure messages are stored and dispatched
in the right order

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587396 13f79535-47bb-0310-9956-ffa450edef68
2007-10-23 05:38:36 +00:00
Hiram R. Chirino d3d58fe41d Test case and Fix for https://issues.apache.org/activemq/browse/AMQ-777
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587216 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 19:37:01 +00:00
Hiram R. Chirino 6bb7fba3c5 Avoid deadlock described at: https://issues.apache.org/activemq/browse/AMQ-1468
Synchronization not really required once the transport errors out..


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587198 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 19:01:16 +00:00
Hiram R. Chirino 328229b42b Fixed the test cases in FanoutTransportBrokerTest also added a fanOutQueues property to enabled fanning out on
Queues.  See issue: https://issues.apache.org/activemq/browse/AMQ-1464


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587188 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 18:39:57 +00:00
Robert Davies 565588c13d check for message order
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587091 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 13:45:12 +00:00
Robert Davies 13fc99769f remove System messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587051 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 10:10:40 +00:00
Robert Davies 36486fe5b4 Fix for https://issues.apache.org/activemq/browse/AMQ-1449
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@587033 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 08:38:22 +00:00
Robert Davies 99966f58e7 fix for https://issues.apache.org/activemq/browse/AMQ-1467
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@586581 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 19:07:19 +00:00
Robert Davies 1ee00173d6 Fix for https://issues.apache.org/activemq/browse/AMQ-1452 and
https://issues.apache.org/activemq/browse/AMQ-729

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@586580 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 19:01:10 +00:00
Hiram R. Chirino 4f8a1e6d6b Reduced the amount of time that the synchronizations are held to avoid deadlocks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@586460 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 13:56:37 +00:00
James Strachan 00ee64f076 upgraded to 1.2.0 release of camel
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@586402 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 12:32:51 +00:00
Jonas B. Lim 1ea24bff37 applied patch for AMQ-1440 and AMQ-1439
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@586251 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 03:54:45 +00:00
Hiram R. Chirino fe8bc3317c The VM transport could deadlock between the iterate() method and the oneway() method when the async message buffer used by the transport fills up. Change the synchronization logic to make use the a Valve to avoid needing to lock mutexes for so long.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@586185 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 00:00:45 +00:00
Robert Davies 49325b60cd Check for duplicates
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@586025 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 16:22:07 +00:00
Robert Davies 2cb2119814 fix for https://issues.apache.org/activemq/browse/AMQ-1467
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585967 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 14:08:44 +00:00
Jonas B. Lim c513c859ac updates for https://issues.apache.org/activemq/browse/AMQ-1358
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585905 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 09:09:12 +00:00
Robert Davies 393a861e89 updated for https://issues.apache.org/activemq/browse/AMQ-1251
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585853 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 04:10:37 +00:00
Robert Davies 64bec6b133 Test case for https://issues.apache.org/activemq/browse/AMQ-1202
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585843 13f79535-47bb-0310-9956-ffa450edef68
2007-10-18 03:53:45 +00:00
Jonas B. Lim 89f793efb0 updates for https://issues.apache.org/activemq/browse/AMQ-1311
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585413 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 08:47:38 +00:00
Robert Davies 898adccae3 update to show producerFlowControl and memoryLimit is configurable
on a Destination basis via destination policies

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585377 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 05:07:03 +00:00
Robert Davies 0da68b4cb3 Make producerFlowControl configurable per Destination
default=true

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585375 13f79535-47bb-0310-9956-ffa450edef68
2007-10-17 05:05:50 +00:00
Robert Davies 4c137cd2bc don't wait for ever to stop
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585215 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 18:25:17 +00:00
Hiram R. Chirino 9da7e31a33 Updated the flow control logic for the Topic case to match what we are using for the Queue case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585187 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 16:22:08 +00:00
Robert Davies 8931aac98e no need to call force() on commit as the reference store gets rebuilt on failure
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585109 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 10:53:51 +00:00
Robert Davies cb234b32d3 change number of messages -was hanging waiting space
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585047 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 05:46:18 +00:00
Robert Davies e16b7dbf16 updated to take account of new System Usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@585040 13f79535-47bb-0310-9956-ffa450edef68
2007-10-16 05:01:31 +00:00
Robert Davies fe9bd4f594 fix for npe
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@584929 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 21:36:37 +00:00
Robert Davies 1722001748 fix data logs not being correctly removed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@584863 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 19:31:22 +00:00
Robert Davies c5f251ceab implement acknowledgeReference() for TopicReferenceStore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@584862 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 19:29:59 +00:00
Hiram R. Chirino 487e694152 Fix for a failover transport deadlock that could occur if the transport is stopped at the same time a failure occurs.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@584800 13f79535-47bb-0310-9956-ffa450edef68
2007-10-15 14:50:09 +00:00
Robert Davies 67e5952dd1 Applied patch associated with:
https://issues.apache.org/activemq/browse/AMQ-358

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@584047 13f79535-47bb-0310-9956-ffa450edef68
2007-10-12 05:27:03 +00:00
Robert Davies cdf35dfe12 Expose properties for configuring the asyncDataManager
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583949 13f79535-47bb-0310-9956-ffa450edef68
2007-10-11 20:58:25 +00:00
Robert Davies a9119eca19 Fix for NPE in duplex network connection
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583595 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 19:53:07 +00:00
Robert Davies 5ac6f3a890 removed System.out
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583571 13f79535-47bb-0310-9956-ffa450edef68
2007-10-10 18:28:53 +00:00
Robert Davies b2f7ba79db add some more useful methods
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583237 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 17:45:54 +00:00
James Strachan 2d5a099074 include the STAX API jars in the distro
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583188 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 15:14:20 +00:00
James Strachan 5dcf9cf6b9 added a plugin to support invocation of MessageListener classes as a bean in Camel; for more information see: http://cwiki.apache.org/CAMEL/activemq.html
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583185 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 14:44:50 +00:00