Commit Graph

245 Commits

Author SHA1 Message Date
Robert Davies 233b604642 check if a broker held by the TransportConnector is stopped before asigning it for re-use (i.e. VMTransportServer)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372910 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 17:00:26 +00:00
Gregory John Wilkins 6a70920b20 notify listener after the enqueue
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372844 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 13:31:17 +00:00
James Strachan 2f944a19e3 added fix for issue reported on forum: http://forums.activemq.org/posts/list/0/60.page
where on startup we get the following exception when using mysql

java.io.IOException: Can't call commit when autocommit=true 
at org.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:44) 
at org.activemq.store.jdbc.TransactionContext.close(TransactionContext.java:113) 
at org.activemq.store.jdbc.JDBCPersistenceAdapter.getAdapter(JDBCPersistenceAdapter.java:253) 
at org.activemq.store.jdbc.JDBCPersistenceAdapter.start(JDBCPersistenceAdapter.java:140) 

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372805 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 10:16:16 +00:00
James Strachan 8fbbd24122 fixed typeo
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372800 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 10:02:05 +00:00
James Strachan 3d18a3dc7b made the adapter class configurable on the <journaledJDBC adapterClass="...."/>
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372799 13f79535-47bb-0310-9956-ffa450edef68
2006-01-27 09:57:38 +00:00
James Strachan 40ce55be77 added extra NPE check
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372519 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 12:40:12 +00:00
Frederick G. Oconer a9d3883dc8 commented out goal that override the jar:deploy. This causes error when deploying the jar in the dist repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372437 13f79535-47bb-0310-9956-ffa450edef68
2006-01-26 04:49:28 +00:00
Robert Davies afcefa0111 Added durable topic test for master/slave
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372300 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 20:06:17 +00:00
Frederick G. Oconer 9a699a4d06 correction on artifact name given for xsd deploy goal.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372090 13f79535-47bb-0310-9956-ffa450edef68
2006-01-25 03:42:36 +00:00
Robert Davies 8b04e15826 Fixes for Master-Slave functionality
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@372050 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 23:08:29 +00:00
Hiram R. Chirino b2039fb1c2 Fix for https://jira.logicblaze.com/jira/browse/AMQ-494
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371949 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 16:02:42 +00:00
Robert Davies fd156f833a send back responses
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371910 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 13:34:59 +00:00
Adrian T. Co 4b8822f154 - Added task to browse a queue for messages that includes the ability to query for selected messages only, and specify the properties to view. (Still considering adding one for topics too)
- Redesigned the querying mechanism to allow easy insertion and/or extension of specific querying filters
- Redesigned the output mechanism to allow easy inclusion of different output formatters (i.e. output in command shell friendly format, script friendly format, xml format, etc.)
- Currently have just included a not-so-friendly command shell formatter. :) Have plans to modify this and maybe include an xml formatter and/or script friendly formatter.

PS: I plan to move the console package outside activemq-core and include some unit tests with it sometime in the very near future. I know its kinda messy right know. :)

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371880 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 10:23:34 +00:00
Dennis Cook f9a763586a AMQ-500 reconciled windows start script with o.a.a.broker.Main
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371767 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 01:38:07 +00:00
Hiram R. Chirino d2d1c6d63d The Transport Connection now notifies it's Connector of lifecycle events so that the Connector does not have to wrap the broker in yet another filter to notice the connection's lifecycle events.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371636 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 19:40:42 +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
Robert Davies 71afa0ded9 removed sleep from stop() method
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371590 13f79535-47bb-0310-9956-ffa450edef68
2006-01-23 16:48:10 +00:00
Hiram R. Chirino c3c0ea7265 Applied patch reported by christopher.kingsbury@gmail.com
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370926 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 23:14:35 +00:00
Hiram R. Chirino ef94b843cc removed unused line
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370901 13f79535-47bb-0310-9956-ffa450edef68
2006-01-20 21:35:09 +00:00
Robert Davies 5b2e9be749 added messageSent() method - so can hook in failure tests in derived unit tests
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370330 13f79535-47bb-0310-9956-ffa450edef68
2006-01-19 00:34:52 +00:00
Robert Davies 4098942c1e Added master/slave functionality to the Broker
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370223 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 19:16:58 +00:00
Jonas B. Lim 377780985c added additional test cases for the other stomp verbs/features
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370081 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 09:10:49 +00:00
Alan Cabrera 85402ce387 Clean up
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@370004 13f79535-47bb-0310-9956-ffa450edef68
2006-01-18 01:54:51 +00:00
Dennis Cook d3aa9bf2be Allow defeat of auto include of $ACTIVEMQ_HOME/conf in classpath (after refactor)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369868 13f79535-47bb-0310-9956-ffa450edef68
2006-01-17 19:05:51 +00:00
Adrian T. Co b9a4deed5d - Made ActiveMQConnectionFactory and ActiveMQDestination referenceable.
- Ported to 4.x the jndi implementation from 3.x (JNDIStorableInterface, JNDIBaseStorable, JNDIReferenceFactory)
- Added a simple test case to test the object factory.


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369411 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 09:58:02 +00:00
Hiram R. Chirino 91bc5609f4 - fix test dependency
- and echo when the test jar is installed


git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369320 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 03:01:24 +00:00
Hiram R. Chirino 23334ff9a6 Protect against recursing.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369174 13f79535-47bb-0310-9956-ffa450edef68
2006-01-15 03:41:03 +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
David Blevins c7e4ad74c9 Don't need that dep
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368961 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 02:33:26 +00:00
Adrian T. Co 2ddd372cad Added initial implementation to make ActiveMQConnectionFactory and ActiveMQDestination referenceable.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368957 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 02:10:14 +00:00
Hiram R. Chirino 982a119ba6 Renamed the *Task stuff to *Command, the Main method now just only calls the DefaultCommand, which delegates to the other commands.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368942 13f79535-47bb-0310-9956-ffa450edef68
2006-01-14 01:08:12 +00:00
Dennis Cook 4d7ea5ef6e Allow defeat of auto include of $ACTIVEMQ_HOME/conf in classpath
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368924 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 23:55:19 +00:00
Dennis Cook eef9202675 AMQ-484: Restore discoveryUri when replacing TransportConnector with ManagedTransportConnector
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368911 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 23:11:20 +00:00
Adrian T. Co 70c2d886d1 Refactored the main class to several task class and use the main class to bootstrap each task.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368560 13f79535-47bb-0310-9956-ffa450edef68
2006-01-13 02:52:57 +00:00
Hiram R. Chirino 7a7496c841 Maven 1 pom changes so that we cen start deploying to the apache maven repository.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368463 13f79535-47bb-0310-9956-ffa450edef68
2006-01-12 20:43:53 +00:00
Robert Davies af9f61015d Adding some changes to support master/slave
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@368075 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 18:15:13 +00:00
Adrian T. Co 1a9d2862a4 - Added two broker test where each broker has a client that connects and disconnects and the destination is a queue
- Minor updates to some of the test cases and test support

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367958 13f79535-47bb-0310-9956-ffa450edef68
2006-01-11 07:43:05 +00:00
James Strachan da77d2c649 fix to allow a foreign JMS message ID to be set on an ActiveMQMessage
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367741 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 19:14:01 +00:00
Hiram R. Chirino ffad45edff Fix for https://jira.logicblaze.com/jira/browse/AMQ-470
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367724 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 18:42:30 +00:00
Hiram R. Chirino a7785c6a54 - make the group sequences 0 based to match producer message sequences which are also 0 based
- fixed bucket hashing method to handle cases where the group id hashes to a negative number.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367676 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 16:33:13 +00:00
Hiram R. Chirino 6397d0560b pass on async exceptions to the Exception listener
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367673 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 16:28:24 +00:00
James Strachan 2ba813b311 added support for Throwable in OpenWire.Net
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367640 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 15:26:51 +00:00
James Strachan dfb9c82114 disabled auto-generation of more hand-crafted commands
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367606 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 13:59:47 +00:00
Robert Davies fb53ad9cf3 applied proper fix for AMQ-464
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367598 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 13:36:55 +00:00
James Strachan 434c38ff94 refactored packages of OpenWire.Net
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367569 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 11:29:06 +00:00
James Strachan c3a767b21e further cleaning up of the OpenWire protocol now that the FooId classes all now have value properties called "value"
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367565 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 10:55:01 +00:00
Adrian T. Co aa7435064a Called super.setUp and super.tearDown. To ensure auto fail is called.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367489 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 05:21:19 +00:00
Patrick Edward Lapus Villacorta a9e047d92e Add auto fail support when test hangs
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367460 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 02:00:27 +00:00
Hiram R. Chirino f2669a70a6 don't close the connection on a async error since we are not sure that it was connection failure. It may just have been a failed operation (security constrain or something).
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367409 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 21:55:53 +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
Hiram R. Chirino c59246d5ed - Changed the command id objects so that they do not use fields that have the same name as the class (for the .net folks)
- Added a ConnectionError command that can be used to notify a connection of async errors associated with the connection.
- 

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367341 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 17:21:52 +00:00
James Strachan 42ec94a247 Latest generated Java code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367322 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 16:08:51 +00:00
James Strachan fd32d5612c updated the C# generation scripts to create valid C# code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367310 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 14:58:16 +00:00
James Strachan 4afa5d6f09 added the numeric values from CommandTypes to the annotations for generation of other languages
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367276 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 11:31:05 +00:00
Adrian T. Co fa63d9091f Minor change to toString and System.out
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367254 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 09:40:06 +00:00
Adrian T. Co 579a1d4130 - Added test cases for multiple brokers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367253 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 09:39:12 +00:00
Adrian T. Co 52aeaa2965 Fix splitting of components.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367158 13f79535-47bb-0310-9956-ffa450edef68
2006-01-09 01:50:28 +00:00
James Strachan 10681a29b8 nearly building OpenWire.Net; much closer now
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366723 13f79535-47bb-0310-9956-ffa450edef68
2006-01-07 13:46:58 +00:00
James Strachan 034949a481 use helper methods to read the primitive nested types like BrokerId
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366551 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 19:18:02 +00:00
James Strachan 2942846abc closer to compilable OpenWire.Net classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366549 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 19:11:45 +00:00
James Strachan d51d772352 more fixes for OpenWire.Net; getting close to compiling :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366542 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:53:56 +00:00
James Strachan ccd1113a79 updated OpenWire.Net generation script
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366539 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 17:31:28 +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
Adrian T. Co 6285f96b15 Reset checking for successful test every test setUp.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366443 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 07:13:28 +00:00
Adrian T. Co d265b31385 Wrong size read causing hangup.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366398 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 03:04:54 +00:00
Hiram R. Chirino 04968b6811 We now optimize out persisting persistent messages to a topic if it does not have any durable consumers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366274 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 20:39:41 +00:00
Hiram R. Chirino 013f37294e - Refactored out introspection based toString() logic to the IntrospectionSupport class
- Durable subscriptions are now eagerly loaded when a topic is created.
- Fixed the *TransactionTest 

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366220 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 17:09:05 +00:00
James Strachan d7f91463d6 enabled the hash bucket based implementation of MessageGroupMap by default and made the bucketCount configurable in the destination policy map
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366208 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:58:49 +00:00
James Strachan e1d4780221 minor refactor to allow pluggable MessageGroupMap implementations so that we don't have to keep around every single GroupID in RAM if we don't want to (which could very easily become a RAM leak) and can use a provider which uses hashbuckets instead.
added an initial implementation of a hashbucket based MessageGroupMap which should be fine; am waiting on a unit test run to complete before I dare enable it by default :)

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366204 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:36:07 +00:00
Hiram R. Chirino 71bd33d3ec Fix SQL statement.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366203 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:35:45 +00:00
James Strachan ab1d1afc1c fixed test case to close down the connection in between test cases to avoid duplicate clientID exceptions
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366199 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 15:23:18 +00:00
Robert Davies ef3b50e18b when sending - use quality of service applicable to message and subscriber
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366191 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 14:58:35 +00:00
James Strachan 95a2aa6b8f fixed reconnection test which was creating a new connection with a client ID before closing the previous one which threw the InvalidClientIDException
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366188 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 14:48:09 +00:00
Robert Davies c68a1460ba Fix for AMQ-464
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366176 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 13:04:31 +00:00
James Strachan f0454b1e88 part of the fix for AMQ-286 to allow the redelivery policy to be configured on a consumer
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366170 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 12:21:24 +00:00
James Strachan c5b3802c61 made it easy to copy a RedeliveryPolicy
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366151 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:43:17 +00:00
Adrian T. Co 34cadafaab Change subtractive query to use -xQ and --xobjname instead of !. Having trouble using ! in linux.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366145 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:04:04 +00:00
Adrian T. Co 04e2cdcf3f - Added wildcard searching using query. (i.e. -QTopic=*Advisory*, -QQueue=TEST.???)
- Added subtractive searching using query. (i.e. query -QTopic=* -Q!Topic=ActiveMQ.Advisory.*) will get all topics, but filter out advisory topics.
- Added querying using similar to object name format. (i.e. query --objname Type=*Connect*,BrokerName=BROKER_1 --objname !Type=NetworkConnector) will select all connection and connector belonging to BROKER_1. It will filter out all network connectors.
- Performed a little code restructuring.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366120 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 08:26:37 +00:00
James Strachan c8d74e7113 removed RedeliveryPolicy from openwire and moved into the client package
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366118 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 08:22:59 +00:00
Hiram R. Chirino 9b64c37c4c Added a SubscriptionInfo[] getAllSubscriptions() to the TopicMessageStore. We will need this if we want to eagerly load the durable subs when the broker starts up.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365993 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 21:09:16 +00:00
Hiram R. Chirino 27329abdcb don't log a message when the WireFormatInfo comes in from the other side.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365966 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 18:41:16 +00:00
Hiram R. Chirino e6efdb1955 Fix the security test.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365965 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 18:39:23 +00:00
Hiram R. Chirino c0edaf0532 Use the jdbc catalog to avoid displaying warning messages on startup when the activemq tables allready exist.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365954 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 17:40:32 +00:00
Hiram R. Chirino 3852a53f3e use "Topic." rather than "topic://" as the separator when making advisories. This makes it easier for folks to use * notation.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365941 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 16:49:43 +00:00
James Strachan de231491a7 added test case and fix for AMQ-463 to test for duplicate clientIDs connecting
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365917 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 14:42:24 +00:00
James Strachan c62a775af4 added more edge cases to the DestinationMap test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365890 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:53:14 +00:00
James Strachan 8b28367f3d fixed the DestinationMap so that it can hold queues and topics with the same name without intermixing the two trees
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365888 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:42:21 +00:00
James Strachan 0a8efc977b added test case to show the use of individual dead letter strategy via XML
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365885 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:32:07 +00:00
James Strachan 8f22cfa4fc make destinations sortable
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365883 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:31:15 +00:00
James Strachan 664b534be5 fixed edge cases in DestinationMap
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365882 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:30:40 +00:00
Adrian T. Co 6cbd6d2e8d Added adding of started broker to lists of brokers.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365876 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 09:58:35 +00:00
Adrian T. Co b70c8d1cb2 Re-included the means to prevent the main thread from exiting until the vm is exited elsewhere (either Ctrl+C, terminateJVM, etc.)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365865 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 08:48:41 +00:00
Hiram R. Chirino 050637cdf6 use the BrokerFactory to create BrokerService objects
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365746 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 21:01:10 +00:00
Hiram R. Chirino 6027d2aee9 generated resources were not being copied to target/classes
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365740 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 20:47:18 +00:00
Hiram R. Chirino 7dbbe0c854 Fix test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365713 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 18:55:54 +00:00
Hiram R. Chirino a4618caf0c better pom for m2
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365712 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 18:54:54 +00:00
Hiram R. Chirino d9987ffd31 The roundrobin test was failing on slow machines because the prefetch size was too small so the round robined
distribution was not equals since the slow consumer's prefetch window would fill up and other consumers would
unevenly get more messages.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365537 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 04:35:23 +00:00
Hiram R. Chirino 161448a5e3 The SimpleDispatchPolicyTest and RoundRobinDispatchPolicyTest were failing on my single proc powerbook.
The parent of the MessageIdList was being called before the clild had processed the message which
cause the test to not wait till the childeren had processed the messages so tests would fail 
due to short counts.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365367 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 16:05:31 +00:00
Hiram R. Chirino ef64a25b9f Better test setup
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365280 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 02:50:00 +00:00
Hiram R. Chirino 6bdfbf3d73 This fixes the timing issues that the RecoveryBrokerTests were having.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365277 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 02:12:56 +00:00