Commit Graph

3812 Commits

Author SHA1 Message Date
Gary Tully 0d12055926 add autofail to yet another test that seems to stop the nightly build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159294 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 16:13:34 +00:00
Gary Tully 039b646b4e add autofail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159168 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 11:14:49 +00:00
Gary Tully c2179d15b7 use autofail
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159153 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 10:49:17 +00:00
Gary Tully e23b8ea0a6 https://issues.apache.org/jira/browse/AMQ-3459 - fix up outofdate merge
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159149 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 10:41:12 +00:00
Gary Tully 12aeb272bd don't let a hang stop the nightly build
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159142 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 10:25:18 +00:00
Bosanac Dejan 79c9f2d013 https://issues.apache.org/jira/browse/AMQ-3459 - inactive durable subscriber view selector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1159090 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:46:58 +00:00
Gary Tully a1b8df5605 setAutoFail so we get a stack trace on a hang in nightly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158822 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 16:47:22 +00:00
Gary Tully 5daeb53cc4 https://issues.apache.org/jira/browse/AMQ-3455: Broker may deadlock when creating queues under load with wildcard consumers - remove unnecessary class sync that results in lock order acquisition problem - related to https://issues.apache.org/jira/browse/AMQ-3197 sync on create. Additional test with concurrent producers/consumers on wildcards reproduces
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158591 13f79535-47bb-0310-9956-ffa450edef68
2011-08-17 09:25:45 +00:00
Timothy A. Bish f1f6894ed7 Test case to show that https://issues.apache.org/jira/browse/AMQ-3405 is not a bug.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1158471 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 23:20:08 +00:00
Timothy A. Bish a6f1d756ef fix for: https://issues.apache.org/jira/browse/AMQ-1942
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1157433 13f79535-47bb-0310-9956-ffa450edef68
2011-08-13 22:28:42 +00:00
Timothy A. Bish 0885c60c4d fix for: https://issues.apache.org/jira/browse/AMQ-3449
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1157238 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 20:29:29 +00:00
Gary Tully 9026274532 show the store location for a DB toString
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1157118 13f79535-47bb-0310-9956-ffa450edef68
2011-08-12 14:20:51 +00:00
Timothy A. Bish 0e7d5a9523 https://issues.apache.org/jira/browse/AMQ-2411
remove some of the dependencies on port 61616 in current tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156835 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 21:17:24 +00:00
Timothy A. Bish b4b39509a9 apply patch for: https://issues.apache.org/jira/browse/AMQ-2845
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156748 13f79535-47bb-0310-9956-ffa450edef68
2011-08-11 19:14:50 +00:00
Timothy A. Bish 7a46a1c368 https://issues.apache.org/jira/browse/AMQ-2411
remove some of the dependencies on port 61616 in current tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1156397 13f79535-47bb-0310-9956-ffa450edef68
2011-08-10 23:00:13 +00:00
Gary Tully caca105072 https://issues.apache.org/jira/browse/AMQ-3442: Use real durable sub key as MBean name for inactive durable sub and improve metrics, fix inflight count on deactivate. resolved.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1155437 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 17:09:49 +00:00
Timothy A. Bish fd6be7f340 Give this test more time to meet its criteria
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1155385 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 14:33:28 +00:00
Timothy A. Bish 1e1b568784 Give the wait for expiration a bit more time since a really slow disk + CPU can't seem to get it done in 30secs.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1155363 13f79535-47bb-0310-9956-ffa450edef68
2011-08-09 13:39:23 +00:00
Timothy A. Bish 1898f9adbd apply patch for: https://issues.apache.org/jira/browse/AMQ-3439
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154964 13f79535-47bb-0310-9956-ffa450edef68
2011-08-08 13:48:10 +00:00
Timothy A. Bish 3a181501b1 test for: https://issues.apache.org/jira/browse/AMQ-2801
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154258 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 15:05:47 +00:00
Timothy A. Bish d8b5e2d6e2 Allows the class to set a field that isn't public but has a setter method. Fixes the compile warnings as well.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154189 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 12:33:10 +00:00
Gary Tully c0513811a9 https://issues.apache.org/jira/browse/AMQ-3438: Make use of remote port in Connection MBeanNames optional, useful when ephemeral range cycles quickly. added boolean attribute org.apache.activemq.broker.jmx.ManagementContext#allowRemoteAddressInMBeanNames, accessible via xml. when false, a transport connector will only be registered by its clientId (whic defaults to connectionid)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1154162 13f79535-47bb-0310-9956-ffa450edef68
2011-08-05 11:24:45 +00:00
Gary Tully 516558698a https://issues.apache.org/jira/browse/AMQ-3383 - fix regression in org.apache.activemq.transport.failover.FailoverTransactionTest#testFailoverSendReplyLost, : being appended to the id to match input so a get for producer id on the audit will work
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153857 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 12:08:21 +00:00
Gary Tully 8ec1347e30 resolve intermittent failure with this test, fix up the sync
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153849 13f79535-47bb-0310-9956-ffa450edef68
2011-08-04 11:26:03 +00:00
Timothy A. Bish 84a16161be Allows the class to set a field that isn't public but has a setter method. Fixes the compile warnings as well.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153701 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 23:17:34 +00:00
Timothy A. Bish 42e51a3368 https://issues.apache.org/jira/browse/AMQ-2411
remove some of the dependencies on port 61616 in current tests.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153649 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 20:31:53 +00:00
Gary Tully a6b85cc9f3 https://issues.apache.org/jira/browse/AMQ-3353 - fix regression in NoDuplicateOnTopicNetworkTest, suppression only relevant to active durable subs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153588 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 17:26:15 +00:00
Bosanac Dejan 01ae0eaf92 https://issues.apache.org/jira/browse/AMQ-3422 - don't remove journal file with current producer tracker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153482 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 13:35:35 +00:00
Gary Tully fa2b058dd5 https://issues.apache.org/jira/browse/AMQ-3375: stomp consumer might not receive all msgs of a virtual topic queue with memory limits. Committing tims test case which works fine post resolution of https://issues.apache.org/jira/browse/AMQ-3434
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153463 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 12:19:46 +00:00
Bosanac Dejan 4798cea181 https://issues.apache.org/jira/browse/AMQ-3427 - compile on jdk7
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153425 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 10:53:12 +00:00
Gary Tully bf59b7d70f https://issues.apache.org/jira/browse/AMQ-3434: Contention in PLIist creation results in NPE on load - FilePendingMessageCursor. Resolve contention on creation, tidy up ListIndex iterator remove and plist release, additional test that stresses contention such that it can reproduce the stomp load test scenario
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153420 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 10:18:18 +00:00
Gary Tully 24cd2b3f29 https://issues.apache.org/jira/browse/AMQ-3435: Connection is taking a long time to close warning and hung close thread. Ensure stop called during start can attempt a stop such that it does not hang
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153419 13f79535-47bb-0310-9956-ffa450edef68
2011-08-03 10:17:17 +00:00
Bosanac Dejan 14755a19d5 https://issues.apache.org/jira/browse/AMQ-3422 - producer audit needs string rollback, plus don't fail if we cannot recover producer audit
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1153125 13f79535-47bb-0310-9956-ffa450edef68
2011-08-02 13:46:07 +00:00
Bosanac Dejan 44ef96e6d3 https://issues.apache.org/jira/browse/AMQ-3431 - guard debug logging
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1152757 13f79535-47bb-0310-9956-ffa450edef68
2011-08-01 13:14:55 +00:00
Bosanac Dejan be37064a17 https://issues.apache.org/jira/browse/AMQ-3430 - activemq web - session pool
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1152747 13f79535-47bb-0310-9956-ffa450edef68
2011-08-01 11:46:50 +00:00
Timothy A. Bish cef02210b7 fix for: https://issues.apache.org/jira/browse/AMQ-3426
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1152194 13f79535-47bb-0310-9956-ffa450edef68
2011-07-29 12:58:18 +00:00
Bosanac Dejan 8c59bc3348 https://issues.apache.org/jira/browse/AMQ-826 - useManifestOnlyJar = false for apache ds tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1151900 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 15:47:41 +00:00
Bosanac Dejan 1aafa4fa1c https://issues.apache.org/jira/browse/AMQ-3422 - bitarray serialization
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1151857 13f79535-47bb-0310-9956-ffa450edef68
2011-07-28 14:12:02 +00:00
Timothy A. Bish b0f9afa1b3 Update the assertion messages to reflect the actual failure condition.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1151454 13f79535-47bb-0310-9956-ffa450edef68
2011-07-27 13:15:50 +00:00
Willem Ning Jiang 4ce57a618e AMQ-2922 Fixed the issue of KahaDBTransactionStore doesn' t store prepare command rightly
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1151121 13f79535-47bb-0310-9956-ffa450edef68
2011-07-26 14:49:35 +00:00
Timothy A. Bish e4dfd570b9 fix for: https://issues.apache.org/jira/browse/AMQ-3414
use schedule instead of scheduleAtFixedRate since we don't need read or write check tasks to "catch up" if delayed for some reason only to fire once the resources allow for it and then return to the standard delay for the next execution.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1150917 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 21:25:39 +00:00
Bosanac Dejan 036f2a8d7c https://issues.apache.org/jira/browse/AMQ-2583 - stomp+nio+ssl initial implementation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1150630 13f79535-47bb-0310-9956-ffa450edef68
2011-07-25 11:08:52 +00:00
Timothy A. Bish c78c2449cb fix for: https://issues.apache.org/jira/browse/AMQ-2583 - nio+ssl initial implementation, don't flip the buffer when its just a plain buffer without SSLEngine wrapping as it result in setting the buffer position and limit to zero since that's where its position is already. This fixes the failing Stomp NIO tests.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1149672 13f79535-47bb-0310-9956-ffa450edef68
2011-07-22 18:02:32 +00:00
Timothy A. Bish 5345d161a6 fix failing test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1149349 13f79535-47bb-0310-9956-ffa450edef68
2011-07-21 20:36:44 +00:00
Timothy A. Bish 9b32b71754 Fix for https://issues.apache.org/jira/browse/AMQ-2971
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1148925 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 20:02:57 +00:00
Bosanac Dejan 1b97cdd3c0 https://issues.apache.org/jira/browse/AMQ-3406 - BrokerServiceAware for DiscoveryAgent
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1148646 13f79535-47bb-0310-9956-ffa450edef68
2011-07-20 08:17:51 +00:00
Bosanac Dejan 5f99d5c98a https://issues.apache.org/jira/browse/AMQ-3408 - remove durable subscribers after certain time of inactivity - 5 min default task schedule
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1148300 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 12:32:51 +00:00
Bosanac Dejan 6f70393dfb https://issues.apache.org/jira/browse/AMQ-3408 - remove durable subscribers after certain time of inactivity
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1148289 13f79535-47bb-0310-9956-ffa450edef68
2011-07-19 12:11:45 +00:00
Timothy A. Bish b895efce02 Revert part of the fix for https://issues.apache.org/jira/browse/AMQ-2922 that removed the xbean element annotation.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1148072 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 22:10:43 +00:00
Bosanac Dejan f7ef792e8c fixing javadocs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1147936 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 15:47:43 +00:00
Bosanac Dejan 1acc98bcd5 https://issues.apache.org/jira/browse/AMQ-3135 - TcpTransport.getRemoteAddress() better formatting
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1147812 13f79535-47bb-0310-9956-ffa450edef68
2011-07-18 11:16:31 +00:00
Robert Davies 8e61f519df Fix for https://issues.apache.org/jira/browse/AMQ-2922
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1147149 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 13:45:01 +00:00
Bosanac Dejan 01bc7fa9c5 https://issues.apache.org/jira/browse/AMQ-3400 - cached ldap autorization module - xbean support
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1147104 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 11:36:27 +00:00
Bosanac Dejan 56a700110c https://issues.apache.org/jira/browse/AMQ-3400 - cached ldap autorization module
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1147073 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 10:13:08 +00:00
Bosanac Dejan 7880521a1d https://issues.apache.org/jira/browse/AMQ-3135 - replay network bridge advisories for new consumers
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1146717 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 13:55:49 +00:00
Bosanac Dejan 48fa20a7bd https://issues.apache.org/jira/browse/AMQ-2583 - nio+ssl change enabledCipherSuites only if they're set
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1146657 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 11:40:16 +00:00
Bosanac Dejan a26f03fea2 https://issues.apache.org/jira/browse/AMQ-2583 - nio+ssl enable setting ssl engine properties like enabledCipherSuites
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1146636 13f79535-47bb-0310-9956-ffa450edef68
2011-07-14 10:34:43 +00:00
Timothy A. Bish 5016ecdcff Fix for: https://issues.apache.org/jira/browse/AMQ-3023
browseMessages should return the message not the CompositeData instance that's returned by the browse method.



git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145726 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 19:10:55 +00:00
Bosanac Dejan cdf2e79f48 https://issues.apache.org/jira/browse/AMQ-2583 - nio+ssl use thread pool for long tasks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145577 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 13:10:48 +00:00
Bosanac Dejan 326d959b03 https://issues.apache.org/jira/browse/AMQ-2583 - nio+ssl adding load test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145569 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 12:39:13 +00:00
Bosanac Dejan e504086ca8 https://issues.apache.org/jira/browse/AMQ-2583 - nio+ssl initial implementation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145534 13f79535-47bb-0310-9956-ffa450edef68
2011-07-12 10:38:37 +00:00
Timothy A. Bish f0d9f8320f fix for: https://issues.apache.org/jira/browse/AMQ-3339
Adds the options maxPurgedDestinationsPerSweep to BrokerService.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145312 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 19:51:43 +00:00
Timothy A. Bish 49d6fa6c05 fix for: https://issues.apache.org/jira/browse/AMQ-3227
ActiveMQInputStream will read the destination options and can be made to sync send via producer.alwaysSyncSend=true
Also remove the test cases dependency on port 61616.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145295 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 19:02:12 +00:00
Gary Tully 095b4305ae https://issues.apache.org/jira/browse/AMQ-2911: Option to make all consumers retroactive. comment use of dest policy
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145223 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 16:07:27 +00:00
Gary Tully fe63c29bcc https://issues.apache.org/jira/browse/AMQ-2911: Option to make all consumers retroactive. Patch applied and with thanks and an additional test. new destination policy entry 'alwaysRetroactive'.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145217 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 16:02:52 +00:00
Gary Tully 5967d76c85 https://issues.apache.org/jira/browse/AMQ-3204: ensure xbean annotation is in doc comment so that it gets into the auto generated xsd
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145135 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 12:09:31 +00:00
Gary Tully 7877fd5ecd https://issues.apache.org/jira/browse/AMQ-2584 - revisit, make audit optional on dlq stragegy, new attribute enableAudit default true. Set to false if resending to the dlq is required, can be usefull when redelivery from the dlq to the original dest is required and can repeat
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1145092 13f79535-47bb-0310-9956-ffa450edef68
2011-07-11 09:37:40 +00:00
Timothy A. Bish d5b604ec58 Fix and test for: https://issues.apache.org/jira/browse/AMQ-2528
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1144736 13f79535-47bb-0310-9956-ffa450edef68
2011-07-09 20:35:38 +00:00
Gary Tully 1f816d439e https://issues.apache.org/jira/browse/AMQ-3397: Improve scalability of active durable subs with JDBC message store. Cache topic message sequence ids to avoid each ack going to the store twice, boost through put for active durable subs; 100 subs, 550->2200 for 2min test with mysql
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1144340 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:37:10 +00:00
Gary Tully fc36cd7d7b allow main to easily pull xml config from a directory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1144339 13f79535-47bb-0310-9956-ffa450edef68
2011-07-08 14:35:28 +00:00
Gary Tully d2bc650212 test to verify camel transaction rollback bubbling back to amq rollback and dql processing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1143930 13f79535-47bb-0310-9956-ffa450edef68
2011-07-07 17:34:37 +00:00
Timothy A. Bish 1ec990575d apply patch for https://issues.apache.org/jira/browse/AMQ-3074
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1143535 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 19:12:26 +00:00
Gary Tully f232ceced0 https://issues.apache.org/jira/browse/AMQ-3353 - Durable subscribers on durable topics don't receive messages after network disconnect. Have suppression for durable subs be conditional on sub active such that reconnection/recreation/failover of bridge is not a problem. org.apache.activemq.usecases.NoDuplicateOnTopicNetworkTest still needs some work to deal with already exists errors from dupliate restarts.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1143482 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 16:11:03 +00:00
Timothy A. Bish 40f9146939 Test case for https://issues.apache.org/jira/browse/AMQ-3342 and applied patch with a few mods.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1143470 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 15:44:33 +00:00
Gary Tully ac1c44f324 https://issues.apache.org/jira/browse/AMQ-3393 - Number of established STOMP connections constantly increasing. resolve contention over delayed stop. Add soLinger=0 for hudson builds
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1143306 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 09:20:41 +00:00
Gary Tully 4cf6dae48b https://issues.apache.org/jira/browse/AMQ-3393 - Number of established STOMP connections constantly increasing. resolve contention over delayed stop. add count attribute to connector to see current number of connections
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1143080 13f79535-47bb-0310-9956-ffa450edef68
2011-07-05 14:37:39 +00:00
Gary Tully 3cce6b7cbb resolve failure of UdpSendReceiveWithTwoConnectionsAndLargeMessagesTest and UdpSendReceiveWithTwoConnectionsTest, regression from https://issues.apache.org/jira/browse/AMQ-3383, additional wire member shows problem with wireformat copy. relates to https://issues.apache.org/jira/browse/AMQ-3236 - separate versioning of openwire for store and wire
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1142630 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 11:36:32 +00:00
Gary Tully c8be8aa387 https://issues.apache.org/jira/browse/AMQ-2484,https://issues.apache.org/jira/browse/AMQ-2324: Forwarded message cannot be distributed to the original broker, Avoid stuck messages in a network of brokers - apply the new policy to two test cases
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1142605 13f79535-47bb-0310-9956-ffa450edef68
2011-07-04 10:24:20 +00:00
Timothy A. Bish d226f5089f fix for: https://issues.apache.org/jira/browse/AMQ-2349
fix for: https://issues.apache.org/jira/browse/AMQ-2716

When a PooledConnection is closed the Temp Destinations of the contained Connection should be removed.

Applied patch from AMQ-2349 with modifications to prevent NullPointerExceptions and some other small cleanups.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1142267 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 18:59:33 +00:00
Timothy A. Bish f24b4f7569 fix for: https://issues.apache.org/jira/browse/AMQ-3319
Concurrent read / write to the list is not protected, instead a read lock around both access points is used.

Switch to using a ConcurrentLinkQueue instead and remove the read lock around that code.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1142245 13f79535-47bb-0310-9956-ffa450edef68
2011-07-02 16:37:14 +00:00
Timothy A. Bish 7be63f21b1 Add test case for: https://issues.apache.org/jira/browse/AMQ-2528
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1142097 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 21:23:48 +00:00
Gary Tully af1b2328ee https://issues.apache.org/jira/browse/AMQ-2484,https://issues.apache.org/jira/browse/AMQ-2324: Forwarded message cannot be distributed to the original broker, Avoid stuck messages in a network of brokers - implement destination policy that allows the network filter factory to be provided. A new implementation will allow queues to replay messages with a configurable delay once there are no local consumers. Also it allows a rate limit on the network consumer such that a statically included dest does not consume all messages if there is a slow local consumer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1142005 13f79535-47bb-0310-9956-ffa450edef68
2011-07-01 17:45:54 +00:00
Timothy A. Bish ead8df6ed2 Apply patch for: https://issues.apache.org/jira/browse/AMQ-3326
Use of sync block was causing unneeded serialization of calls to add and remove producers and consumers when the inactivity purge wasn't running.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1141741 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 22:22:04 +00:00
Timothy A. Bish fc4a6497ea Apply patch for: https://issues.apache.org/jira/browse/AMQ-3383
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1141641 13f79535-47bb-0310-9956-ffa450edef68
2011-06-30 18:00:38 +00:00
Timothy A. Bish 0bed411301 Patch for: https://issues.apache.org/jira/browse/AMQ-3214
Should have any effect either way given the construtor args but user reports that its an issue in some environments.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1141331 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 23:41:30 +00:00
Bosanac Dejan 4fcc1f7192 https://issues.apache.org/jira/browse/AMQ-3382 - statically included destination should be always forwarded
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1141124 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 14:58:04 +00:00
Bosanac Dejan a798c85535 https://issues.apache.org/jira/browse/AMQ-3379 - unique property eviction strategy - remove oldest if there's no duplicates
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1141033 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 10:11:25 +00:00
Gary Tully 7539c7e975 https://issues.apache.org/jira/browse/AMQ-3289 - fix missing dummy arg for blob in initial insert
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1140872 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 22:27:13 +00:00
Timothy A. Bish b5a19163bc fix for: https://issues.apache.org/jira/browse/AMQ-2524
When destinations are removed via JMX or by auto remove of inactive destinations an existing producer registration can be left with a reference to a resource that no longer exists but appears valid.  The destination should be marked as disposed so that a producer send can check to see if it should discard its current reference to the destination and either recreate it or update its cache to point to the currect destination resource.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1140770 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 18:15:29 +00:00
Bosanac Dejan 007bd4cc56 https://issues.apache.org/jira/browse/AMQ-3379 - unique property eviction strategy - remove oldest if there's no duplicates
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1140665 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 14:56:41 +00:00
Bosanac Dejan f7988655d3 https://issues.apache.org/jira/browse/AMQ-3379 - unique property eviction strategy
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1140531 13f79535-47bb-0310-9956-ffa450edef68
2011-06-28 11:27:58 +00:00
Bosanac Dejan e085ed4d5f https://issues.apache.org/jira/browse/AMQ-3378 - isSlowConsumer for SubscriptionView
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1140098 13f79535-47bb-0310-9956-ffa450edef68
2011-06-27 10:56:56 +00:00
Bosanac Dejan b78867e183 https://issues.apache.org/jira/browse/AMQ-3362 - check expired messages only for inactive durable subs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1138925 13f79535-47bb-0310-9956-ffa450edef68
2011-06-23 15:24:14 +00:00
Bosanac Dejan 40ae055f37 https://issues.apache.org/jira/browse/AMQ-3374 - first stab at fixing long kahadb tx oom problem
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1138442 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 12:55:36 +00:00
Bosanac Dejan 37384a1ad1 https://issues.apache.org/jira/browse/AMQ-3135 - add remoteIp to network bridge advisory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1136026 13f79535-47bb-0310-9956-ffa450edef68
2011-06-15 13:18:42 +00:00
Bosanac Dejan ed3f61a7b7 https://issues.apache.org/jira/browse/AMQ-3362 - periodic expiry of durable sub msgs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1135649 13f79535-47bb-0310-9956-ffa450edef68
2011-06-14 15:31:54 +00:00
Timothy A. Bish 6d48b4b077 https://issues.apache.org/jira/browse/AMQ-3337
The ProducerViewMBean should expose the ProducerId value.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1134107 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 22:06:18 +00:00
Bosanac Dejan a4b8c8ee1a https://issues.apache.org/jira/browse/AMQ-498 - check max frame size before umarshalling commands
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1133980 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 16:39:20 +00:00
Bosanac Dejan 8a82119dd5 https://issues.apache.org/jira/browse/AMQ-498 - check max frame size before umarshalling commands
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1133956 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 16:01:16 +00:00
Bosanac Dejan e5e99d72f3 https://issues.apache.org/jira/browse/AMQ-498 - make max frame size part of wire format negotiation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1133915 13f79535-47bb-0310-9956-ffa450edef68
2011-06-09 15:09:55 +00:00