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
Gary Tully
2b102598dc
https://issues.apache.org/jira/browse/AMQ-3351 - Usage of the temp store index by the PList needs the be improved. new implementation puts the max entries in a page, reading/writing requires substantially less page access and disk access when pending messages build up
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130607 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 15:28:30 +00:00
Bosanac Dejan
f0edbfdd67
https://issues.apache.org/jira/browse/AMQ-3349 - web console tooltip style
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130496 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 11:07:05 +00:00
Bosanac Dejan
27e6dd7e8c
https://issues.apache.org/jira/browse/AMQ-3347 - network connector restart/re-add
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130469 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 10:24:28 +00:00
Bosanac Dejan
0601fb7118
https://issues.apache.org/jira/browse/AMQ-3348 - network connector restart
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130441 13f79535-47bb-0310-9956-ffa450edef68
2011-06-02 09:05:39 +00:00
Bosanac Dejan
3326ab9176
https://issues.apache.org/jira/browse/AMQ-3347 - restart network connectors
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1130203 13f79535-47bb-0310-9956-ffa450edef68
2011-06-01 16:08:37 +00:00
Timothy A. Bish
f352e1e447
revert changes from https://issues.apache.org/jira/browse/AMQ-3329
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129946 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 22:34:00 +00:00
Timothy A. Bish
71c0d441f9
fix for: https://issues.apache.org/jira/browse/AMQ-3337
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129835 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 18:36:44 +00:00
Bosanac Dejan
6fefadb620
https://issues.apache.org/jira/browse/AMQ-3341 - reseting destination map
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129741 13f79535-47bb-0310-9956-ffa450edef68
2011-05-31 15:10:50 +00:00
Bosanac Dejan
0fc20ee183
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129227 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:47:20 +00:00
Bosanac Dejan
da0b3b5335
https://issues.apache.org/jira/browse/AMQ-3340 - user/pass for examples
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129225 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:44:58 +00:00
Bosanac Dejan
861e26c297
https://issues.apache.org/jira/browse/AMQ-3135 - ConnectionInfo.clientIp - a correct remote for duplex
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1128280 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 12:32:15 +00:00
Bosanac Dejan
6b12a404d5
https://issues.apache.org/jira/browse/AMQ-3338 - increase default max memory
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1128266 13f79535-47bb-0310-9956-ffa450edef68
2011-05-27 11:35:33 +00:00
Timothy A. Bish
0c4fe3ec9c
fix for: https://issues.apache.org/jira/browse/AMQ-3337
...
Missed some commented out test code.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1128088 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 21:01:47 +00:00
Timothy A. Bish
7092b19dd2
fix for: https://issues.apache.org/jira/browse/AMQ-3337
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1128072 13f79535-47bb-0310-9956-ffa450edef68
2011-05-26 20:43:32 +00:00
Timothy A. Bish
4f6e7e4cc3
Apply path for: https://issues.apache.org/jira/browse/AMQ-3334
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1127684 13f79535-47bb-0310-9956-ffa450edef68
2011-05-25 21:01:20 +00:00