1995 Commits

Author SHA1 Message Date
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
Adrian T. Co
16f7f2f9a2 Fix compile problem by adding log4j to list of dependencies
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@531320 13f79535-47bb-0310-9956-ffa450edef68
2007-04-23 03:24:36 +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
Alan Cabrera
538b23bdeb AMQ-1218 added version to xbean plugin
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@524276 13f79535-47bb-0310-9956-ffa450edef68
2007-03-30 21:17:31 +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
James Strachan
5ef2a30e91 Removed incubating disclaimer
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@516355 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 10:27:09 +00:00
Hiram R. Chirino
cb9118e80a Puting the test-jar in a test scope
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@516035 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 13:24:30 +00:00
Hiram R. Chirino
7a69a9f78e Added some missing licence headers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@515935 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 06:16:13 +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
c466a044a6 Moved back to 3.0.0 of activeio as its based on java 1.4
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@513662 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 08:56:47 +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
8780dba3f4 Disabled some maven reports to avoid CI servers running out of memory
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@513386 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 15:33:27 +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
37f91a3745 Use the latest activeio version
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@512687 13f79535-47bb-0310-9956-ffa450edef68
2007-02-28 10:06:52 +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
df4309b45d Added patch for AMQ-1099
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511940 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 18:17:58 +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
Hiram R. Chirino
f3b1549921 r234@34: chirino | 2007-02-23 14:47:41 -0500
When a message send blocks on a destination level usage manager, it blocks all publishers on the same connection even publishers that are publishing to destinations who's limits have not been reached.  In some scenarios, this can result in a deadlock since it prevents publishing to a destination that could otherwise receive messages.
 
 This patch delays sending the repsone to sync publishers until the destination usage allows the message to be sent but does not block on the send.  This allows other producers on the same connection to get serviced but flow controls the producers on full destinations by delaying the send response.
 
 In order to take advantage of this new producer flow control which avoid the described deadlock, sync sends must be used.  To force sync sends for all send requests, a new 'useSyncSend' option should be set to true on the ActiveMQConnectionFactory.  
 
 Hopefully a future version this patch will be developed that provides the same feaure but works with async sends and a producer ack to flow control the producer.
 
 


git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@511078 13f79535-47bb-0310-9956-ffa450edef68
2007-02-23 20:22:24 +00:00
Hiram R. Chirino
5b7d073b4e Protect against npe
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@509309 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 19:37:10 +00:00