Commit Graph

9710 Commits

Author SHA1 Message Date
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
Hiram R. Chirino 1a3021beac rollback this change since it breaks stuff.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376065 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:58:20 +00:00
Hiram R. Chirino ef61027ad7 Added some better logging.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376048 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:24:52 +00:00
Hiram R. Chirino a7ac415557 Added better proxy connector cleanup code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376047 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:23:08 +00:00
Hiram R. Chirino 7e672d4150 Close the transport if for some reason the connection cannot be accepted.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376044 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:20:24 +00:00
Hiram R. Chirino 43d4e983dc A little better logging to see when brokers are started and stopped.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376042 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:17:12 +00:00
Robert Davies ef0127d81c updated for compilation errors for some java platforms
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376041 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:13:33 +00:00
Hiram R. Chirino 1b9c601975 use service stopper to simplify stop() method
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376040 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 20:06:18 +00:00
Robert Davies 49e8a803aa rationalize the QueueBridge/TopicBridge
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@376019 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 18:26:35 +00:00
Robert Davies d52e6ac042 support defining local address and port for a socket - e.g:
ssl://localhost:5666/localhost:60606
where the path (localhost:60606) - defines the local address and local port

For jira issue: AMQ-529

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375923 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 11:03:02 +00:00
Robert Davies c195dd3052 support defining local address and port for a socket - e.g:
ssl://localhost:5666/localhost:60606
where the path (localhost:60606) - defines the local address and local port

For jira issue: AMQ-529

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375922 13f79535-47bb-0310-9956-ffa450edef68
2006-02-08 11:02:36 +00:00
Hiram R. Chirino f367df5b28 disabled tests that are failing for me.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375753 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 22:27:58 +00:00
Robert Davies 36a2bdc519 receive() returns null on connection transport failure
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375721 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 21:40:23 +00:00
Robert Davies dbf3e5682b added sleep to let subscriptions get propagated
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375720 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 21:38:21 +00:00
Hiram R. Chirino e6f5d3026e - Implemented http://jira.activemq.org/jira/browse/AMQ-511
- Queues can now be browsed, messages deleted, or queue can be purged.
- Added initial hooks to expose subscriptions for JMX managment.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375654 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 18:34:21 +00:00
Robert Davies db747b49d9 fix for usecase: ThreeBrokerQueueNetworkUsingTcpTest.java
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375598 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 13:34:12 +00:00
Adrian T. Co 7fa8660c7e - Move AMQ command console to separate module (activemq-console)
- Move Main.java to console module
- Move maven goal "run:broker" from core to console.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375519 13f79535-47bb-0310-9956-ffa450edef68
2006-02-07 06:48:24 +00:00
Adrian T. Co f6735ea870 Fix typo in method name.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375179 13f79535-47bb-0310-9956-ffa450edef68
2006-02-06 05:16:33 +00:00
Robert Davies 6ea186cf65 seperate inbound and outbound message convertors
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375088 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 19:58:14 +00:00
Robert Davies bf8f99b51d remove System.err println
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@375087 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 19:56:10 +00:00
Jonas B. Lim 667e7a39c5 moved setting "maven.test.failure.ignore" to test:test preGoal
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374988 13f79535-47bb-0310-9956-ffa450edef68
2006-02-05 09:26:58 +00:00
Gregory John Wilkins 948801cbd5 removed
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374835 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 07:31:44 +00:00
Robert Davies 641140ebab Forced to copy message before leaving the consumer - as the destination could change if
the message is forwarded on.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374795 13f79535-47bb-0310-9956-ffa450edef68
2006-02-04 00:35:53 +00:00
Robert Davies e1bc55dafe separate JndiTemplate into local and outbound
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374729 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 19:22:40 +00:00
Adrian T. Co c146def464 Disabled failing test
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374639 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 10:58:45 +00:00
Adrian T. Co 25f59e76c9 Added additional test case for multicasted broker.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374637 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 10:53:45 +00:00
Frederick G. Oconer 82d60e1291 make Serializable to prevent NotSerializableException in weblogic (AMQ-501) - Patrick Villacorta
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374605 13f79535-47bb-0310-9956-ffa450edef68
2006-02-03 08:48:25 +00:00