Commit Graph

4245 Commits

Author SHA1 Message Date
Gary Tully 97e0fccdae resolve https://issues.apache.org/activemq/browse/AMQ-2523 - have Usage use a shared executor with a limited pool of 10 threads and an unbounded queue. Fix potential dropped dispatch attempts when messages waiting for space fail due to memory again being full, can result is hung consumer. In this case, a new notification for not full needs to be registered. Added relevant test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@895975 13f79535-47bb-0310-9956-ffa450edef68
2010-01-05 10:29:19 +00:00
Bosanac Dejan 155495485e https://issues.apache.org/activemq/browse/AMQ-2553 - browsing dlq over transacted session
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@894347 13f79535-47bb-0310-9956-ffa450edef68
2009-12-29 10:46:47 +00:00
Willem Ning Jiang 57843ea8a9 AMQ-2550 Fixed the issue of org.osgi.framework import
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@893834 13f79535-47bb-0310-9956-ffa450edef68
2009-12-25 02:47:09 +00:00
Gary Tully 5fb52355d6 last piece of https://issues.apache.org/activemq/browse/AMQ-2540 - fix order or audit recovery replay
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@893661 13f79535-47bb-0310-9956-ffa450edef68
2009-12-24 00:38:28 +00:00
Bosanac Dejan 6cde61831e adapting jdbc audit test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892816 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 13:30:29 +00:00
Bosanac Dejan ae840c4b04 https://issues.apache.org/activemq/browse/AMQ-2473 - improving jdbc audit recovery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892759 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 10:53:44 +00:00
Bosanac Dejan 5ffcaf4052 https://issues.apache.org/activemq/browse/AMQ-2473 - fix find all message ids statement
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892729 13f79535-47bb-0310-9956-ffa450edef68
2009-12-21 08:49:56 +00:00
Gary Tully 58e6532c7e add commit replay test to assert dups suppressed for KahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892291 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 16:09:29 +00:00
Gary Tully 8732f70793 first cut of audit recovery for https://issues.apache.org/activemq/browse/AMQ-2540 - test case reproduces. Little more tidy up needed such that the query is limited and such that the audit is recovered at the persistence adapter rather than at the store level - also related to https://issues.apache.org/activemq/browse/AMQ-2473
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892242 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 13:03:40 +00:00
Bosanac Dejan c6de4d7e56 https://issues.apache.org/activemq/browse/AMQ-2508 - SecurityContext.isInOneOf()
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892220 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 11:12:32 +00:00
Gary Tully 08d89ff881 trun off exponential backoff so that reconnect will happen before the timeout after restart, intermittent failure in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@892194 13f79535-47bb-0310-9956-ffa450edef68
2009-12-18 09:29:54 +00:00
Bosanac Dejan 3a1bdc6249 https://issues.apache.org/activemq/browse/AMQ-2539 - adding temp destinations and security
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@891786 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 16:18:46 +00:00
Gary Tully 1606c59b9e test for replayed committed transaction on lost commit reply
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@891622 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 10:50:02 +00:00
Gary Tully b9e51d6492 resolve https://issues.apache.org/activemq/browse/AMQ-2473 - issue with jmstemplate were producers are closed before transaction commits which is fine save when failover ocurrs. the producers need to be replayed to allow tracked messages to be replayed. added the capability to track and relay transaction producers. Can be disabled if producers out live transactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@891582 13f79535-47bb-0310-9956-ffa450edef68
2009-12-17 08:42:52 +00:00
Bosanac Dejan be01a5bd80 https://issues.apache.org/activemq/browse/AMQ-2529 - browse ove network - cleaning the test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@889710 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 17:21:35 +00:00
Bosanac Dejan 10dae9c659 https://issues.apache.org/activemq/browse/AMQ-2529 - browse over network
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@889677 13f79535-47bb-0310-9956-ffa450edef68
2009-12-11 16:11:07 +00:00
Willem Ning Jiang 0fdd03febd AMQ-2501 Modify import package ofApache Camel version in activemq-camel the pom
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@889298 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 15:34:28 +00:00
Bosanac Dejan c3801c4bc4 https://issues.apache.org/activemq/browse/AMQ-2519 - JDBC store and duplicate messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@889167 13f79535-47bb-0310-9956-ffa450edef68
2009-12-10 10:05:11 +00:00
Gary Tully e80bf00b5b resolve https://issues.apache.org/activemq/browse/AMQ-2527 - add timeout to waitForSlave and make the following more reseliant to slow machines, VMTransportWaitForTest,MasterSlaveSlaveDieTest,SimpleNetworkTest,NetworkBrokerDetachTest,DuplexNetworkMBeanTest,MultiBrokersMultiClientsTest,AMQ2102Test - related to changes for https://issues.apache.org/activemq/browse/AMQ-1112
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888974 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 21:09:21 +00:00
Gary Tully f1f4e2c9d9 add current limit to info flow control message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888846 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 15:49:12 +00:00
Bosanac Dejan 35d4ef5e0a updating KEYS
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888749 13f79535-47bb-0310-9956-ffa450edef68
2009-12-09 09:34:34 +00:00
Bruce Snyder 3d27c7afce Added my key
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888493 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 17:30:32 +00:00
Bosanac Dejan 6e1ba4a93e https://issues.apache.org/activemq/browse/AMQ-2513 - adapting DiscoveryNetworkReconnectTest
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888426 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 15:08:03 +00:00
Bosanac Dejan c9ca34a27a https://issues.apache.org/activemq/browse/AMQ-2525 - Prevent broker deadlock if jmxconnector start hangs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888367 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 12:22:24 +00:00
Bosanac Dejan df52a09063 https://issues.apache.org/activemq/browse/AMQ-2513 - adding test case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888333 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 11:19:40 +00:00
Bosanac Dejan 4969866569 https://issues.apache.org/activemq/browse/AMQ-2513 - JMX bug - javax.management.InstanceNotFoundException
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@888323 13f79535-47bb-0310-9956-ffa450edef68
2009-12-08 11:12:45 +00:00
Bosanac Dejan 72b73f06cd removing JDBCSpringTest as it is moved to sys tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@886833 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 15:57:19 +00:00
Bosanac Dejan 4caad1a058 investigating JDBCSpringTest intermittent failures
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@886751 13f79535-47bb-0310-9956-ffa450edef68
2009-12-03 12:12:37 +00:00
Gary Tully 8f8f9ac529 don't account for wait time in cleanup log message
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@886136 13f79535-47bb-0310-9956-ffa450edef68
2009-12-02 13:30:33 +00:00
Bosanac Dejan d49b6e5a0f https://issues.apache.org/activemq/browse/AMQ-2519 - duplicate messages and jdbc store
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@885841 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 17:20:29 +00:00
Gary Tully b59b8ab296 disable BrokerNetworkWithStuckMessagesTest as it currently fails, locally and in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@885711 13f79535-47bb-0310-9956-ffa450edef68
2009-12-01 10:06:59 +00:00
Bosanac Dejan 5f6f23e3c9 http://issues.apache.org/activemq/browse/AMQ-1498 - broker recovery missing subscriber
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@885488 13f79535-47bb-0310-9956-ffa450edef68
2009-11-30 16:47:36 +00:00
Gary Tully adb7fccda0 resolve https://issues.apache.org/activemq/browse/AMQ-2516 - broker send to dlq now uses broker security context so it will bypass the authentication plugin when configured
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884778 13f79535-47bb-0310-9956-ffa450edef68
2009-11-27 08:19:19 +00:00
Bosanac Dejan 13f9ec8555 https://issues.apache.org/activemq/browse/AMQ-2515 - Optimized Acknowledgements and interrupted transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884633 13f79535-47bb-0310-9956-ffa450edef68
2009-11-26 16:46:38 +00:00
Hiram R. Chirino 8978ac0772 Fix for AMQ-2511: Inactivity monitor does not time out stale connections.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884267 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 20:56:28 +00:00
Colin W Macnaughton 48764becbd Adding a blockedProducerWarningInterval attribute to destinations to control the rate at which warnings about blocked producers are generated (otherwise the warnings can flood the log).
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@884234 13f79535-47bb-0310-9956-ffa450edef68
2009-11-25 19:35:09 +00:00
Gary Tully 83df5cef54 resolve https://issues.apache.org/activemq/browse/AMQ-2489 - duplicate delivery acks resulted in broker exceptions with client or inividual ack - delivery acks now only for unacked messages - down side is pending messages in broker remain on expiry awaiting ack from ackLaer that dependes on prefetch value - but this is reasonable and to be expected. they will be removed on close or subsequent acks in any event
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883458 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:43:01 +00:00
Gary Tully d7a8bc89e8 resolve compilation error, test still fails though
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883450 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 18:35:58 +00:00
Bruce Snyder c26dd6a5e1 Updated test for AMQ-2324 and AMQ-2484
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883411 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 17:02:39 +00:00
Bosanac Dejan 1695cff244 PurgeTest- assert there are no messages in the queue, by trying to browse them
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@883327 13f79535-47bb-0310-9956-ffa450edef68
2009-11-23 13:02:27 +00:00
Gary Tully 2a238f7c71 some more resiliance to slow hardware for this test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882510 13f79535-47bb-0310-9956-ffa450edef68
2009-11-20 11:34:14 +00:00
Bosanac Dejan 0728ec9e75 https://issues.apache.org/activemq/browse/AMQ-2042 - added handling of 'no disk space' in default handler
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882144 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 13:50:46 +00:00
Gary Tully 86e7d511a8 resolve https://issues.apache.org/activemq/browse/AMQ-2502, add optional import of pool
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882136 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 13:11:06 +00:00
Bosanac Dejan 04b3f8e49b https://issues.apache.org/activemq/browse/AMQ-2042 - making amq store resilent to 'no space left'
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882126 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 12:25:52 +00:00
Gary Tully 9b260dc37e resolve https://issues.apache.org/activemq/browse/AMQ-2487 - usage management of storecursor iterator was broken in that a browse would decrement the usage. memory management across move and retry operations is now correct. modified some tests to validate memory usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@882096 13f79535-47bb-0310-9956-ffa450edef68
2009-11-19 10:33:41 +00:00
Jonathan Anstey d7b0408803 Get ActiveMQ building with Maven 3
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881439 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 18:55:29 +00:00
Gary Tully fa3bac92c6 resolve issue with jaxb jar downloads that result in - [INFO] Internal error in the plugin manager executing goal 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.1:generate': Unable to find the mojo 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.1:generate' in the plugin 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin'
com/sun/tools/xjc/ErrorReceiver - redirection seems to be the root cause as your local repo can end up with jar files contaning text which fails checksum. eg: cat /home/gtully/.m2/repository/com/sun/xml/bind/jaxb-xjc/2.0.2/jaxb-xjc-2.0.2.jar
<html><head>
<title>301 Moved Permanently</title>
</head><body>
<h1>Moved Permanently</h1>
<p>The document has moved <a href=http://download.java.net/maven/1/com.sun.xml.bind/jars/jaxb-xjc-2.0.2.jar>here</a>.</p>
<hr>
<address>Apache Server at maven-repository.dev.java.net Port 443</address>
</body></html>
. Adding the maven 1 legacy repo seems to do the trick for some reason.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881433 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 18:32:49 +00:00
Robert Davies 7036dabdd8 bad commit - my bad - remove, remove remove :)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881322 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 15:10:04 +00:00
Robert Davies 07cb724669 Fix for https://issues.apache.org/activemq/browse/AMQ-2475
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881313 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 14:55:45 +00:00
Bosanac Dejan b4de4f5b09 https://issues.apache.org/activemq/browse/AMQ-2499 - minor improvement - case sensitivity
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@881277 13f79535-47bb-0310-9956-ffa450edef68
2009-11-17 13:31:20 +00:00