Commit Graph

2024 Commits

Author SHA1 Message Date
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
Henri Yandell 80aba76121 ActiveMQ moving to TLP
git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-4.1@502054 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 00:03:05 +00:00
Hiram R. Chirino 89d39bbf27 Fix for https://issues.apache.org/activemq/browse/AMQ-1140
We need to make sure that the connection is set on the message so that it knows what compression options to apply



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@501500 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 18:17:09 +00:00
Guillaume Nodet 9a14a4bbf8 AMQ-1107: Upgrade to xbean 2.8 to fix invalid generated schemas
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@489664 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 14:40:37 +00:00
Adrian T. Co 213ffce94d Fix for AMQ-1106: PooledBrokerFactoryBean incorrectly compares broker config resources
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@489409 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 17:12:07 +00:00
Guillaume Nodet 08a32a93b9 Remove system.out call
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@488816 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 21:28:20 +00:00
Hiram R. Chirino 704754defe make the version match.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@482396 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 22:47:54 +00:00
James Strachan fc9ebeb005 Changed CI notification
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@482100 13f79535-47bb-0310-9956-ffa450edef68
2006-12-04 08:17:28 +00:00
Hiram R. Chirino 5bb32abe03 https://issues.apache.org/activemq/browse/AMQ-1078
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@480862 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 07:19:19 +00:00
James Strachan 11266b8df4 Backported the fix for AMQ-1054 to the 4.1 branch
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@480111 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 16:14:28 +00:00
James Strachan 1dde38ee90 zapped the atomikos test case, gonna let svn merge instead
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@480105 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:55:59 +00:00
James Strachan 9eb343b322 Back ported the Atomikos test case
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@480099 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 15:46:43 +00:00
Jonas B. Lim 2eba7ef00a applied patch for http://issues.apache.org/activemq/browse/AMQ-1029
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@477571 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 08:15:44 +00:00
Hiram R. Chirino f4a7b26f28 http://issues.apache.org/activemq/browse/AMQ-1042
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@477357 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 21:42:26 +00:00
Jonas B. Lim 2e44c7e98c applied patch for http://issues.apache.org/activemq/browse/AMQ-959
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@477173 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 13:43:01 +00:00
Jonas B. Lim ea3456e791 applied patch for http://issues.apache.org/activemq/browse/AMQ-1006
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@477068 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 06:22:01 +00:00
Jonas B. Lim 45b71de844 applied patch for http://issues.apache.org/activemq/browse/AMQ-967
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@476525 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 13:42:34 +00:00
Hiram R. Chirino e8e8b43b76 http://issues.apache.org/activemq/browse/AMQ-1057
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@476144 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 14:08:36 +00:00
Adrian T. Co f08fccc5cb https://issues.apache.org/activemq/browse/AMQ-1050
Backported fix to query command to 4.1 branch

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475929 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 21:07:54 +00:00
Adrian T. Co 415b561cf2 https://issues.apache.org/activemq/browse/AMQ-1036
Backported web-console fix to 4.1 branch

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475831 13f79535-47bb-0310-9956-ffa450edef68
2006-11-16 17:42:46 +00:00
Hiram R. Chirino af416908d4 Added source assemblys
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475285 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 16:06:31 +00:00
Hiram R. Chirino 6b29b8b3dd Setting some svn eol-styles
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475264 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 15:43:07 +00:00