Commit Graph

11438 Commits

Author SHA1 Message Date
Hiram R. Chirino d15e8dff27 don't include jmdns in the rar
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365916 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 14:42:13 +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 ff24745f93 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@365884 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 10:32:03 +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
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 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
Alan Cabrera d06b32bab3 PR: AMQ-461
Submitted by: Bill Dudney
m2 poms need patches

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365390 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 18:35:24 +00:00
Alan Cabrera 2e60c79194 Updated some props
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365389 13f79535-47bb-0310-9956-ffa450edef68
2006-01-02 18:32:29 +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
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