Commit Graph

618 Commits

Author SHA1 Message Date
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
Robert Davies 6c1d45e1fc Add a name to a bridge - so multiple bridges between the same two brokers can be used
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380616 13f79535-47bb-0310-9956-ffa450edef68
2006-02-24 08:04:24 +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 2ce853a42d added the auto-generation of hashcode, equals and toString methods
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380217 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 20:28:46 +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 eaafdbd69a migrated the code generator to the latest .Net code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380181 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 18:13:09 +00:00
James Strachan c7fc04d026 minor refactor for easier debugging
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380180 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 18:12:31 +00:00
James Strachan 44613adf75 minor refactor for easier debugging
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380179 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 18:11:49 +00:00
James Strachan e430412f13 added a simple main() that can be run from your IDE easily to run a broker without doing a full multi-project maven build
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380105 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 12:29:21 +00:00
James Strachan 7dca720f93 added better debug logging
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@380104 13f79535-47bb-0310-9956-ffa450edef68
2006-02-23 12:28:45 +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
James Strachan 7e464aff59 Latest spike of the refactor of the code generation; almost done refactoing it so I can look at the C++ code shortly...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379825 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 17:42:35 +00:00
James Strachan 54db62a395 Latest spike of the refactor of the code generation; almost done refactoing it so I can look at the C++ code shortly...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379824 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 17:40:18 +00:00
Robert Davies 9c4223615d updated to test durable subscriptions get propagated
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379767 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 13:28:04 +00:00
James Strachan 6f82a857c7 added the autogeneration of the C++ headers and cpp files and refactored the class generation scripts so that they are easier to work with
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379734 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 09:35:03 +00:00
James Strachan 277f3b3d5a added extra check for null pointer exception
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379725 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 07:58:26 +00:00
Adrian T. Co 1d61be6ce2 Enabled fanout test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379720 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 07:44:48 +00:00
Adrian T. Co 83ab261e69 Move the shutting down of the reconnectTask outside the reconnectMutex. The shutdown task may block indefinitely, while waiting for some other threads to finish iterating through the task. If the iterating thread needs to obtain the reconnectMutex (i.e. in doConnect), it won't be able to, since the shutdown task is still holding on to the lock causing a deadlock.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379717 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 07:13:27 +00:00
Jonas B. Lim 97f35c40ec enabled back DiscoveryTransportBrokerTest. Is currently working on all CI test grid
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379702 13f79535-47bb-0310-9956-ffa450edef68
2006-02-22 06:11:44 +00:00
Hiram R. Chirino be2ae6669b did some more svn:eol-style property setting
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379624 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 23:30:38 +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
Hiram R. Chirino a107823dc3 Did a bunch of svn:eol-style property setting
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379619 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 23:12:56 +00:00
Hiram R. Chirino bef0867d6f Adding pom so sandbox stuff can also be resuivly built
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379615 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 23:03:10 +00:00
Hiram R. Chirino c16538616a make m2 poms work
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379578 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 20:42:02 +00:00
Robert Davies 9d8f82b3c9 organized imports
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379570 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 20:09:26 +00:00
Robert Davies 1045fc0c7d basic network tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379569 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 20:08:40 +00:00
Robert Davies 3155d41711 don't throw an exception if the transport is disposed
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379557 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 18:23:06 +00:00
Hiram R. Chirino e2b83bd133 Allow configuration of the included and exluded destinations in the network connector.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379540 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 17:24:27 +00:00
James Strachan 66dd4364ea refactored the C# code generation scripts to make them a little easier to work with
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379507 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 15:58:36 +00:00
Robert Davies e733f71b48 added a sleep before stop
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379452 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 13:50:17 +00:00
Guillaume Nodet aa2188c159 Fix ClassCastException, add debug log statements and allow standalone xml to be used
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379429 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 11:34:58 +00:00
James Strachan 6ce83ac909 autogenerated unit test cases for OpenWire now working
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379409 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 10:03:39 +00:00
James Strachan 628f9af1e1 patched code generation so that the unit tests work fine
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379406 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 10:00:17 +00:00
James Strachan 9ab62d35f4 removed cruft
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379405 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 09:59:48 +00:00
Adrian T. Co 35bfe5c1ae Added initial implementation for JMX queue browsing and purging. They're still unable to filter messages. I'm still not sure if we should use MessageSelector or filter them in the client. Currently, browsing still uses the old AMQ client implementation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379400 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 09:29:32 +00:00
Robert Davies 2bc09bb764 fixed exponentialBackoff
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379397 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 09:14:07 +00:00
Jonas B. Lim 4c3f739198 temporary disabled TwoBrokerTopicSendReceiveTest (AMQ-586).Passes all test grid except for the Windows Server 2003 platform (jafar)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379390 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 08:12:38 +00:00
Hiram R. Chirino 77fba03c52 Making folder stucture match package.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379177 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 17:37:45 +00:00
Hiram R. Chirino 72a59c46e5 Making folder stucture match package.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379175 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 17:37:02 +00:00
Adrian T. Co 0e9ff43c74 Fix for AMQ-579, where other command parameters are not being parsed by bstat.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379092 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 11:20:36 +00:00
James Strachan e1bdb1d89b temporarily disabled a test case (AMQ-583) until we can verify it works on all platforms
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379074 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 10:27:41 +00:00
Robert Davies 8b572cb6b8 don't iterate forever in oneWay() if disposed (can cause some tests to hang in Connection close)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378969 13f79535-47bb-0310-9956-ffa450edef68
2006-02-19 22:15:43 +00:00
Robert Davies b593aca5f8 fix some issues with assembly tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378968 13f79535-47bb-0310-9956-ffa450edef68
2006-02-19 22:14:33 +00:00
Robert Davies 97fff421f3 remove await latch call if closing a loop back network connector - this
should 'fix' - hanging SpringTest.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378967 13f79535-47bb-0310-9956-ffa450edef68
2006-02-19 22:13:54 +00:00
Robert Davies 8610db3e14 remove VMTransport connectors last in stop() - can prevent hanging tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378966 13f79535-47bb-0310-9956-ffa450edef68
2006-02-19 22:12:39 +00:00
Robert Davies dfc025b6ce added a sleep after consumers are added and before sending messages
to ensure subscriptions are propagated

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378730 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 15:25:28 +00:00
Robert Davies 7f384b620e synchronized around memoryTable - prevent concurrent access whilst iterating
for recovery

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378727 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 14:43:23 +00:00
Robert Davies 068c64639f Add more options for networks:
included, excluded destinationm filters
durable destinations as well as dynamic
conduit subscriptions (multiple subs on smae matching destination are treated as one)
networkTTL = number of hops messages/subs can pass through - default = 1

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378700 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 07:20:16 +00:00
Robert Davies f915da5772 Extended TransportListener to notify when transport is interrupted and resumed
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378699 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 07:18:01 +00:00
Hiram R. Chirino 58a50f2572 Missing <
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378697 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 06:05:43 +00:00