Commit Graph

686 Commits

Author SHA1 Message Date
Hiram R. Chirino 6701997522 Fixed test cases that I broke with my previous commit to this file.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378137 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 01:37:49 +00:00
Hiram R. Chirino 4262889d51 minior cleanups.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378132 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 00:59:48 +00:00
Hiram R. Chirino 4843dd459c - Refactored the StementProvider and related classes to a simpler Statements class that's easier to configure though the xbean configuration system.
- Added test cases that show this in use.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378119 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 23:37:40 +00:00
Hiram R. Chirino a33f399004 Added a testcase that shows to do more detailed configuration of the JMX mangement context.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378100 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 21:39:54 +00:00
David Blevins 57eb1534d8 Put a dep on activemq-core so it would compile in continuum. feel free to rollback if that's not right.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378086 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 20:40:32 +00:00
Hiram R. Chirino f8c268df6f Fix for http://jira.activemq.org/jira/browse/AMQ-568
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378037 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 17:09:18 +00:00
Hiram R. Chirino 11d0df6657 http://jira.activemq.org/jira/browse/AMQ-565
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378025 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 16:08:24 +00:00
Hiram R. Chirino 911177eb6c http://jira.activemq.org/jira/browse/AMQ-564
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378023 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 15:51:11 +00:00
Hiram R. Chirino 1667ce651b Enabled some more tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378021 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 15:26:56 +00:00
Hiram R. Chirino 98fc69f745 AMQ-228 is not a test case failure.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378016 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 15:05:13 +00:00
Hiram R. Chirino 298ea81702 Enabling fixed tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378015 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 15:04:00 +00:00
Hiram R. Chirino 6f99fe8271 Nullpointer exception could occur is the session is being closed at the same time that an async exception is received since it would also close the session out at the same time.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378014 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 14:57:46 +00:00
James Strachan a8dfa1f41b renamed to proper JAAS name rather than JASS typo
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378008 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 13:45:13 +00:00
James Strachan affd134592 added a pure XBean based authorization and authentication mechanism
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378006 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 13:33:52 +00:00
Frederick G. Oconer f4fc3e9a6d Support for jdbc driver mysql-connector-java. However, this uses the DefaultJDBCAdapter.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378000 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 13:03:41 +00:00
James Strachan 9f59397aa3 refactor of the authorization plugin to make it easier to create alternative data structures for capturing the different ACLs; such as a single tree based authorization map
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377995 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 12:38:40 +00:00
James Strachan 4686ec5f0b added a BrokerPlugin mechanism to allow users to customize the Broker interceptor stack
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377991 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 11:48:17 +00:00
Hiram R. Chirino 7b945f9d92 Fixed a few of the broken durable subscription tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377937 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 04:35:20 +00:00
Hiram R. Chirino 0f502fae3d Fixed a few of the broken durable subscription tests.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377936 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 04:35:12 +00:00
Hiram R. Chirino 74588d1b30 added ignores
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377925 13f79535-47bb-0310-9956-ffa450edef68
2006-02-15 03:48:44 +00:00
James Strachan 6d3621e7af fix for AMQ-502
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377768 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 17:00:08 +00:00
James Strachan c341dc71a0 fixed up the Stomp test cases
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377766 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 16:56:15 +00:00
James Strachan 329e2f3b99 enabled logging by default of all service exceptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377765 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 16:54:36 +00:00
James Strachan 1b3a5939a8 fixed unsubscribe test
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377725 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 13:39:34 +00:00
James Strachan 06f44c7245 avoid unnecessary comparisons
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377724 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 13:38:09 +00:00
James Strachan a603c40b64 added test case and support for selectors on Stomp subscriptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377713 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 12:55:35 +00:00
James Strachan c4c5895d33 added test case and fix for the sending of Stomp messages with headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377712 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 12:43:46 +00:00
Robert Davies f7ed407271 getDurableDestinations() now returns empty set if the persistence adaptor is null -
instead of throwing npe

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377701 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 11:31:56 +00:00
Alan Cabrera 84942ae5b0 Added incubation disclaimer.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377651 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 06:45:29 +00:00
Alan Cabrera b7aeb5a79c Added incubation disclaimer.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377650 13f79535-47bb-0310-9956-ffa450edef68
2006-02-14 06:44:40 +00:00
Hiram R. Chirino 3db3863583 Applied patch from http://issues.apache.org/jira/browse/GERONIMO-1623, Thanks Mats./activemq Still need to setup a build system for this and have it dynamically download the smart pointer implemenation dependency (BSD lic.)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377433 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 17:43:48 +00:00
Robert Davies e7106d31b1 Set existing durable destinations on a network connector
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377421 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 16:52:03 +00:00
Robert Davies debd0cc241 Added getDurableDestinations() to Broker - to make accessable for NetworkConnectors
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377412 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 16:31:37 +00:00
Robert Davies f787e20139 Expose getDestinations() from the persistenceAdapator
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377397 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 15:38:10 +00:00
James Strachan f921ef7f61 reset figures in right order to make counting more likely to be accurate by a little bit :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@377387 13f79535-47bb-0310-9956-ffa450edef68
2006-02-13 14:53:04 +00:00
Hiram R. Chirino a71a2a5dc0 Fix for DurableConsumerCloseAndReconnectTest,
- The eager loading of durable subs had broken the test a little..  fixed it up now.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376861 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 21:14:53 +00:00
Hiram R. Chirino 30b2e67b91 Fixing DurableConsumerCloseAndReconnectTest, make sure a persistent broker is used.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376860 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 21:14:08 +00:00
Hiram R. Chirino 618d1d5a88 Fixing DurableConsumerCloseAndReconnectTest:
Added a getter to see if the destination is a pattern 

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376858 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 21:12:15 +00:00
Hiram R. Chirino 96adbc3fbb Fixing broker DurableConsumerCloseAndReconnectTest, subscriptions were not being added to the result array.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376856 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 21:11:33 +00:00
Hiram R. Chirino 404c73bcc5 Added toString so that object is esier to view under a debugger.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376855 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 21:10:14 +00:00
Hiram R. Chirino d86f77f462 Fixed failing ChangeSessionDeliveryModeTest test in the assembly module.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376766 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 17:06:46 +00:00
Hiram R. Chirino ffd4756740 cleaned up the test a little.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376765 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 17:06:07 +00:00
Gregory John Wilkins b33d3fcc23 misc cleanup of scripts
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376760 13f79535-47bb-0310-9956-ffa450edef68
2006-02-10 16:51:38 +00:00
Hiram R. Chirino 68d245f4bf Migrated to using xbean 2.2-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376445 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 21:41:59 +00:00
Hiram R. Chirino 40926586aa Call transportFailed() only for IOException caused by the transport. Async exceptions from the broker could just mean that an async operation failed (like an async send).
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376339 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 16:29:30 +00:00
Hiram R. Chirino 4f6e90108f The QueueMasterSlaveTest and TopicMasterSlaveTest were hanging on on teardown of the test case due us issuing a transport request() that never returned. Converterted to just issuing a oneway and it seems to have fixed the issue.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376332 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 16:04:54 +00:00
Hiram R. Chirino 28ca7515c9 removed the debug printlns
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376330 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 16:03:04 +00:00
Robert Davies 6985a09ee6 allow executeBatch() in close - if not in a transaction - to release locks
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376298 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 14:08:02 +00:00
Robert Davies b59d0b5938 Set timestamp on the broker
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376260 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 11:06:41 +00:00
Adrian T. Co e99fc62e4a - Added a message to the request map in failover before sending it to prevent race condition where the response tries (and fails) to remove the message before it is even added. This is to prevent double sending a message because it is still in the requestMap. (This is for the master-slave test cases)
- Enabled a QueueBridgeTest, this test seems to pass already.
- Some minor typo correction.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376206 13f79535-47bb-0310-9956-ffa450edef68
2006-02-09 06:43:10 +00:00