Commit Graph

5460 Commits

Author SHA1 Message Date
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 060f97dd87 apply patch for: https://issues.apache.org/jira/browse/AMQ-3012
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1143604 13f79535-47bb-0310-9956-ffa450edef68
2011-07-06 23:07:03 +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 92b4d68b6f https://issues.apache.org/jira/browse/AMQ-3381 - connections.jsp double rows
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1141034 13f79535-47bb-0310-9956-ffa450edef68
2011-06-29 10:11:47 +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 984a9fb1c3 https://issues.apache.org/jira/browse/AMQ-3374 - long kahadb tx - parse long
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1138449 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 13:08:23 +00:00
Bosanac Dejan 5bcd417f4b https://issues.apache.org/jira/browse/AMQ-3374 - long kahadb tx - configurable max size and better tmp file name
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1138443 13f79535-47bb-0310-9956-ffa450edef68
2011-06-22 12:56:20 +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
Bosanac Dejan 6718b5b8d9 https://issues.apache.org/jira/browse/AMQ-3365 - add hostname to pid file name
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1135133 13f79535-47bb-0310-9956-ffa450edef68
2011-06-13 15:16:06 +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
Timothy A. Bish 6ad39a3615 https://issues.apache.org/jira/browse/AMQ-3337
Use the same case as the Topic and Queue destinationType filters.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1133579 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 21:59:01 +00:00
Timothy A. Bish d34967bdd0 https://issues.apache.org/jira/browse/AMQ-3337
Create a better ObjectName for dynamic destination producers.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1133564 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 21:37:18 +00:00
Timothy A. Bish c43282ed8e https://issues.apache.org/jira/browse/AMQ-3337
Updated unit tests

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1133399 13f79535-47bb-0310-9956-ffa450edef68
2011-06-08 13:44:30 +00:00
Timothy A. Bish 629b18cf27 https://issues.apache.org/jira/browse/AMQ-3337
Adds some enhancements to the ProducerView functionality.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1133180 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 22:21:17 +00:00
Bosanac Dejan d0b43c1a60 https://issues.apache.org/jira/browse/AMQ-498 - prevent dos attack for nio transport by specifying large frame size
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1133003 13f79535-47bb-0310-9956-ffa450edef68
2011-06-07 13:26:04 +00:00
Bosanac Dejan f6061bd4c6 https://issues.apache.org/jira/browse/AMQ-3351 - moving LocationMarshaller to kahadb module, so it can work well in osgi environment
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1132587 13f79535-47bb-0310-9956-ffa450edef68
2011-06-06 10:41:42 +00:00
Gary Tully a2f3e8a3d1 remove obsolete attribute: syncOnTransaction
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1131035 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 13:41:16 +00:00
Gary Tully 7631ca9cad https://issues.apache.org/jira/browse/AMQ-3357 - vmQueueCursor or fileQueueCursor with expired messages in the store can lead to startup hang with kahaDB. Use a write lock for recovery processing. Add kahaDB and jdbc test to validate for both cursors
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1131010 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 12:24:55 +00:00
Gary Tully c255d1ddcb https://issues.apache.org/jira/browse/AMQ-3356 - DispatchedQueueCount (messages pending dispatch) should be visible on the jmx connection view
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130974 13f79535-47bb-0310-9956-ffa450edef68
2011-06-03 10:08:22 +00:00
Gary Tully 0817f5d5df https://issues.apache.org/jira/browse/AMQ-3352 - failover ConnectionStateTracker can lead to OOM with TextMessages. have the cache retain the original message so that it can use the correct formatted size when it is evicted so the addition and substractions match
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130865 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 22:52:32 +00:00