Commit Graph

63 Commits

Author SHA1 Message Date
Hiram R. Chirino ecf56d1a74 - Fixed endian convertion issues
- Fixed UTF8 encoding issues (size prefix needed to be a short instead of a int)
- Simplified usage of the Binary Reader/Writers by extending the class.
- Fixed Primitive Map encoding issues (edianness was not right)
- Enabled a durable sub test that works now due to message properties being correctly marshalled.
- Added a MessageTest 



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383459 13f79535-47bb-0310-9956-ffa450edef68
2006-03-06 03:39:51 +00:00
Hiram R. Chirino e6ad61952e Don't report errors if the transport is being closed.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383315 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 13:20:48 +00:00
Hiram R. Chirino bfe91884be Fixed up some comments.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383314 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 13:07:48 +00:00
Hiram R. Chirino 8f8bfee0be Implemented the filtered layer concept similar to what we have with the Java implemenation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383309 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 12:05:53 +00:00
Hiram R. Chirino 494e5bdd2a A few more refactors.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383299 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 09:47:04 +00:00
Hiram R. Chirino 2949d2657a Send a ShutdownInfo so that broker knows that we are doing a clean disconnect.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383298 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 09:11:39 +00:00
Hiram R. Chirino 41c4a49a52 Fix setup teardown methods.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383297 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 09:01:27 +00:00
Hiram R. Chirino e0a2b8eab7 Updated openwire generation scripts so that they produce file with consistent newlines even on windows.
Updated dotnet generator due to refactor


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383296 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 08:49:13 +00:00
Hiram R. Chirino 47a327ab83 Some more refactors:
Moving the jms type interfaces to the JMS namespace, hopefully this will be come a standardized set of interfaces
 for dotnet in the furture.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383295 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 08:28:53 +00:00
Hiram R. Chirino bb28820a8e Get it to compile after refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383072 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 08:19:09 +00:00
Hiram R. Chirino fcbb2b22e8 Get it to compile after refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383071 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 08:18:50 +00:00
Hiram R. Chirino 1701ac7fa5 Get it to compile after refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383070 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 08:18:29 +00:00
Hiram R. Chirino eb6e421ff6 Get it to compile after refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383069 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 08:18:17 +00:00
Hiram R. Chirino aae59ee589 Get it to compile after refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383068 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 08:14:24 +00:00
Hiram R. Chirino cab9b954f8 refactoring namespace
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383060 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 06:38:24 +00:00
Hiram R. Chirino 352696e94b refactoring namespace
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383058 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 06:35:37 +00:00
Hiram R. Chirino a3e44f0f76 refactoring namespace
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383057 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 06:34:24 +00:00
Hiram R. Chirino 8f3d48f7ed refactoring namespace
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383056 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 06:33:24 +00:00
Hiram R. Chirino a7b0e27d3d refactoring namespace
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383053 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 06:29:39 +00:00
Hiram R. Chirino b858350da4 back ported the BooleanStream class and it's associated test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383051 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 06:23:01 +00:00
Hiram R. Chirino 7f5213ba99 Standardize on throwing Exception instead of Throwable, we were using both forms throught the API
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382869 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 15:36:38 +00:00
Hiram R. Chirino 60c65ba7ff Adding csproj and cln files created with x-develop as I was having touble with the vs.net generated ones.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382087 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 17:21:49 +00:00
James Strachan 2c440b40a4 fixed project files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381983 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 10:41:46 +00:00
James Strachan 4630b661be fixed compile error on .Net 1.1
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381979 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 10:36:11 +00:00
James Strachan defd3eeee0 made it easy to build the DLLs without running the tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381967 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 09:37:50 +00:00
Hiram R. Chirino 33b73ac71d A few openwire refactors/enhancments
- The old/default marshaling style is now refered to tight encoding 
 - We now support a loose encoding style which should be less CPU intensive (it's only a 1 pass algorithim)
 - prefixing the packet size is now optional (needs more testing)
 - Updated the c client so that it works once again.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381926 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 06:29:45 +00:00
James Strachan 8ee9b45484 added support for transactions together with support for consumer.Receive(timeout)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381643 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 12:36:22 +00:00
James Strachan c628313c62 Ensure only one thread dispatches to a session at once
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381322 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 11:35:18 +00:00
James Strachan 81cc428b76 added support for asynchronous consumption to .Net using a MessageListener along with fixing up some nant build errors
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381319 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 11:28:35 +00:00
James Strachan 72fb003975 Updated snippet comment
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381309 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 10:25:54 +00:00
James Strachan 4bf76c23ca Updated the example program
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381308 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 10:24:12 +00:00
James Strachan 0461466367 Added little snippet to example for wiki
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380777 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 18:44:43 +00:00
James Strachan baabdde9f2 added support for the latest wireformat and clean stack trace support
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380771 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 18:39:16 +00:00
James Strachan 7130f43c8f added full test for MapMessage together with fixing a bug with long marshalling types and headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380666 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 13:16:09 +00:00
James Strachan 76494afa3f remove the old versions of the C# code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380657 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 12:47:53 +00:00
James Strachan 15dc02a88d added support for explicit client acknowledgement of messages or for auto-acknowledge
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380656 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 12:47:14 +00:00
James Strachan f0300f1251 added the standard JMS headers to IMessage together with support for custom message headers and support for temporary destinations, IMapMessage and IBytesMessage
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380652 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 12:02:46 +00:00
Hiram R. Chirino 172b2d11fa Added missing copyright headers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380622 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 08:50:52 +00:00
Hiram R. Chirino 69889d82bb Added visual studio project files and started porting over test cases from the java side, flesh out the durable sub stuff a little more
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380620 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 08:41:42 +00:00
James Strachan 33094e694a working OpenWire.Net client! While not all of JMS is supported just yet, the test program shows the creation of a Connection, Session, Consumer, Producer and sending and receiving a message (using the synchronous dispatch)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380220 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 20:36:12 +00:00
James Strachan 8ba8da2388 updated working .Net code which is capable of creating connections, sessions, producers and consumers - not quite completed the consumer side yet but we can send messages now! :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380183 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 18:16:15 +00:00
James Strachan 3d3c4679fd latest code generated code for C# which just about compiles now
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379827 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 17:45:12 +00:00
Hiram R. Chirino 4d00a1a311 did some more svn:eol-style property setting
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379623 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 23:28:33 +00:00
James Strachan a4b970bebc Thanks to the suggestion from Lars Eirik Sivesind of this article describing how to convert Java concurrency programming constructs to .Net http://www.ondotnet.com/pub/a/dotnet/2001/08/06/csharp.html?page=3
I've ported the FutureResponse class to use the proper .Net mechanism, Monitor



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374076 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 14:39:04 +00:00
James Strachan f62ff2c1bf added a rough implementation of the ITransport interface; needs more work on the concurrent processing side of things though
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368086 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 18:58:57 +00:00
James Strachan 1c44792498 refactored Transport -> ITransport along with adding a stub working NUnit test case and build
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368050 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 16:07:52 +00:00
James Strachan 3ed3dd46dd added compiling (but not working) unit test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367748 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 19:30:13 +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 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
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