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
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
James Strachan
166ce1f5f4
Fix for AMQ-435
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366164 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 11:26:43 +00:00
James Strachan
99a45e3f84
Fix for AMQ-435
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366163 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 11:25:03 +00:00
James Strachan
cc1de0e202
fix for AMQ-348 to allow a ConnectionFactory to be specified so it can be shared across inbound and outputbound messaging
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366161 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 11:14:38 +00:00
James Strachan
e310c21a8d
applied patch from AMQ-356
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366156 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:55:13 +00:00
James Strachan
f73e2097dd
tidied up code a little
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366153 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:51:12 +00:00
James Strachan
205ac1188a
allow customisation of the redelivery policy and prefetch policy on the ActiveMQ ResourceAdapter and ActiveMQManagedConnectionFactory and fix AMQ-467
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366152 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 10:44:52 +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
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
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
James Strachan
aac5e5acf2
removed redeliverypolicy from the openwire protocol
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@366136 13f79535-47bb-0310-9956-ffa450edef68
2006-01-05 09:30:29 +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
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
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
Hiram R. Chirino
a250442df4
use xbean 2.1
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365940 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 16:48:18 +00:00
Hiram R. Chirino
2c29a3a5f2
Cleaning up excluding uneeded jars from final assembly
...
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@365924 13f79535-47bb-0310-9956-ffa450edef68
2006-01-04 15:03:13 +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
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
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