Commit Graph

41 Commits

Author SHA1 Message Date
Robert Davies b792f11767 fixes for memory leaks
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@392904 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 08:12:09 +00:00
Robert Davies 3b1a7d66de comment out KahaXARecoveryBrokerTest
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@391607 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 12:58:48 +00:00
James Strachan f732943141 disabled rendezvous test by default as it fails on some OS'es
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@390375 13f79535-47bb-0310-9956-ffa450edef68
2006-03-31 09:05:05 +00:00
James Strachan 2a076d0710 added some test cases (that are not yet working) for reliable UDP
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@389533 13f79535-47bb-0310-9956-ffa450edef68
2006-03-28 16:19:23 +00:00
Hiram R. Chirino f451ad04bf - Switched the m2 builds to use maven-one-plugin so that the activeio jars can be used in the maven 1 build activemq is using.
- the m2 build now uses the same groupId that our m1 activemq build is using.  I know it's not the m2 way to name groups, we I'm willing to live with this until we are out of the incubator and using m2 to do builds by default.
- Ported activemq to use activeio 3.0-SNAPSHOT from activeio 2.1, since the 3.x stuff is in a new package space, it should not conflict with previous version (for example the version used in Geronimo).



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@388677 13f79535-47bb-0310-9956-ffa450edef68
2006-03-24 23:41:23 +00:00
James Strachan f3ef1a9a31 refactored LastPartialCommand so that it is-a PartialCommand so can contain data and should marshal just the same as the PartialCommand; this solves the double-datagram issue when closing a partial command stream
also refactored the reliable transport some more so that it is close to working; should have test cases working soon...

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@387385 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 02:49:00 +00:00
James Strachan 400b1fca09 refactor of the DemandForwardingBridge so that a multicast-based network can be created (or any other multiplexing transport can be used to create a netowrk)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386100 13f79535-47bb-0310-9956-ffa450edef68
2006-03-15 16:03:34 +00:00
James Strachan 72b382d0bd fixed the UDP and multicast test cases by merging the ResponseCorrelator into the UDP transport implementation
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385794 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 12:31:44 +00:00
Adrian T. Co f471303cc5 - Modified the version of the mx4j dependency to use the predefined one.
- Excluded HttpsTransportBrokerTest.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385695 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 23:15:53 +00:00
James Strachan 5739c6cdca refactor of the UDP transport so that it can work with multicast using a DatagramSocket/MulticastSocket directly in addition to using a DatagramChannel (which only seems to work with UDP)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385577 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 15:52:01 +00:00
James Strachan c2fc820c48 removed hacks in OpenWire to marshal the PartialCommand; we now use normal OpenWire marshalling instead. Also the LastPartialCommand now has no byte[] data in it; making the UDP marshalling code even easier. The PartialCommand literally only has a datastructure type (byte), a commandId (int) and a byte[] now. Ideally OpenWire could detect there is no need for BooleanStreams with this type.
Also added a test case for ReliableTransort

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384893 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 19:05:47 +00:00
James Strachan 8704338288 refactored the UDP transport to push most of the code and logic back into the transport layer itself.
* Command how has transient from & to properties which can be used with transports like UDP/multicast to indicate which endpoint (typically broker) actually sent the commands
* used int for commandId 
* support for PartialCommand support; allowing large commands (such as big messages) to be split up into smaller chunks
* added a CommandJoiner for joining partial commands together into complete commands
* ReliableTransport which re-orders and can re-request missed commands


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384826 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 15:53:21 +00:00
James Strachan 4446d55d30 added a working UDP server with test cases
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384603 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 20:26:47 +00:00
James Strachan 4f446eb025 initial spike of UDP server transport with some test cases (some of which are commented out as they are not quite working yet)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384569 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 18:06:32 +00:00
James Strachan b86da466e6 disabled some failing test cases until we can fix 'em
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384479 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 10:11:43 +00:00
Hiram R. Chirino e0a2b8eab7 Updated openwire generation scripts so that they produce file with consistent newlines even on windows.
Updated dotnet generator due to refactor


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383296 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 08:49:13 +00:00
James Strachan 99c1a67a28 refactor of the TcpTransport so that the timeout and buffer size can be configured via properties before the socket is used after the start() method is called.
this also fixes AMQ-610


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382846 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 15:02:54 +00:00
James Strachan 5fbce8982c disabled test due to AMQ-583
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382359 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 11:54:59 +00:00
Darwin G. Flores eba9e88af8 Excludes the SimpleNetworkTest in project.xml, as it caused the build process to hang in Linux platform
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@381868 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 01:58:57 +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
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
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 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
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
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
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 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
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
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
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
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
Hiram R. Chirino 1c64baadea Disabling StompTest see https://jira.logicblaze.com/jira/browse/AMQ-502
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371600 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 17:18:33 +00:00
Hiram R. Chirino a0adce9cb5 Updated poms so that we use the incubator-apache group id so that folks can clearly tell that we are still in the incubator
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369097 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 21:27:28 +00:00
Hiram R. Chirino b2f4fc6af9 re-ran the openwire generation script
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367349 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 18:10:44 +00:00
James Strachan 606bba7b1e first spike at getting the OpenWire.Net to work; also upgraded to latest groovy
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366534 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:11:53 +00:00
Hiram R. Chirino 5be5a62df6 Updated/Added more apache copyright headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360181 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 22:37:11 +00:00
Hiram R. Chirino d29ca2a71b Refactor org.activemq -> org.apache.activemq
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359567 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 17:24:02 +00:00
James Strachan 3062f751d7 added extra jar for testing of connection pool
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359549 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 15:34:58 +00:00
Adrian T. Co 841d99ee0f Added an AutoFailTestSupport as the super class of CombinationTestSupport. If enabled, this enforces each test case to run only on a predefined time frame (by default 5 mins). After the allotted time, a separate thread will force the vm to exit abnormally to prevent hanging the test case. The AutoFailTestSupport is disabled by default. Should be noted, when the test case exits abnormally, no output is written to the test reports, but there is output in the log4j log file.
Enabled auto fail for ProxyConnectorTest and DiscoveryTransportBrokerTest. Added ProxyConnectorTest to testing.

Propagated the setUp and tearDown method in BrokerTestSupport.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@358539 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 09:14:26 +00:00
James Strachan bd60590273 added a test case and fixes for the pooled connection factory. AMQ-449
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@358280 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 12:53:30 +00:00
James Strachan 40a7d3b6ac Moved the trunk code into the trunk sub directory
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356304 13f79535-47bb-0310-9956-ffa450edef68
2005-12-12 17:53:59 +00:00