Hiram R. Chirino
a7785c6a54
- make the group sequences 0 based to match producer message sequences which are also 0 based
...
- fixed bucket hashing method to handle cases where the group id hashes to a negative number.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367676 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 16:33:13 +00:00
Hiram R. Chirino
6397d0560b
pass on async exceptions to the Exception listener
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367673 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 16:28:24 +00:00
James Strachan
a47deab320
added support for exceptions and for IConnectionFactory
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367642 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 15:28:53 +00:00
James Strachan
2ba813b311
added support for Throwable in OpenWire.Net
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367640 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 15:26:51 +00:00
James Strachan
dfb9c82114
disabled auto-generation of more hand-crafted commands
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367606 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 13:59:47 +00:00
James Strachan
611e335cfc
added first cut of a near complete OpenWire.Net API with a shell of an implementation
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367605 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 13:56:34 +00:00
Robert Davies
fb53ad9cf3
applied proper fix for AMQ-464
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367598 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 13:36:55 +00:00
James Strachan
1c02c36bdc
latest
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367585 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 12:28:35 +00:00
James Strachan
3089079547
moved the Transport API into the Core package and put an initial JMS-like API in place
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367584 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 12:26:36 +00:00
James Strachan
89000d1b43
moved the Transport API into the Core package and put an initial JMS-like API in place
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367583 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 12:26:05 +00:00
James Strachan
6dacb8eced
Removed old cruft
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367582 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 12:24:16 +00:00
James Strachan
a0832bcd42
refactored packages of OpenWire.Net
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367570 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 11:31:40 +00:00
James Strachan
434c38ff94
refactored packages of OpenWire.Net
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367569 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 11:29:06 +00:00
James Strachan
788bfbef25
latest generated OpenWire.Net code together with an early plugin for the transport
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367566 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 10:56:34 +00:00
James Strachan
c3a767b21e
further cleaning up of the OpenWire protocol now that the FooId classes all now have value properties called "value"
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367565 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 10:55:01 +00:00
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