Commit Graph

5328 Commits

Author SHA1 Message Date
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
Timothy A. Bish 2cce056eb4 fix for: https://issues.apache.org/jira/browse/AMQ-2464
Use the JMX VirtualMachine Management API in tools.jar to find the JMS connector URL instead of the private sun APIs.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1147154 13f79535-47bb-0310-9956-ffa450edef68
2011-07-15 13:56:24 +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 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