Commit Graph

2850 Commits

Author SHA1 Message Date
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
James Strachan 810375af5f 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@583184 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 14:44:20 +00:00
James Strachan 48e8c053fc updated javadoc link
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583163 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 13:35:57 +00:00
James Strachan 27a6c0a301 updated the javadoc to be more clear about the camel support
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@583114 13f79535-47bb-0310-9956-ffa450edef68
2007-10-09 11:28:38 +00:00
Robert Davies b9d0972596 quick fix for npe
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582910 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 17:47:47 +00:00
Robert Davies 22fbb80daf make persistentIndex true by default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582839 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 15:10:19 +00:00
Robert Davies edb50cb4de set options on the discovery agent correctly from the URI
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582810 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 12:54:35 +00:00
Robert Davies d1eb18af70 Add properties to the AMQPersistenceAdaptorFactory
to set syncOnWrite(default=false) and persistentIndex(default=true) properties

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582801 13f79535-47bb-0310-9956-ffa450edef68
2007-10-08 12:39:48 +00:00
Robert Davies 1d487896b4 refresh entry for prev as well as next
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582575 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 05:10:28 +00:00
Robert Davies 84a116d2c7 Fix for https://issues.apache.org/activemq/browse/AMQ-1445
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582574 13f79535-47bb-0310-9956-ffa450edef68
2007-10-07 04:42:24 +00:00
Robert Davies e2ef8b8165 patch http://issues.apache.org/activemq/browse/AMQ-1444
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@582086 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 06:02:46 +00:00
Robert Davies f3d633c2a9 Test case for sending single messages per connection - was blowing memory - now fixed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581885 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 13:01:25 +00:00
Robert Davies 805a0cc506 the MESSAGE_SIZE_OVERHEAD was too low - increased it to a more realistic size
Please note - this is related to the overhead in broker memory - not 
the on-the-wire size - which is small

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581882 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 12:49:37 +00:00
Robert Davies 5f8c101973 By default, use no subscription recovery policy for temporary or advisory topics
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581881 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 12:48:02 +00:00
Robert Davies fc69b29343 handle errors from recovery check gracefully
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581792 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 08:00:39 +00:00
Robert Davies 3c1a8474f9 FilePendingMessageCursor was being added twice to the MemoryUsage
which resulted in a memory leak

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581784 13f79535-47bb-0310-9956-ffa450edef68
2007-10-04 06:18:49 +00:00
Hiram R. Chirino c256dcf9e8 Fix for https://issues.apache.org/activemq/browse/AMQ-1038
We now send REDELIVERY acks to the broker when a message is redelivered.  This allows the broker to update the message with the number of times redelivery has occured so that if the message is delivered to another consumer it can DQL the message when max redeliveries have occured across consumers.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581747 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 23:32:29 +00:00
Robert Davies 1401e69956 after canceling a TimerTask - purge from the Timer list - fix memory leak
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581736 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 21:55:40 +00:00
Robert Davies 7b1fd3484e Fix for http://issues.apache.org/activemq/browse/AMQ-1250
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581715 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 20:24:27 +00:00
Robert Davies 08841bbde3 fix memory leak in ActiveMQConnection - with asyncConnectionThread not being shutdown on a close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581683 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 18:50:03 +00:00
Robert Davies 5bd3bf6e24 Ignore NULL references when checking isEmpty
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581568 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 11:24:38 +00:00
Robert Davies 69a5e00843 be conservative allocating objects up-front
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581321 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 17:58:11 +00:00
Robert Davies 595d95b3da Have the TransactionContext per connection
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581242 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 13:58:22 +00:00
Robert Davies 6aa4bcad5b some unnecessary memory allocations removed
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581167 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 09:25:39 +00:00
Hiram R. Chirino 53c4e125f6 Fix for AMQ-1095:
- Added contributed test cases
 - We now filter out non-matching messages as they are loaded into the TopicStorePrefetch
 - Changed the TopicStorePrefetch and StoreDurableSubscriberCursor so that they don't depend
   on the pending message counter since some stores cannot give an accurate count for it.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@581053 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 20:02:18 +00:00
Hiram R. Chirino 19f9722445 Rolled back HttpTransportFactory to fix compile issue
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@580495 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 22:00:03 +00:00
Hiram R. Chirino 7bd8fb6754 Fix failing test cases.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@580475 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 20:16:08 +00:00
Hiram R. Chirino 3d024d6b4f Make amq 5.x compatible again with 4.x clients
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@580382 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 15:09:33 +00:00
Robert Davies 19a83ae3cb Rolled back patches for https://issues.apache.org/activemq/browse/AMQ-1361 - as no licence headers where provided - we can't accept
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@580273 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 09:46:50 +00:00
Hiram R. Chirino e21587fb9e Added the ASL to a bunch of property files.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@580013 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 13:35:43 +00:00
James Strachan a395b872c1 updated the stax version
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@579943 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 08:37:57 +00:00
James Strachan 42b768aa1f added patch for https://issues.apache.org/activemq/browse/AMQ-1435 to handle Mirrored Queues (so that folks can consume on a topic what messages are sent to a queue)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@579941 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 08:26:57 +00:00
James Strachan 8cad176f68 minor change to make tests more exclusive to avoid 'em hitting each other
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@579639 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 12:30:45 +00:00
James Strachan d48322690f added patch for AMQ-1434 to allow transport listeners to be used with a connection factory for easy integration with Spring JmsTemplate etc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@579498 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 08:08:14 +00:00
Robert Davies 2b063efafa fix reference counting
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@578877 13f79535-47bb-0310-9956-ffa450edef68
2007-09-24 17:00:08 +00:00
Hiram R. Chirino 01bdc524e7 Better broker shutdown handling and also better test support.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577882 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 19:11:44 +00:00