Commit Graph

376 Commits

Author SHA1 Message Date
Darwin G. Flores b182afbe46 git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386808 13f79535-47bb-0310-9956-ffa450edef68 2006-03-18 04:31:17 +00:00
Adrian T. Co 4f7235d964 - Setup keystores for ssl used by ConfigTest.java
- Prevented NullPointerException in MemoryPersistenceAdapter

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386769 13f79535-47bb-0310-9956-ffa450edef68
2006-03-18 00:13:56 +00:00
Adrian T. Co 9920d70580 - Send the ConnectionInfo first before sending the BrokerInfo in the DemandForwardingBridge, so it would work in http.
- Enabled the TwoBrokerTopicSendReceiveUsingHttpTest.
- Added a sleep to the test to give jetty enough time to setup before sending messages.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386738 13f79535-47bb-0310-9956-ffa450edef68
2006-03-17 22:09:11 +00:00
Adrian T. Co 89ac08c57f - Added activemq-optional.jar to the assembly module dependency.
- Corrected broker name in config files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386480 13f79535-47bb-0310-9956-ffa450edef68
2006-03-16 23:15:30 +00:00
James Strachan 09de5a2481 switched default stomp port back to 61613 (thanks for the suggestion brian :) to avoid causing surprises for folks using stomp on 3.x or using the existing ruby stomp client. See AMQ-634 for more details
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@386208 13f79535-47bb-0310-9956-ffa450edef68
2006-03-15 23:18:24 +00:00
Hiram R. Chirino bca8575209 set the eol style so that it matches the platform they are targeted for.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@385593 13f79535-47bb-0310-9956-ffa450edef68
2006-03-13 16:41:38 +00:00
Hiram R. Chirino be50d8699c Applying patch http://jira.activemq.org/jira/secure/ManageAttachments.jspa?id=23767
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384957 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 23:52:45 +00:00
Hiram R. Chirino c4e99fe48b - Fix NPE due to JMX problem
- Made the maven setting a little more eclipse freindly.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384438 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 05:41:08 +00:00
Hiram R. Chirino 6583ef1821 I wish I could have commited this in smaller chunks
- Added support for the openwire loose encoding to the .NET port
- Fixed the InactivityMonitor, it was timing out conections too often and testcase for it would fail intermitently
- Improved the wire format option negociation phase.  
   - We now gaurd to sending the WireformatInfo, so it's only sent once even if the start method is called multiple times.  
   - We now wait for the WireFormatInfo to be sent before reconfiguring the WireFormat with the new negociated options
   - Option negociation is now simpler to understand:
     - The WireFormatInfo is allways sent with all options turned off
     - Once WireFormatInfo's are exchanged, we enable the options on the WireFormat that both sides enabled.
 



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384390 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 00:41:39 +00:00
James Strachan f692aa3781 added slow consumer config
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384181 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 11:02:40 +00:00
James Strachan d0466165c8 disabled JMX for test case so the test works if we enable JMX globally
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@384180 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 11:01:48 +00:00
James Strachan 3e30fec10b deleted old cruft and updated the activemq.xml to support stomp
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383823 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 09:00:56 +00:00
Hiram R. Chirino cd0fb615de Adjusted openwire generators
- Got .NET working again after bing WireFormat change
 - Fixed generated indenting for the java and csharp stuff.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@383767 13f79535-47bb-0310-9956-ffa450edef68
2006-03-07 04:14:27 +00:00
Hiram R. Chirino da26ccbd32 added another option that allows you to basically drain a destination for while messages are being produced.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382964 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 23:21:37 +00:00
Hiram R. Chirino 7f5213ba99 Standardize on throwing Exception instead of Throwable, we were using both forms throught the API
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@382869 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 15:36:38 +00:00
Hiram R. Chirino be2ae6669b did some more svn:eol-style property setting
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379624 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 23:30:38 +00:00
Hiram R. Chirino 4d00a1a311 did some more svn:eol-style property setting
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379623 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 23:28:33 +00:00
Hiram R. Chirino a107823dc3 Did a bunch of svn:eol-style property setting
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379619 13f79535-47bb-0310-9956-ffa450edef68
2006-02-21 23:12:56 +00:00
Adrian T. Co 0e9ff43c74 Fix for AMQ-579, where other command parameters are not being parsed by bstat.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@379092 13f79535-47bb-0310-9956-ffa450edef68
2006-02-20 11:20:36 +00:00
Robert Davies dfc025b6ce added a sleep after consumers are added and before sending messages
to ensure subscriptions are propagated

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378730 13f79535-47bb-0310-9956-ffa450edef68
2006-02-18 15:25:28 +00:00
Jonas B. Lim 8b07914259 test case to check sending and receiving of messages inside a transaction (http://forums.activemq.org/posts/list/364.page)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378483 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 11:05:10 +00:00
Frederick G. Oconer 4dd80d3369 Bug: error is throw with the sample config of MySQL.
Fix: set relaxAutoCommit to true on url under MySQL sample config.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378435 13f79535-47bb-0310-9956-ffa450edef68
2006-02-17 05:21:26 +00:00
Hiram R. Chirino af44528f9f Previous commit ad deleted too many files. I think I got it right now.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378152 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 03:34:11 +00:00
Hiram R. Chirino f58a497c16 reverting previous commit
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378151 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 03:29:03 +00:00
Hiram R. Chirino a6f34a95e6 these samples were invalid since they were old style. Remove them for now until we can put together some better examples.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378148 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 03:01:13 +00:00
Hiram R. Chirino 6d333ffb4a Just to be safe, lets also include the LICENSE.txt in the jar files.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@378138 13f79535-47bb-0310-9956-ffa450edef68
2006-02-16 02:02:28 +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 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
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
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 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
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
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
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
Robert Davies 815b6c5d87 Changed api to setBrokerName() on DemandForwardBridge instead of setClientId
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373858 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 16:25:17 +00:00
Adrian T. Co 36a5795fe4 Prevent start task from reading the "start" token as a task parameter
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@373665 13f79535-47bb-0310-9956-ffa450edef68
2006-01-31 01:51:20 +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 1356d1549c Comment out remote jmx refs, for user discresionary use.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@371768 13f79535-47bb-0310-9956-ffa450edef68
2006-01-24 01:49:38 +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
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
Hiram R. Chirino b329273cf4 Fixed up the m2 distribution. only thing not being included yet is the run jar and the amq rar
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369323 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 03:14:10 +00:00
Hiram R. Chirino e997ceef56 explicity adding dependencies to be included in final repo.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@369308 13f79535-47bb-0310-9956-ffa450edef68
2006-01-16 02:08:53 +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
Adrian T. Co 5eff976d28 - Added test case to check if any message dispatch are sent over the bridge even when there is no consumer on the other end
- Added better setup for some to the test case

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@367501 13f79535-47bb-0310-9956-ffa450edef68
2006-01-10 06:14:27 +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
James Strachan be19f9aabd added an example of running an embedded broker in Java code
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366477 13f79535-47bb-0310-9956-ffa450edef68
2006-01-06 11:29:28 +00:00
James Strachan b543609252 increased the number of messages in the test
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366216 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 16:39:32 +00:00
James Strachan f9db4423b1 fixed bad test case that creates 2 connections with the same clientID
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366215 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 16:38:14 +00:00
James Strachan 1eaf1f7274 updated the release's data directory to be something activemq related to help folks know what the directory is
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366167 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 11:35:53 +00:00
Adrian T. Co 45ea6c629b -Added a list script that will list all registered brokers
-Added a bstat script that will run a predefined query to display some broker stats and selected attributes. (i.e. bstat <broker name>, or bstat to display the statistics of all brokers)
- Updated copyright header of script files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366146 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:17:11 +00:00
James Strachan 935ce65968 added test case for AMQ-464
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366119 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 08:25:26 +00:00
Hiram R. Chirino 670a6dcebf Fix http link
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365920 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 14:49:01 +00:00
Hiram R. Chirino 23cae84111 Point to the incubator website instead
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365919 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 14:47:10 +00:00
James Strachan 01bf2d1833 added stomp support by default
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365634 13f79535-47bb-0310-9956-ffa450edef68
2006-01-03 13:56:01 +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
James Strachan 3f574b04fe deleted old test; there is a much better test case of the same name in activemq-core now
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360109 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 15:39:32 +00:00
Hiram R. Chirino 48b4869472 Updated copyright headers to be (c) 2005-2006
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359679 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:15:21 +00:00
Hiram R. Chirino f145aa1f07 moved test resources the m2 directory layout
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359610 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 19:53:40 +00:00
Hiram R. Chirino 42d194eb6f doing package refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359609 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 19:42:01 +00:00
Hiram R. Chirino d46d27da0e switched to a m2 directory layout
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359603 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 19:13:43 +00:00
Hiram R. Chirino 1c14a8bc0e missed this one
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359602 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 19:12:00 +00:00
Hiram R. Chirino 57ca31fbd3 package refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359601 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 19:10:15 +00:00
Jonas B. Lim 92a698fe42 updated headers in source file to use apache header
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@358513 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 06:11:40 +00:00
Adrian T. Co 64034a8a37 Added Brad Fritz's fix to not overwrite ACTIVEMQ_OPTS when defined.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@358441 13f79535-47bb-0310-9956-ffa450edef68
2005-12-22 02:28:27 +00:00
Adrian T. Co 75a6b834b9 Added a basic mean to query the jmx context. Performed a little code restructuring and bug fixing. Type "query --help" for details.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@358241 13f79535-47bb-0310-9956-ffa450edef68
2005-12-21 09:31:18 +00:00
Hiram R. Chirino ac8739860f the useEmbeddedBroker property not needed anymore.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@358057 13f79535-47bb-0310-9956-ffa450edef68
2005-12-20 18:06:28 +00:00
Adrian T. Co 84a0179081 Added broker shutdown mechanism. Some exceptions are being thrown during shutdown, but doesn't seem to cause any problem. Printing of exceptions are currently disabled.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357932 13f79535-47bb-0310-9956-ffa450edef68
2005-12-20 07:15:13 +00:00
Adrian T. Co 22307339a5 Ported tcp test case. Explicitly specify not to use embedded broker in ActiveMQConnectionFactory.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357310 13f79535-47bb-0310-9956-ffa450edef68
2005-12-17 06:13:59 +00:00
Adrian T. Co 77cf351be1 Ported some of the broker network config files to the new xml format. Added initial test cases to test the configurations.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357304 13f79535-47bb-0310-9956-ffa450edef68
2005-12-17 05:49:15 +00:00
Jonas B. Lim 1416f77de3 added test cases to test release's activemq.xml. The test cases perform a publish/consume on both topic and queue.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357139 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 07:20:06 +00:00
Jonas B. Lim 4cb407cc4b committed the wrong file earlier. Also added the correct header
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357126 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 05:48:56 +00:00
Jonas B. Lim df6f3ba32a broker is already started automatically
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@357125 13f79535-47bb-0310-9956-ffa450edef68
2005-12-16 05:41:03 +00:00
Hiram R. Chirino 9b1345bb32 - Updated the config xml to use new discovery syntax.
- Using specific version of activeio as that may change a bit soon.
- The vm transport now support specifing a broker config file: vm://localhost?brokerConfig=xbean:/path/to/config/file
- Starting the JMX connector was taking a LONG time to start up... so I switch to starting it up async.
- The object name for a managed transport connection could be invalid so we now encode the name so that it's not.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356616 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 21:02:04 +00:00
James Strachan e73312534d add the conf directory to the classpath so that the release finds the log4j.properties file
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356526 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:26:19 +00:00
James Strachan 729ff22a4b fixed bad configuration file for the release
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@356525 13f79535-47bb-0310-9956-ffa450edef68
2005-12-13 16:24:28 +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