James Strachan
b72c28b8a6
added JDBC driver for Sybase for AMQ-1204
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518296 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 19:58:31 +00:00
James Strachan
7162f01b75
default the usageManager to 64Mb rather than the measily 20m :)
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@518260 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 18:37:31 +00:00
Robert Davies
fbd22b637c
test for converting Properties to and from a String
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517764 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 16:39:46 +00:00
Robert Davies
ae73f860b9
working towards a solution for http://issues.apache.org/activemq/browse/AMQ-920
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517753 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 16:19:58 +00:00
James Strachan
1d9737d577
updated javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517748 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 16:08:10 +00:00
Robert Davies
4741136695
add method to retrieve the URI used by the local VMTransport
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517741 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 15:53:24 +00:00
James Strachan
a51a7d53e2
added a helper method to access the current singleton broker
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517687 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 13:24:23 +00:00
James Strachan
ea42012ef1
added a file: based handler for the broker factory
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517671 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 12:47:19 +00:00
James Strachan
0ae6a1d6aa
added helper method
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517659 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 12:08:25 +00:00
Robert Davies
93d1087726
flush messages into journal on stop
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517567 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 06:56:08 +00:00
Robert Davies
0527ebacc9
increment reference count on send
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517264 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 15:49:58 +00:00
Hiram R. Chirino
7de0e81995
Porting over tests in the 4.1 branch and updated the UsageManager so that if a Limit is set, then
...
it is used instead of being % based off the parent.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@517222 13f79535-47bb-0310-9956-ffa450edef68
2007-03-12 14:01:01 +00:00
Robert Davies
c0af1f5116
resolved class cast exception
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516756 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 17:38:46 +00:00
Robert Davies
e8b12e4eaf
initialize brokerInfo
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516664 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 08:31:49 +00:00
Hiram R. Chirino
fb3b6dba57
Enhanced the ActiveMQConnection to use the CommandVisitor instead of using a big if swtich
...
when handling commands from the broker. This should be slightly more efficient.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516492 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 18:23:44 +00:00
Hiram R. Chirino
4207bd9cc0
Adding the bits need to do producer flow control with a window to the broker. Just implemented on the Queue case for now.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516475 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 17:29:30 +00:00
Robert Davies
9a79d3411d
set duplex property
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516450 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 16:34:32 +00:00
Hiram R. Chirino
4569d7d28d
Refactor so that the ProducerBrokerExchange is passed all the way down to the Topic and Queue implementations.
...
This is laying the ground work to implement window based producer flow control.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516444 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 15:59:14 +00:00
James Strachan
82201d28dd
Use the broker name in the directory used for the AMQStore and temp-store area
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516439 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 15:47:05 +00:00
Robert Davies
dda3e2a429
added isStoreValid() method - used by AMQStore to determine if references need to be rebuilt
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516408 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 13:30:33 +00:00
James Strachan
cb3becf3c4
avoid NPE I was getting in the web console
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516401 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 12:48:36 +00:00
Robert Davies
ba54ee86b2
added toString() method
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516315 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 06:38:06 +00:00
Robert Davies
b5a42599b1
use async=false for now
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516169 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 20:35:26 +00:00
Hiram R. Chirino
c9bb1c97b2
Adding the client side bits needed to implement producer flow control using a window. Currently disabled since
...
the server side bits still need implementing.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516139 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 18:44:03 +00:00
Robert Davies
67fd739b3a
Delete duplicate and redundant tests
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516113 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 17:30:46 +00:00
Robert Davies
57ea011bee
ensure connection state (e.g. consumers) are delivered before testing message consumption
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516104 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 17:16:18 +00:00
Robert Davies
2a6a441fb0
ensure connections are closed (so all messages are fludshed to the broker) before testing message delivery
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516067 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 15:14:45 +00:00
Robert Davies
1d846a9e61
ensure connections are closed (so all messages are fludshed to the broker) before testing message delivery
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516063 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 14:53:40 +00:00
Hiram R. Chirino
885c379914
Set the eol-style to native
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516048 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 14:20:29 +00:00
James Strachan
e935c5ad3b
added some extra properties to the MessagePull command for when we implement AMQ-1196
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516040 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:38:40 +00:00
Robert Davies
eeafa1cfef
use request() instead of send()
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516039 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:28:59 +00:00
James Strachan
e39a679d2f
fix broken test case
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516038 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:28:58 +00:00
Robert Davies
d7a14830c7
use request() instead of send()
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516034 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:19:03 +00:00
James Strachan
544ffe9dce
re-enabled some tests and tinkered to make a frew work better
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516031 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:11:12 +00:00
James Strachan
222dd260e6
fixed javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516030 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:09:25 +00:00
Robert Davies
12fa4de5c6
ensure connections are closed (so all messages are fludshed to the broker) before testing message delivery
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516012 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 11:16:12 +00:00
Robert Davies
c97b97ed88
close connection before restarting the broker
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516008 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 10:59:29 +00:00
Robert Davies
8ad375ff60
on close() don't storeState in synchronized block - as it can lead to a deadlock
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@516007 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 10:58:41 +00:00
Robert Davies
da13d596a5
use async dispatch for vm:// transport by default
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515999 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 10:22:22 +00:00
James Strachan
a08a4a84c7
fix for QueueSubscriptionTest and SimpleDispatchPolicyTest
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515996 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 10:13:29 +00:00
James Strachan
dccd381c8f
fix for AMQ-1193
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515963 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 08:23:06 +00:00
Robert Davies
825447a615
close connection required in some tests before the broker is re-started
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515940 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 06:29:04 +00:00
Hiram R. Chirino
1a3f54c93f
Expose the wire format protocol to the ActiveMQConnection and TransportConnection objects
...
so that they know when then can use more advanced protocol options. This will be needed
to implement producer flow control acking.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515863 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 00:22:18 +00:00
James Strachan
10185cadd7
fix to avoid NPE
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515746 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 20:53:24 +00:00
Robert Davies
2a3fddbdea
with AMQPersistenceAdapter being the default now- these tests are redundant
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515712 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 19:41:36 +00:00
James Strachan
618396d459
rolled back change for AMQ-944 which breaks multicast group names
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515689 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 18:37:40 +00:00
Robert Davies
2ca08ce701
allow thread stack size to be configurable
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515682 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 18:27:25 +00:00
James Strachan
f8d86bce28
fixed bad failing test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515657 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 17:37:13 +00:00
Hiram R. Chirino
ec14f6569d
Added a new windowSize field to the ProducerInfo command and added a new ProducerAck command. These will be needed to implement better producer flow control
...
where threads do not block on the broker side.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515654 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 17:23:07 +00:00
Robert Davies
b3bbb9c2ea
check messageId when removing ConsumerMessageRef (pesky redo logs can add/delete things - breaking the assumption we always get a nice ordered behaviour for durable subs)
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515630 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 16:15:08 +00:00