Commit Graph

403 Commits

Author SHA1 Message Date
Adrian T. Co 5eff976d28 - Added test case to check if any message dispatch are sent over the bridge even when there is no consumer on the other end
- Added better setup for some to the test case

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367501 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 06:14:27 +00:00
Adrian T. Co aa7435064a Called super.setUp and super.tearDown. To ensure auto fail is called.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367489 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 05:21:19 +00:00
Patrick Edward Lapus Villacorta a9e047d92e Add auto fail support when test hangs
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367460 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 02:00:27 +00:00
Hiram R. Chirino f2669a70a6 don't close the connection on a async error since we are not sure that it was connection failure. It may just have been a failed operation (security constrain or something).
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367409 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 21:55:53 +00:00
Hiram R. Chirino b2f4fc6af9 re-ran the openwire generation script
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367349 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 18:10:44 +00:00
Hiram R. Chirino c59246d5ed - Changed the command id objects so that they do not use fields that have the same name as the class (for the .net folks)
- Added a ConnectionError command that can be used to notify a connection of async errors associated with the connection.
- 

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367341 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 17:21:52 +00:00
James Strachan 42ec94a247 Latest generated Java code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367322 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 16:08:51 +00:00
James Strachan be783c36b0 Latest auto-generated C code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367321 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 16:08:20 +00:00
James Strachan d8cbc3e973 Added back file that was temporary deleted
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367318 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 15:16:02 +00:00
James Strachan 6f4386d1cd latest generated openwire.net code which now compiles OK!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367314 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 15:02:52 +00:00
James Strachan f4f8bb12ed latest generated openwire.net code which now compiles OK!
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367311 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 15:00:36 +00:00
James Strachan fd32d5612c updated the C# generation scripts to create valid C# code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367310 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 14:58:16 +00:00
James Strachan 4afa5d6f09 added the numeric values from CommandTypes to the annotations for generation of other languages
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367276 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 11:31:05 +00:00
Adrian T. Co fa63d9091f Minor change to toString and System.out
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367254 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 09:40:06 +00:00
Adrian T. Co 579a1d4130 - Added test cases for multiple brokers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367253 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 09:39:12 +00:00
Adrian T. Co 52aeaa2965 Fix splitting of components.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367158 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 01:50:28 +00:00
James Strachan 0a503f5393 Close to compiling OpenWire.Net
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366724 13f79535-47bb-0310-9956-ffa450edef68
2006-01-07 13:47:39 +00:00
James Strachan 10681a29b8 nearly building OpenWire.Net; much closer now
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366723 13f79535-47bb-0310-9956-ffa450edef68
2006-01-07 13:46:58 +00:00
James Strachan 40280b7d31 latest generated OpenWire.Net code; getting closer :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366552 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 19:20:21 +00:00
James Strachan 034949a481 use helper methods to read the primitive nested types like BrokerId
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366551 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 19:18:02 +00:00
James Strachan 2942846abc closer to compilable OpenWire.Net classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366549 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 19:11:45 +00:00
James Strachan 23bec283f0 almost compiling OpenWire.Net :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366543 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:56:09 +00:00
James Strachan d51d772352 more fixes for OpenWire.Net; getting close to compiling :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366542 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:53:56 +00:00
James Strachan ccd1113a79 updated OpenWire.Net generation script
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366539 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:31:28 +00:00
James Strachan 6f845eeb85 first spike of the code generated OpenWire.Net code and a NAnt build
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366537 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:24:01 +00:00
James Strachan 606bba7b1e first spike at getting the OpenWire.Net to work; also upgraded to latest groovy
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366534 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:11:53 +00:00
James Strachan be19f9aabd added an example of running an embedded broker in Java code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366477 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 11:29:28 +00:00
Adrian T. Co 6285f96b15 Reset checking for successful test every test setUp.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366443 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 07:13:28 +00:00
Adrian T. Co d265b31385 Wrong size read causing hangup.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366398 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 03:04:54 +00:00
Hiram R. Chirino 04968b6811 We now optimize out persisting persistent messages to a topic if it does not have any durable consumers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366274 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 20:39:41 +00:00
Hiram R. Chirino 013f37294e - Refactored out introspection based toString() logic to the IntrospectionSupport class
- Durable subscriptions are now eagerly loaded when a topic is created.
- Fixed the *TransactionTest 

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366220 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 17:09:05 +00:00
James Strachan b543609252 increased the number of messages in the test
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366216 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 16:39:32 +00:00
James Strachan f9db4423b1 fixed bad test case that creates 2 connections with the same clientID
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366215 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 16:38:14 +00:00
James Strachan d7f91463d6 enabled the hash bucket based implementation of MessageGroupMap by default and made the bucketCount configurable in the destination policy map
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366208 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:58:49 +00:00
James Strachan e1d4780221 minor refactor to allow pluggable MessageGroupMap implementations so that we don't have to keep around every single GroupID in RAM if we don't want to (which could very easily become a RAM leak) and can use a provider which uses hashbuckets instead.
added an initial implementation of a hashbucket based MessageGroupMap which should be fine; am waiting on a unit test run to complete before I dare enable it by default :)

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366204 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:36:07 +00:00
Hiram R. Chirino 71bd33d3ec Fix SQL statement.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366203 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:35:45 +00:00
James Strachan ab1d1afc1c fixed test case to close down the connection in between test cases to avoid duplicate clientID exceptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366199 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:23:18 +00:00
Robert Davies ef3b50e18b when sending - use quality of service applicable to message and subscriber
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366191 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 14:58:35 +00:00
James Strachan 95a2aa6b8f fixed reconnection test which was creating a new connection with a client ID before closing the previous one which threw the InvalidClientIDException
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366188 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 14:48:09 +00:00
Robert Davies c68a1460ba Fix for AMQ-464
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366176 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 13:04:31 +00:00
James Strachan f0454b1e88 part of the fix for AMQ-286 to allow the redelivery policy to be configured on a consumer
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366170 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 12:21:24 +00:00
James Strachan 1eaf1f7274 updated the release's data directory to be something activemq related to help folks know what the directory is
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366167 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 11:35:53 +00:00
James Strachan 166ce1f5f4 Fix for AMQ-435
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366164 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 11:26:43 +00:00
James Strachan 99a45e3f84 Fix for AMQ-435
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366163 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 11:25:03 +00:00
James Strachan cc1de0e202 fix for AMQ-348 to allow a ConnectionFactory to be specified so it can be shared across inbound and outputbound messaging
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366161 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 11:14:38 +00:00
James Strachan e310c21a8d applied patch from AMQ-356
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366156 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:55:13 +00:00
James Strachan f73e2097dd tidied up code a little
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366153 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:51:12 +00:00
James Strachan 205ac1188a allow customisation of the redelivery policy and prefetch policy on the ActiveMQ ResourceAdapter and ActiveMQManagedConnectionFactory and fix AMQ-467
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366152 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:44:52 +00:00
James Strachan c5b3802c61 made it easy to copy a RedeliveryPolicy
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366151 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:43:17 +00:00
Adrian T. Co 45ea6c629b -Added a list script that will list all registered brokers
-Added a bstat script that will run a predefined query to display some broker stats and selected attributes. (i.e. bstat <broker name>, or bstat to display the statistics of all brokers)
- Updated copyright header of script files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366146 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:17:11 +00:00