Commit Graph

218 Commits

Author SHA1 Message Date
Alan Cabrera 673f323e18 Modified to compile under JDK14
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360499 13f79535-47bb-0310-9956-ffa450edef68
2006-01-01 17:21:13 +00:00
Hiram R. Chirino 61ab31e758 imporoved the advisory message being sent by topics when no consumer is listening:
- It sends it non transactional
 - It does does not block due to flow control

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360329 13f79535-47bb-0310-9956-ffa450edef68
2005-12-31 16:50:52 +00:00
Hiram R. Chirino 77dd8fb71d use a tighter wait() based on the remaining time
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360323 13f79535-47bb-0310-9956-ffa450edef68
2005-12-31 16:48:55 +00:00
Hiram R. Chirino 14f96a9e6f The testcase would wait for all the messages to arrive. But in the topic case the total number of messages computed was wrong and the test would not wait long enough.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360318 13f79535-47bb-0310-9956-ffa450edef68
2005-12-31 16:33:49 +00:00
Hiram R. Chirino 3516e1005a better tearDown: allows setup and tear down to be call multiple times in a single testcase.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360315 13f79535-47bb-0310-9956-ffa450edef68
2005-12-31 16:30:26 +00:00
Guillaume Nodet 8eda6575ae Fix scm infos for main pom
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360270 13f79535-47bb-0310-9956-ffa450edef68
2005-12-31 11:27:37 +00:00
Guillaume Nodet 1cd585e00e Add scm info to activecluster
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360266 13f79535-47bb-0310-9956-ffa450edef68
2005-12-31 10:48:23 +00:00
Hiram R. Chirino 7703aeef0c not sure why.. but these guys are passing for me now.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360197 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 23:33:46 +00:00
Hiram R. Chirino 3d95025a47 Depending on the test configuration parameters, it was possible to get an OutOfMemory error. The causes were:
- The MessageList was holding on to all the messages being consumed, changed this so that it only holds on to the messageIds
 - Was using a non persistent broker, but was sending it persistent messages, in the topic case, he holds on to the messages in a memory based message store.  By default we now send non persistent messages.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360195 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 23:25:03 +00:00
Hiram R. Chirino 022cd57b30 Updated/Added more apache copyright headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360189 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 22:51:06 +00:00
Hiram R. Chirino 23d73299a1 updated the licence file to be the full ASL 2.0 text
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360187 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 22:46:28 +00:00
Hiram R. Chirino 1f1b27068d Added to svn:ignore list
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360184 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 22:41:59 +00:00
Hiram R. Chirino 1e01cdd00c Updated/Added more apache copyright headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360183 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 22:40:09 +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 e7246d9327 Make the default thread pool create deamon threads
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360169 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 21:27:21 +00:00
Hiram R. Chirino 475925394a Fixed the QueueSubscriptionTest. When multiple producers would pound all at once at a destionation. Some messages would not get dispatched. Due to timing issue with the consumer list held by the destination.
Added some more synchronization blocks and now everything is happy again.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360167 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 21:14:03 +00:00
Hiram R. Chirino 90e21b4e8f Modified the BrokerInfo so that the redelivery policy is now purely configured on the client side. Also the connection's transport
is not started until the connection if fully configured now.



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360140 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 18:48:31 +00:00
James Strachan 1f3f80cf77 fixed bug in test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360135 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 18:36:29 +00:00
James Strachan de7f650b16 avoid possible NPE; only set the redeliveryPolicy if there is one configured
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360132 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 18:25:15 +00:00
Hiram R. Chirino 80f5e0ced1 Fixed https://jira.logicblaze.com/jira/browse/AMQ-460
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360127 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 18:09:24 +00:00
James Strachan eac597346c allows for the specifying of ActiveMQ specific connection headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360111 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 15:55:20 +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
James Strachan 10c6b2964f added test cases to demonstrate shared and individual DLQ strategies; which highlight a bug in the rollback logic in the client
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360108 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 15:36:19 +00:00
James Strachan ffb9d2aabb allow the RedeliveryPolicy to be configured on an ActiveMQConnectionFactory
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360105 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 15:34:31 +00:00
James Strachan 88203aea9b added the ability to configure the DLQ policy on a per destination basis; either use 1 global DLQ for all messages or use 1 DLQ for a bunch of messages via a wildcard PolicyEntry or use an individual DLQ per destination (which again can be attached to a wildcard via a PolicyEntry)
fixes AMQ-459

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360089 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 14:05:51 +00:00
James Strachan 20b343110c added test case to show the configuration of prefetch sizes in Stomp using header "activemq.prefetchSize: 1"
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@360062 13f79535-47bb-0310-9956-ffa450edef68
2005-12-30 10:24:55 +00:00
James Strachan f1dc4779c5 tidied up the test cases a bit
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359856 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 17:26:35 +00:00
James Strachan 625856e3a7 updated the max heap size for test cases
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359849 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 17:08:45 +00:00
James Strachan f051364d6b updated javadoc
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359832 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 16:08:59 +00:00
James Strachan 312f2489a3 fixed up test cases after they broker with the MessageList refactor
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359830 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 16:07:01 +00:00
James Strachan b49256b2e5 refactored the test case to use MessageList to avoid timing issues
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359827 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 15:46:09 +00:00
James Strachan 27f7cab3e8 added test case to show AMQ-458 working
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359819 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 15:17:19 +00:00
James Strachan c2408b8997 enable by default that non-persistent topic messages which have no consumers are sent to a dead letter topic
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359800 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 14:12:46 +00:00
Adrian T. Co ff457e227a - Added test support for multiple consumers and producers
- Added test cases for queue and topic subscriptions
- Added test cases for the different dispatch policies

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359769 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 10:07:55 +00:00
Hiram R. Chirino 13266c83c4 Changed the META-INF location searched so that it follows the META-INF/services pattern that activemq uses.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359690 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:58:23 +00:00
Hiram R. Chirino 8baeff5c71 Changed the META-INF location searched so that it follows the META-INF/services pattern that activemq uses.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359689 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:58:15 +00:00
Hiram R. Chirino 11fcdd83be Changed the META-INF location searched so that it follows the META-INF/services pattern that activemq uses.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359688 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:57:53 +00:00
Hiram R. Chirino 05e97d1d18 disable optional modules from build by default
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359686 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:45:17 +00:00
Hiram R. Chirino a759a94e42 added to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359685 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:44:03 +00:00
Hiram R. Chirino 695a106269 Updated copyright headers
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359684 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:42:32 +00:00
Hiram R. Chirino e5a9481822 added to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359683 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:40:43 +00:00
Hiram R. Chirino 4a107f287e More copyright header adjustments.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359681 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:37:56 +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 66b86ab5ef added missing files and updated copyright header.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359675 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:10:15 +00:00
Hiram R. Chirino 88d58577a9 use new package names.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359673 13f79535-47bb-0310-9956-ffa450edef68
2005-12-29 02:01:51 +00:00
Hiram R. Chirino 472bb709c0 Moved the gbean modules under that sanbox since they are still not operational
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359638 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 20:50:08 +00:00
Hiram R. Chirino c901884014 Updated to use new activemq package names
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359637 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 20:49:18 +00:00
Hiram R. Chirino 9141677e4a added to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359636 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 20:42:07 +00:00
Hiram R. Chirino fc531ad6b5 added to svn:ignore
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359635 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 20:39:45 +00:00
Hiram R. Chirino 19e43a634c directory cleanup
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@359633 13f79535-47bb-0310-9956-ffa450edef68
2005-12-28 20:36:35 +00:00