Commit Graph

315 Commits

Author SHA1 Message Date
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 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 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 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 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
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
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
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
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 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 bea3be6e01 Applyed http://jira.activemq.org/jira/browse/AMQ-582
Thanks Carlos!  This should help our m2 build a ton.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378696 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 06:03:51 +00:00
Hiram R. Chirino 523ea5f4e7 http://jira.activemq.org/jira//browse/AMQ-568
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378642 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 22:30:59 +00:00
Hiram R. Chirino 236a1ac422 http://jira.activemq.org/jira//browse/AMQ-568
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378626 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 21:01:04 +00:00
James Strachan f680f3ab51 fixed C marshalling generator and Java JUnit test case generator along with adding a first spike of auto-generated JUnit test cases
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378618 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 19:58:05 +00:00
James Strachan f82bd11751 allow a message to be marked as being persistent or not
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378590 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 18:57:05 +00:00
Dennis Cook c739dba503 Change email address
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378580 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 18:05:37 +00:00
James Strachan 73603c3d71 patch the code generation to work with the latest JNDI changes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378493 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 12:02:35 +00:00
James Strachan 43112670da added base class for auto-generated test cases
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378481 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 10:54:22 +00:00
James Strachan 83ec98be8a Refactor of OpenWire code generation together with move to apache package
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378480 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 10:52:25 +00:00
James Strachan e5959da6d7 added more metadata for openwire
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378479 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 10:50:56 +00:00
James Strachan ba0ada4db7 fixed a typeo when trying to apply the patch for AMQ-575
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378280 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 15:34:13 +00:00
James Strachan dba97b77c5 fix for AMQ-575 to avoid the deadlock when removing consumers, which can sometimes cause messages to be redispatched when another consumer is ack-ing a message. a good lesson this one - keep locks for as short a time as possible
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378268 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 15:06:00 +00:00
James Strachan e82d0fb470 avoid throwing exceptions to clients if a consumer has already been closed (maybe asynchronously)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378226 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 11:21:38 +00:00
James Strachan 862c1f2138 Applied patch from haliq for AMQ-574
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378218 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 10:35:59 +00:00
Hiram R. Chirino 83825de78e distribute activecluster with the distro
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378191 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 07:20:17 +00:00
Hiram R. Chirino 896324436a http://jira.activemq.org/jira/browse/AMQ-505
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378145 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 02:49:48 +00:00