2051 Commits

Author SHA1 Message Date
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
Hiram R. Chirino
26f74fb53d setting svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475019 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 22:09:15 +00:00
Hiram R. Chirino
d0eca5cd83 removing extranous META-INF
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475008 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:47:11 +00:00
Hiram R. Chirino
7028ad9836 Adding notice files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475006 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:46:16 +00:00
Hiram R. Chirino
ba7b1d1500 Adding notice files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475005 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:44:53 +00:00
Hiram R. Chirino
941ed15ae2 Adding notice files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475003 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:44:09 +00:00
Hiram R. Chirino
67673d76a4 Adding notice files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@475001 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:43:07 +00:00
Hiram R. Chirino
ac1007d705 Adding notice files
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@474999 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:41:22 +00:00
Hiram R. Chirino
af759961d9 setting svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@474986 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 21:17:31 +00:00
Hiram R. Chirino
579654ff2e Merged in rev 474705-474926 for AMQ-644
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@474931 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 19:35:09 +00:00
Hiram R. Chirino
29637ae4c8 https://issues.apache.org/activemq/browse/AMQ-1016
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@474876 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 17:13:42 +00:00
Hiram R. Chirino
71c5a277d2 Merged in rev 474799
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@474800 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 14:13:23 +00:00
Hiram R. Chirino
545c909ec9 Merged in rev 474769
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@474771 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 12:50:11 +00:00
Hiram R. Chirino
b36d87d512 Don't include activecluster as dependency since it not :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@474439 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 19:02:59 +00:00
Hiram R. Chirino
18e4e0bfe9 Add some more key value pairs to the manifest so that ActiveMQ and figure out what version it's running.
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@474371 13f79535-47bb-0310-9956-ffa450edef68
2006-11-13 15:38:40 +00:00
Jonas B. Lim
219fb2705b fix for http://issues.apache.org/activemq/browse/AMQ-1042
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@473657 13f79535-47bb-0310-9956-ffa450edef68
2006-11-11 06:54:20 +00:00
Hiram R. Chirino
395bf8d740 Merged in revision 473167 from trunk
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@473181 13f79535-47bb-0310-9956-ffa450edef68
2006-11-10 04:19:15 +00:00
Hiram R. Chirino
4e1299d857 Creating a branch for 4.1
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/branches/activemq-4.1@472516 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 15:17:49 +00:00
James Strachan
6be185d2ce Changes to POM to try fix AMQ-1017
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472483 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 13:05:14 +00:00
Robert Davies
4b5bc5eb2d added synchronization around marshal/unmarshal
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472421 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 08:23:08 +00:00
Hiram R. Chirino
da5139c24b All message dispatching should occur from the session's executor. Also, we should dispatch any messages in the consumers queue before dispatching messages in the session's queues.
http://issues.apache.org/activemq/browse/AMQ-1031
http://issues.apache.org/activemq/browse/AMQ-1032



git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472345 13f79535-47bb-0310-9956-ffa450edef68
2006-11-08 00:14:56 +00:00
Adrian T. Co
c636b3798f Added test case to test resizing of internal buffer of DataByteArrayOutputStream.
Fix bug during resizing of internal buffer of DataByteArrayOutputStream.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472258 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 21:00:46 +00:00
Hiram R. Chirino
0c93dfde72 Added message ordering assertions and also a test case that uses consumer.receive() instead of a messsage listener
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472237 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 20:30:37 +00:00
James Strachan
11501cb38e removed java 5 annotations :)
git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@472209 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 19:12:48 +00:00