1151 Commits

Author SHA1 Message Date
Hiram R. Chirino
16556f17aa clientMaster should default to true
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@580376 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 14:46:49 +00:00
Hiram R. Chirino
197845c046 Adding missing files that did not get commited in last patch applicaiton.
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@572972 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 15:39:36 +00:00
Jonas B. Lim
960f4a7706 fix for https://issues.apache.org/activemq/browse/AMQ-1365
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@568868 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 07:46:45 +00:00
Jonas B. Lim
e3a13763e6 patch for https://issues.apache.org/activemq/browse/AMQ-1319 and https://issues.apache.org/activemq/browse/AMQ-1322
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@559023 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 12:32:09 +00:00
Jonas B. Lim
9b5acf4fa1 patch for https://issues.apache.org/activemq/browse/AMQ-1320
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@559015 13f79535-47bb-0310-9956-ffa450edef68
2007-07-24 11:55:17 +00:00
Jonas B. Lim
08b638da13 patch applied for https://issues.apache.org/activemq/browse/AMQ-1302
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@551880 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 13:03:53 +00:00
Jonas B. Lim
eb9f1d02c7 patch applied for https://issues.apache.org/activemq/browse/AMQ-1300
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@551847 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 11:00:27 +00:00
Adrian T. Co
20ee10ed77 Aliased the 4.1.2 xsd, instead of just 4.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@547279 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 15:28:23 +00:00
Adrian T. Co
e5a41a148a Backported spring configuration fix to 4.1.
https://issues.apache.org/activemq/browse/AMQ-1276

git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@547274 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 15:18:31 +00:00
Adrian T. Co
4161819944 Backported fix for http://issues.apache.org/activemq/browse/AMQ-1014
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@546754 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 06:47:15 +00:00
Adrian T. Co
dc8cd47669 Updated the branch to use xbean-3.0 and also ported the spring test
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@545463 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 09:27:11 +00:00
James Strachan
148a2a0437 Amended patch for AMQ-1235 to not depend on Java 6
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@534050 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 13:04:05 +00:00
Hiram R. Chirino
156479e213 Applied patch https://issues.apache.org/activemq/browse/AMQ-1235
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@533739 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 13:14:25 +00:00
James Strachan
fb72e6cc72 Backported fix for JDBC master/slave from trunk to 4.1 branch for AMQ-1236
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@533725 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 12:41:11 +00:00
Hiram R. Chirino
38afec2a7b Tweaked some tests so that they are more resiliant against thread schedualing variations
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@524780 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 13:43:03 +00:00
Hiram R. Chirino
5dde5562a9 Use a latch so that the getBrokerName() call is moreforgiving of connection establishment timing issues.
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@524779 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 13:39:40 +00:00
Hiram R. Chirino
64669eda8b Make the test more forgiving of thread schedualing variations
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@524265 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 20:40:51 +00:00
James Strachan
c2280ed5fd Backported fix for AMQ-992
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@518164 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 14:53:16 +00:00
James Strachan
04c5a67344 Backporting fix for AMQ-992
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@518161 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 14:50:08 +00:00
Hiram R. Chirino
0ffac9b22b Set the eol-style to native
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@515927 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 05:24:44 +00:00
Hiram R. Chirino
dfdbfd0c1c Fix for https://issues.apache.org/activemq/browse/AMQ-1189
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@515631 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 16:15:43 +00:00
James Strachan
0b9c3da7a4 Backported the fix to 4.1 for AMQ-1189
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@515622 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 16:08:28 +00:00
Hiram R. Chirino
2f1e430c26 Better Stomp protocol trace logging support. When the ?transport.trace=true
option is specified on a stomp connector, we now log the Stomp protocol frames instead of the ActiveMQ command objects.



git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@515282 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 20:20:20 +00:00
James Strachan
7f9bbbc28e Avoided Java 5 code
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@513669 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 09:11:57 +00:00
James Strachan
49abc1b954 Disabled a couple more tests that'll get fixed in trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@513645 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 07:39:59 +00:00
James Strachan
b53e51061c Disabled another test from the 4.1 branch which will be fixed in trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@513257 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 10:20:52 +00:00
Dain Sundstrom
d458a7943c If thread context class loader is null use the class loader of the FactoryFinder class
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@512994 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 21:45:52 +00:00
James Strachan
b47be19b5f Disabled a couple more tests that'll get fixed in trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@512888 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 18:14:59 +00:00
James Strachan
db811a5016 removed incubator from version numbers and removed the incubating disclaimers
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@512662 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 08:46:39 +00:00
James Strachan
179cfd833d Disabled tests with timing issues in them for 4.1 branch; they will get fixed in trunk
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@512256 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 14:00:23 +00:00
Hiram R. Chirino
429c24b146 Adding test case in AMQ-1165
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@512103 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 01:32:45 +00:00
James Strachan
669415cfa2 applied patch for AMQ-1128
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511915 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 17:35:42 +00:00
James Strachan
722f69fa96 Backported fix for AMQ-1077
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511905 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 17:08:09 +00:00
James Strachan
810a54fea8 backported fix for AMQ-1119
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511900 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 17:04:52 +00:00
Hiram R. Chirino
181d9a97bc Fix for AMQ-1165
Made the broker side timestamping 'feature' (which is a JMS spec bug) and optional broker plugin that can be enabled if a user really wants to have the broker timestamping behaviour.



git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511463 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 08:29:03 +00:00
Hiram R. Chirino
7f7cd502fc r249@34: chirino | 2007-02-23 14:50:22 -0500
Don't send a response back if the broker requested that we don't send it.
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511093 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:26:16 +00:00
Hiram R. Chirino
72b9565153 r248@34: chirino | 2007-02-23 14:50:13 -0500
Fix to avoid a deadlock.  Better synchonization
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511092 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:26:06 +00:00
Hiram R. Chirino
fcb1b83c6b r247@34: chirino | 2007-02-23 14:50:04 -0500
Some more small changes to try to get connections to disconnect in time
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511091 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:25:54 +00:00
Hiram R. Chirino
05d37654df r246@34: chirino | 2007-02-23 14:49:53 -0500
Avoid hanging connection if dispatch fails when shutdowninfo is sent
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511090 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:25:42 +00:00
Hiram R. Chirino
f56d9221ad r245@34: chirino | 2007-02-23 14:49:44 -0500
We now can shutdown a connection that is blocked on send due to queue limits.
 Stats tracking code added recently was causing a NPE at times.  Added a gaurd against the NPE
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511089 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:25:30 +00:00
Hiram R. Chirino
b1783a21ab r244@34: chirino | 2007-02-23 14:49:32 -0500
Fix for Memory limits for topics was not returning to normal after it's consumers are disconnected
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511088 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:25:14 +00:00
Hiram R. Chirino
043edbe4a0 r243@34: chirino | 2007-02-23 14:49:23 -0500
Disconnect failed connections quicker
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511087 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:25:02 +00:00
Hiram R. Chirino
e0a8dede18 r242@34: chirino | 2007-02-23 14:49:14 -0500
Continue to send heart beats even if the machine time is falky. Like time going backwards.
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511086 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:24:45 +00:00
Hiram R. Chirino
6916299290 r241@34: chirino | 2007-02-23 14:49:05 -0500
Fixed some Stream tests that broke a little with the latest changes..
 Added better network flow control.
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511085 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:24:30 +00:00
Hiram R. Chirino
efebbf70b8 r240@34: chirino | 2007-02-23 14:48:56 -0500
Enhanced the JMX stats so that the enqueue and dequeue attributes on the connection object actually reflect what's been enqueued and dequeued on it.  Also fixed stats on Topics so they make sense.  
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511084 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:24:06 +00:00
Hiram R. Chirino
aa829bee7b r239@34: chirino | 2007-02-23 14:48:46 -0500
Sync oneway of a ShutdownInfo from the broker to the client could deadlock the vm transport.  Sending that ShutdownInfo in the async dispatch thread now.
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511083 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:23:49 +00:00
Hiram R. Chirino
e04bd6f0e1 r238@34: chirino | 2007-02-23 14:48:37 -0500
You can now disable a connection from watching topic advisories by setting the 'watchTopicAdvisories' option on the ActiveMQConnectionFactory to true.
 For large networks were lots of temporary topic consumers are being created and destroyed, this can result in lower overhead since those events do not need to get replicated to all the connections on the network. 
 
 This improves the handling of temp  destination over networks but it relaxed a few restrictions to get around timing issues with the networks.  If a message is sent to non-existant temp destination, the temp destination will be created so that the message is not dropped.  This could potentially create temp destinations for connections that will never get re-established.
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511082 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:23:35 +00:00
Hiram R. Chirino
88d56499d9 r237@34: chirino | 2007-02-23 14:48:28 -0500
Fixing memory leak that could occur if a connection attemp is not successful (for example if the broker is down and failover is not being used).
 If the client app loops re-attempting to reconnect and continues to fail, the leak to lead to a OOM exception quickly.
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511081 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:23:08 +00:00
Hiram R. Chirino
579bc65ae3 r236@34: chirino | 2007-02-23 14:48:10 -0500
Flag a ConnectionContext as being a network connection if it sends us a BrokerInfo.
 Disable flow control if the producer is on a network connection.. trying to get around a network deadlock.
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511080 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:22:54 +00:00
Hiram R. Chirino
81ce0d1b4f r235@34: chirino | 2007-02-23 14:47:58 -0500
Fix pooling expiration so that it does not keep creating connections.
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511079 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:22:35 +00:00