Commit Graph

245 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
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 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 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 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
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
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
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
Robert Davies a1c4eb6d48 return IntegerResponse from prepareTransaction()
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374309 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 08:56:23 +00:00
Guillaume Nodet 3a0358ee17 Fix threading problems in the DemandForwardingBridge.java
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374292 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 07:47:16 +00:00
Robert Davies d517eebfbc put back default Constructor on NetworkConnector - for now.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374288 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 06:54:17 +00:00
Frederick G. Oconer 9e4779964d excluded ProxyConnectorTest because it hangs.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374277 13f79535-47bb-0310-9956-ffa450edef68
2006-02-02 06:03:36 +00:00
Robert Davies 4d9ab0cffc Added setter for the MBeanServer
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374137 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 18:26:36 +00:00
Robert Davies 7f634906d0 log execption and fire to exception listener if exception thrown
in run() method

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374101 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 16:28:57 +00:00
Robert Davies e62711760b corrected javadoc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@374064 13f79535-47bb-0310-9956-ffa450edef68
2006-02-01 13:37:28 +00:00
Robert Davies 5a429d90bb Fixes for networks and the invalid Brokers caper
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373863 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 16:35:13 +00:00
Robert Davies 3e7ebc2368 Add a check to the iterate() so that on failover - it's not possible
to iterate for ever if the transport has actually been stopped

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373862 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 16:31:21 +00:00
James Strachan 2ae7169856 removed possible NPE
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373809 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 12:33:44 +00:00
James Strachan e6747ead95 patch and test case for AMQ-514 to make BrokerInfo and the broker name visible to an ActiveMQConnection
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373548 13f79535-47bb-0310-9956-ffa450edef68
2006-01-30 16:59:01 +00:00
James Strachan 9c0d3ce072 added better debug tracing so that destinations are explicit in whether they are a queue or topic
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372952 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 19:33:21 +00:00