Commit Graph

695 Commits

Author SHA1 Message Date
Nathan Christopher Mittler a3b0e8ad7f AMQ-656: Applying patch_060518.zip. Moving scripts (under gram) to activemq-core.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@409828 13f79535-47bb-0310-9956-ffa450edef68
2006-05-27 13:57:41 +00:00
Hiram R. Chirino 14fda24c87 Fix for: http://issues.apache.org/activemq/browse/AMQ-726
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@409742 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 20:44:54 +00:00
Hiram R. Chirino aa049d2ce2 Kaha can now journal the changes it makes to the indexes so that they can be used to redo the changes on
failure.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@409322 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 07:44:50 +00:00
Hiram R. Chirino cad2107dd7 - do layz intialization of the containers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@409303 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 04:58:35 +00:00
Hiram R. Chirino 129f879607 Changed the KahaStore so that it works with set of data and index managers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@409300 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 04:30:46 +00:00
Hiram R. Chirino aa026f1f6a - Added some of the intial infrastucture needed to be able to use that DataManager to do index file recovery.
- ObjectMarshaller now avoids doing byte[] allocations.
 - We now store the data item's size in the index file so that when we load data from the data file using a 
   DataItem object, the data payload can be read in 1 io operation, previously an extra io was need to find
   out the size of the payload.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@409297 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 03:46:35 +00:00
James Strachan 9d3b3aef05 added better javadoc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@409136 13f79535-47bb-0310-9956-ffa450edef68
2006-05-24 11:06:37 +00:00
James Strachan d97fb0ce6e fixed javadoc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@409129 13f79535-47bb-0310-9956-ffa450edef68
2006-05-24 10:44:46 +00:00
Hiram R. Chirino d671875ebf Applied patch at https://issues.apache.org/activemq/browse/AMQ-718
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@408776 13f79535-47bb-0310-9956-ffa450edef68
2006-05-22 22:43:35 +00:00
James Strachan deff26029f added another attempt to reproduce AMQ-715
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@408640 13f79535-47bb-0310-9956-ffa450edef68
2006-05-22 11:00:42 +00:00
James Strachan c172b50ccc failed attempt at replicating AMQ-715 which at least adds a few more test cases
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@408638 13f79535-47bb-0310-9956-ffa450edef68
2006-05-22 10:51:39 +00:00
Hiram R. Chirino 0fd46ce621 Test and Fix for http://issues.apache.org/activemq/browse/AMQ-715
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@407816 13f79535-47bb-0310-9956-ffa450edef68
2006-05-19 15:05:04 +00:00
Guillaume Nodet bca487a2bb Use a released plugin for javacc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@407803 13f79535-47bb-0310-9956-ffa450edef68
2006-05-19 14:13:22 +00:00
Adrian T. Co e5bbcb532b - Made the consumers in some of the test cases retroactive to enable it to receive messages that was sent before its registration can be processed.
- Enabled SslTransportBrokerTest

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@406150 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 21:01:17 +00:00
Hiram R. Chirino a522d3abf7 Implementing a Rapid store which is a mix of the QuickJournal and the Kaha store.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@405807 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 17:52:51 +00:00
Hiram R. Chirino 7947655e5f Honnor the QoS requested by the client when replicating to the slave broker.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@405806 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 17:52:04 +00:00
James Strachan 3b973bce32 made it a little easier to extend the ActiveMQ JNDI provider
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@405737 13f79535-47bb-0310-9956-ffa450edef68
2006-05-10 12:38:06 +00:00
Hiram R. Chirino 9614aa9b4e Connection state tracking would cause a CCE if temp destinations were in use.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@405206 13f79535-47bb-0310-9956-ffa450edef68
2006-05-08 22:41:08 +00:00
James Strachan 89d6fd0a80 avoid NPE
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@400057 13f79535-47bb-0310-9956-ffa450edef68
2006-05-05 12:12:23 +00:00
James Strachan ac13202007 improved null handling after suggestions from Danielius Jurna
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399999 13f79535-47bb-0310-9956-ffa450edef68
2006-05-05 07:31:35 +00:00
Hiram R. Chirino 6e329f7d9e Avoid NPE in MasterBroker.processDispatch... a null message is sent to the client to signal end of queue browse.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399710 13f79535-47bb-0310-9956-ffa450edef68
2006-05-04 14:22:44 +00:00
James Strachan 2fd7ccbdf5 patched the pooled JMS provider to make it easier to configure the size and implementation of the underlying session pool
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399702 13f79535-47bb-0310-9956-ffa450edef68
2006-05-04 13:58:43 +00:00
Hiram R. Chirino c6e0984e1d Enable optimized ack by default again but disable the broker from sending the prefetch resize command to the client.. the client still has not implemented proper thread safe handling for that.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399530 13f79535-47bb-0310-9956-ffa450edef68
2006-05-04 03:45:59 +00:00
James Strachan eaad2f96f9 magical combination of excluded tests so that the build works on m2
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399312 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 14:10:07 +00:00
James Strachan 44493e4997 added helper methods to Destination POJOs so the MBeans are not required
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399298 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 13:38:26 +00:00
James Strachan 91732843ea added a tad of whitespace back :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399285 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 12:34:15 +00:00
James Strachan 2faad432f3 removed some system.out logging
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399260 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 11:22:07 +00:00
James Strachan 5e558f82d5 removed some system.out logging
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399259 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 11:21:19 +00:00
James Strachan 0afd5a8cf9 removed some system.out logging
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399256 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 11:12:12 +00:00
James Strachan 8c933fcc89 removed some system.out logging
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399250 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 10:56:52 +00:00
James Strachan 9f9fe90d85 removed some system.out logging
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399249 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 10:50:49 +00:00
James Strachan 3cbd06152b commented out more failing tests under m2
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@399237 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 10:13:33 +00:00
James Strachan c53bb05cd2 disabled logging
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@398965 13f79535-47bb-0310-9956-ffa450edef68
2006-05-02 15:32:00 +00:00
James Strachan b06de590e0 ensure that the check of whether or not the ConnectionInfo is sent to the broker - and the clientID created - is thread safe to fix AMQ-696
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@398928 13f79535-47bb-0310-9956-ffa450edef68
2006-05-02 12:29:28 +00:00
James Strachan 6b1682f949 added test case for AMQ-696
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@398560 13f79535-47bb-0310-9956-ffa450edef68
2006-05-01 09:29:32 +00:00
Hiram R. Chirino 29b5ae57a2 Making the m2 release look like the m1 release
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@398279 13f79535-47bb-0310-9956-ffa450edef68
2006-04-30 05:01:50 +00:00
Hiram R. Chirino b022a9d835 Set instance variables to null so that we don't OOM exceptions when using m2
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@398076 13f79535-47bb-0310-9956-ffa450edef68
2006-04-29 03:22:23 +00:00
Hiram R. Chirino 794e8d7880 Ignore log messages from other software packages by default.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@398018 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 21:26:22 +00:00
Hiram R. Chirino 653a7791f7 Disable optimizeAcknowledge for now. It is still not threadsafe. Tests fail on on 2 core windows box when this is enabled.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@398016 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 21:25:43 +00:00
Hiram R. Chirino 807e18f9f9 - Gaurd access to dispatched list ( a sync was missing).
- Added better exception messages to know what happened when a slave subscription gets out of sync with the master.
- Implemented a simpler isFull()

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@398015 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 21:24:06 +00:00
Hiram R. Chirino d65ba8034b Gaurd access to the pending list better.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397985 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 19:13:54 +00:00
Hiram R. Chirino f5f1366e4b Include the prefetch size in the JMX stats of a subscription
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397982 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 19:02:01 +00:00
Hiram R. Chirino f1a0614066 Added a 'noRangeAcks' flag to the ConsumerInfo command
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397960 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 17:26:59 +00:00
Hiram R. Chirino 4009fda30c Organized imports
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397941 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 16:20:26 +00:00
Hiram R. Chirino f25e2ca23e Applyed Rodrigo S de Castro's latest unit test patch and fixed the redelivery problem. Redelivery was not being delayed when rollback was called from the message listener.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397915 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 15:11:39 +00:00
Hiram R. Chirino 03de4c2d8b Added testcase by Rodrigo S de Castro. Thanks Rodrigo!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397908 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 14:07:27 +00:00
Hiram R. Chirino e2aad41e6a Since some OS/JVM combinations handle threads more efficiently than others, using a thread pool to run our async tasks may not
be the most optimal solution.  Modified the TaskRunnerFactory so that it uses a system property to choose between the 
PooledTaskRunner or the DedicatedTaskRunner which now keeps a dedicated thread per task.

The default is still set to use the PooledTaskRunner, but we may change this if performance benchmarks indicate that DedicatedTaskRunner should be the default.

Also make the thread names a little more uniform so that when you use a debugger you can easily tell what each thread is doing.




git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397774 13f79535-47bb-0310-9956-ffa450edef68
2006-04-28 05:54:54 +00:00
Hiram R. Chirino cb1d21f0a3 Fix for http://issues.apache.org/activemq/browse/AMQ-695
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397613 13f79535-47bb-0310-9956-ffa450edef68
2006-04-27 19:11:38 +00:00
Robert Davies a17b95182f close local transport if remote transport fails (and supports failover), and re-establish local transport on a successful re-connect
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397589 13f79535-47bb-0310-9956-ffa450edef68
2006-04-27 16:59:18 +00:00
Robert Davies 40b96b1b8f Fix for Queues getting full in the broker
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@397420 13f79535-47bb-0310-9956-ffa450edef68
2006-04-27 05:47:28 +00:00