Timothy A. Bish
c176fa8f33
fix for: https://issues.apache.org/jira/browse/AMQ-3298
...
Add property preferJndiDestinationLookup so that users can override the default order as needed and have the connector first go to JNDI before trying the JMS create method.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1388326 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 05:11:57 +00:00
Timothy A. Bish
de7617e9c7
fix for: https://issues.apache.org/jira/browse/AMQ-730
...
Update some JavaDocs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1388313 13f79535-47bb-0310-9956-ffa450edef68
2012-09-21 03:31:13 +00:00
Claus Ibsen
c6595066e9
AMQ-4067: Prefix thread names with ActiveMQ
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387989 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 12:02:04 +00:00
Timothy A. Bish
6f2ac637cd
fix for: https://issues.apache.org/jira/browse/AMQ-4066
...
Remove old deprecated code.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387960 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 10:48:56 +00:00
Timothy A. Bish
620d26d494
fix for: https://issues.apache.org/jira/browse/AMQ-4065
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387851 13f79535-47bb-0310-9956-ffa450edef68
2012-09-20 04:05:26 +00:00
Claus Ibsen
67b0c1861f
Sorry was experimenting with the test on windows, and changed a parameter.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387648 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 15:45:16 +00:00
Claus Ibsen
bdc676bbbc
Disabled test failing on Windows. Will have to revisit
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387643 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 15:34:07 +00:00
Claus Ibsen
4810be5c6e
Fixed test which may fail
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387600 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 14:08:01 +00:00
Claus Ibsen
4d48a5b59b
AMQ-3914: Added support for MS SQL driver 4.0
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387531 13f79535-47bb-0310-9956-ffa450edef68
2012-09-19 11:46:47 +00:00
Claus Ibsen
4a0bc68b01
Fixed test on slow servers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387171 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 14:05:06 +00:00
Claus Ibsen
577952be49
AMQ-2488: Unable to access Serializable class when receiving ObjectMessage in OSGi environment
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387166 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 13:55:52 +00:00
Claus Ibsen
26806e7798
Polished
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387165 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 13:55:24 +00:00
Timothy A. Bish
3d5a758666
fix for: https://issues.apache.org/jira/browse/AMQ-3664
...
Added now option to connection and consumer to allow for configuration of a time interval upon which all the outstanding acks are delivered when optimized acknowledge is used so that a long running consumer that doesn't receive any more messages will eventually ack the last few unacked messages.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387079 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 10:12:30 +00:00
Claus Ibsen
9a32e38627
AMQ-4056: Upgraded jmDNS to 3.4.1, and removed old obsolte activemq-jmdns module that is no longer needed.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387052 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 08:44:42 +00:00
Claus Ibsen
1802116df8
AMQ-4011: IntrospectionSupport does not use java bean propery editors which are not thread safe, cause leaks, and are jvm global causing issues for other apps.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1387025 13f79535-47bb-0310-9956-ffa450edef68
2012-09-18 07:50:35 +00:00
Claus Ibsen
b749228112
AMQ-4011: Do not use java bean property editors for type conversion. Marked stuff as @deprecated.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1386596 13f79535-47bb-0310-9956-ffa450edef68
2012-09-17 13:10:50 +00:00
Claus Ibsen
c9cc85bde1
AMQ-4049: Polished the AMQ start and stop logging.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1384714 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 10:34:54 +00:00
Claus Ibsen
4260034561
AMQ-4044: Fixed issue with double stopping BrokerService.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1384691 13f79535-47bb-0310-9956-ffa450edef68
2012-09-14 09:13:51 +00:00
Claus Ibsen
f830d96b8b
Fixing test on CI server
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383860 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 09:12:02 +00:00
Claus Ibsen
5453b26eb8
AMQ-4045: Fixed NPE in BrokerService.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383856 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 08:58:18 +00:00
Claus Ibsen
6da942706e
AMQ-4038: Favor using JARs from maven central, to avoid 3rd part repos. AMQ-4039: Upgraded JAR dependencies.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383801 13f79535-47bb-0310-9956-ffa450edef68
2012-09-12 06:30:31 +00:00
Gary Tully
215dd18196
https://issues.apache.org/jira/browse/AMQ-3985 - fix up timeing issue in test post change to asyncDispatch for temp dest advisories
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383426 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 14:14:36 +00:00
Bosanac Dejan
170b86a861
https://issues.apache.org/jira/browse/AMQ-4005 - introducing Lockable interface and LockableServiceSupport for easier dealing with locks
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383400 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 13:17:39 +00:00
Gary Tully
aaf03576ee
https://issues.apache.org/jira/browse/AMQ-3989 - ActiveMQSslConnectionFactory.setKeyAndTrustManagers does not work with failover enabled - fix and test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383370 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 12:07:35 +00:00
Claus Ibsen
f2225c2f12
AMQ-4015: Added uptime to broker service, and shown in JMX, as well in logs when stopping broker.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383327 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 09:51:24 +00:00
Claus Ibsen
49bb4bf494
Fixing test on CI servers.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383308 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 09:21:36 +00:00
Claus Ibsen
b968c0c9b2
Fixing test on CI servers.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383304 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 09:13:00 +00:00
Claus Ibsen
ece2e17b19
AMQ-4029: Check for null when unregister mbean.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383270 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 07:38:10 +00:00
Claus Ibsen
8a0dd39fb0
Fixed test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383265 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 07:16:27 +00:00
Timothy A. Bish
d97951ed69
fix for: https://issues.apache.org/jira/browse/AMQ-4035 check for null.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1383234 13f79535-47bb-0310-9956-ffa450edef68
2012-09-11 03:27:20 +00:00
Claus Ibsen
6e0aa4fb80
AMQ-3994: Fixed JDBC connection leak if link failure. Thanks to Philip Bridger for the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382983 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 17:00:25 +00:00
Claus Ibsen
688c4f7946
AMQ-4033: JMX/RMI management do not use custom RMIServerSocketFactory as it cannot be unregistered, and then the JVM has strong reference and classloader cannot unload class. This causes problems for embedding brokers in container and if you redeploy.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382852 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 13:58:17 +00:00
Claus Ibsen
f272fc1df5
Polished
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382761 13f79535-47bb-0310-9956-ffa450edef68
2012-09-10 11:28:18 +00:00
Claus Ibsen
c70d97fddb
AMQ-4002: Fixed issue with blob transfer policy should be copied when used to avoid sharing with multiple consumers. Thanks to Antoine for the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382283 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 11:38:15 +00:00
Claus Ibsen
eea45cc978
AMQ-3807: Support WebSphere JMX which regsiter mbeans using custom name. Thansk to Christian Ohr for the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382277 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 10:56:14 +00:00
Claus Ibsen
aec27626d5
AMQ-3976: Use equals instead of == in checking destination names. Thanks to Lior for the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382275 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 10:27:19 +00:00
Claus Ibsen
5b4fe6e05f
AMQ-4031: Do not check for temporary journal store limit for non persistent broker. Thanks to Johno Crawford for the patch.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382255 13f79535-47bb-0310-9956-ffa450edef68
2012-09-08 09:08:24 +00:00
Claus Ibsen
35f15ac8a1
AMQ-3451: Fixed memory leak when using embedded ActiveMQ broker from Spring XML file. Need to clear a spring cache when stopping.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1382055 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 14:46:45 +00:00
Claus Ibsen
aa6a6d73e5
AMQ-3451: Ensure thread pools is shutdown properly to avoid any leaks. Do not use the old @deprecated thread pool.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381991 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 12:14:35 +00:00
Claus Ibsen
4e1989247e
AMQ-3451: Ensure thread pools is shutdown properly to avoid any leaks. Do not use the old @deprecated thread pool.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381987 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 12:05:53 +00:00
Claus Ibsen
8a01c5d16a
AMQ-3451: Ensure thread pools is shutdown properly to avoid any leaks. Do not use the old @deprecated thread pool.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381985 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 11:58:21 +00:00
Bosanac Dejan
8530111cad
https://issues.apache.org/jira/browse/AMQ-4005 - remove deprecated API warning from tests
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381981 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 11:34:50 +00:00
Bosanac Dejan
97f03d43dd
https://issues.apache.org/jira/browse/AMQ-4005 - remove deprecated API warning
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381980 13f79535-47bb-0310-9956-ffa450edef68
2012-09-07 11:23:05 +00:00
Claus Ibsen
6c1676b59f
AMQ-4026: Using ThreadPoolUtils to shutdown thread pool. Use thread pool from broker service where applicable.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381695 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 17:50:43 +00:00
Claus Ibsen
5bf13b064e
Polished
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381566 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 11:56:02 +00:00
Claus Ibsen
287f69db4d
AMQ-4026: Introduced ThreadPoolUtils to shutdown thread pools in a more graceful manner. Improved logging for lifecycle of thread pools and tasks being executed.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381557 13f79535-47bb-0310-9956-ffa450edef68
2012-09-06 11:08:11 +00:00
Timothy A. Bish
2251ba0796
fix for: https://issues.apache.org/jira/browse/AMQ-3991
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381422 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 22:22:01 +00:00
Claus Ibsen
0b01996efb
AMQ-3451: Statis default thread pools is @deprecated. Refactored some code to avoid using that. Otherwise it causes leaks in Tomcat when redeploying apps.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381237 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 16:28:58 +00:00
Claus Ibsen
c30dd0c0ba
AMQ-4016: Removed not used static thread pool from ActiveMQConnectionFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381191 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 14:08:48 +00:00
Gary Tully
446cb26e38
https://issues.apache.org/jira/browse/AMQ-4020 https://issues.apache.org/jira/browse/AMQ-4021 - disable this test till we deal with propagating store exceptions in place of ioexceptions which result in the transport abort and deal with more exact exception reporting from jdbc transaction context, ie from close/commit processing
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381161 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 12:43:16 +00:00
Gary Tully
5c61d97b20
https://issues.apache.org/jira/browse/AMQ-4017 - always use async dispatch for the advisory consumer so that we will not block remote dispatch
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1381095 13f79535-47bb-0310-9956-ffa450edef68
2012-09-05 09:22:43 +00:00
Gary Tully
640424727d
https://issues.apache.org/jira/browse/AMQ-3998 https://issues.apache.org/jira/browse/AMQ-3999 - retroactive durables not supported by older stores, kaha and amq
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380847 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 20:12:18 +00:00
Gary Tully
eaac0d2eee
https://issues.apache.org/jira/browse/AMQ-3998 https://issues.apache.org/jira/browse/AMQ-3999 - resolve emergent problems with retroactive durables and use of cache when active durable disconnects. resolves unit test failures and add some more
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380547 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 11:02:17 +00:00
Claus Ibsen
8f207568aa
Fixing test that may fail
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380477 13f79535-47bb-0310-9956-ffa450edef68
2012-09-04 07:55:05 +00:00
Bosanac Dejan
f344696a4a
give tests a little bit more time, to check if it will help with occasional failures on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380264 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 15:10:23 +00:00
Claus Ibsen
e85a8bd11c
AMQ-3797: Avoid using StringArrayEditor as property editor as it causes memory leak when undeploying app in a container such as Tomcat.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380168 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 08:35:42 +00:00
Claus Ibsen
bed42a27c6
AMQ-3797: Added unit test for StringArrayEditor
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1380147 13f79535-47bb-0310-9956-ffa450edef68
2012-09-03 07:24:27 +00:00
Claus Ibsen
b186513b05
AMQ-3797: Avoid adding the same paths to property editor serach path, if for example ActiveMQ is redeployed.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379967 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 13:48:04 +00:00
Claus Ibsen
83eb01188a
AMQ-4008: Fixed MDC leak during shutting down AMQ broker, such as reported by Apache Tomcat.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379923 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 07:32:41 +00:00
Claus Ibsen
15b27399e8
AMQ-4007: Fixed default values of system usage for GB values to use 1024 multiplier instead of 1000.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379922 13f79535-47bb-0310-9956-ffa450edef68
2012-09-02 07:12:33 +00:00
Claus Ibsen
ca728c0958
AMQ-4007: Fixed default values of system usage for GB values to use 1024 multiplier instead of 1000.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379767 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 14:59:17 +00:00
Claus Ibsen
4b44d3129c
AMQ-4012: Use english locale when doing lower/upper case introspection to avoid issues when running on certain locales such as turkish.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379765 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 14:50:33 +00:00
Claus Ibsen
0e724cd53f
AMQ-4010: Use pre compiled pattern when doing string replaceAll as its faster.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379761 13f79535-47bb-0310-9956-ffa450edef68
2012-09-01 13:04:53 +00:00
Claus Ibsen
3092051699
AMQ-4008: Fixed issue with re-deploying AMQ broker in same JVM such as Apache Tomcat, with the jmx connector not working on re-deployment. Now it does. Improved logging and better message to end user about the JMX issue.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379454 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 14:01:39 +00:00
Claus Ibsen
eea9fca04d
AMQ-4008: Fixed MDC leak during shutting down AMQ broker, such as reported by Apache Tomcat.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379376 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 09:10:23 +00:00
Bosanac Dejan
f5178cc73f
https://issues.apache.org/jira/browse/AMQ-4005 - pluggable lockers; move shared file locker from kahadb package and improve javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378917 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 13:00:04 +00:00
Claus Ibsen
b080d5fe21
AMQ-3988: Setting a message listener to null on AcitveMQSession should be allowed even if the session has been closed, to avoid throwning invalid state exception, that causes exceptions to be logged during shutting down apps. This allows a more clean shutdown of AMQ.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378887 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 11:15:32 +00:00
Bosanac Dejan
6ce702d4cf
https://issues.apache.org/jira/browse/AMQ-4005 - plugable lockers; introduce new API and refactor current KahaDB and JDBC solutions
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378881 13f79535-47bb-0310-9956-ffa450edef68
2012-08-30 10:47:49 +00:00
Timothy A. Bish
324ab99afa
additional change for: https://issues.apache.org/jira/browse/AMQ-3996
...
The sslEngine instance in the NIOSSLTransport needs to be updated when the handshake process completes.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378686 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 19:11:22 +00:00
Gary Tully
99be769f96
https://issues.apache.org/jira/browse/AMQ-3998 https://issues.apache.org/jira/browse/AMQ-3999 - fix regression in org.apache.activemq.bugs.AMQ3934Test - resetting batch too eagerly in old behaviour results in picking up deleted message
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378542 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 13:30:04 +00:00
Gary Tully
935265529f
make test more deterministic, ensure bridge starts first time b/c remote broker is started first, may need to use a queue if there are further inconsistency problems
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378540 13f79535-47bb-0310-9956-ffa450edef68
2012-08-29 13:29:20 +00:00
Timothy A. Bish
6175dc4639
fix for: https://issues.apache.org/jira/browse/AMQ-3996
...
Set the transportContext property if the certificates are available.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378372 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 22:41:02 +00:00
Torsten Mielke
d3ce3d8e4a
Enabling support for JMX (off by default) to NetworkTestSupport
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378102 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 12:21:35 +00:00
Gary Tully
d41f40a051
https://issues.apache.org/jira/browse/AMQ-3998 https://issues.apache.org/jira/browse/AMQ-3999 - fix issue with redispatch of committed prepared transactions, unnecessary call to determin store size for durable subs and duplicate recording of message pending dispatch on an unsubscribe
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378085 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 11:42:27 +00:00
Timothy A. Bish
53f07b0a75
fix for: https://issues.apache.org/jira/browse/AMQ-3995
...
Remove the long and not so useful serial add test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1377779 13f79535-47bb-0310-9956-ffa450edef68
2012-08-27 18:26:22 +00:00
Timothy A. Bish
6ce59ed1b0
fix and test for: https://issues.apache.org/jira/browse/AMQ-3992
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1377095 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 20:39:23 +00:00
Gary Tully
c55f6a84d7
https://issues.apache.org/jira/browse/AMQ-3557 - Performance of consumption with JDBC persistance and Microsoft SQL Server. Fix up default value for maxRows to allign with default page size. Use a large maxPageSize via destination policy for durable subs that have sparse selectors. Same as queues with sparse selectors
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376934 13f79535-47bb-0310-9956-ffa450edef68
2012-08-24 14:21:22 +00:00
Gary Tully
705a877981
trace temp dest recreation by state tracker
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376513 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 14:45:17 +00:00
Gary Tully
5ed1ce50da
https://issues.apache.org/jira/browse/AMQ-3872 - fix up typo in blob adapter
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376100 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 15:29:28 +00:00
Gary Tully
6c73104152
include local port in transport to string to allow correlation between client and server side transport threads based on their ports.
...
Appending @local-port so client side: "ActiveMQ Transport: tcp://localhost/127.0.0.1:61616@56811" thread can be correlated with broker
side: "ActiveMQ Transport: tcp:///127.0.0.1:56811@61616" which listens on local 61616
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376038 13f79535-47bb-0310-9956-ffa450edef68
2012-08-22 13:31:20 +00:00
Timothy A. Bish
4bace216b9
updated fix: https://issues.apache.org/jira/browse/AMQ-3982
...
Instead of locking on the PList iterator which forces a lock on every access to hasNext we should lock down at the PageFile level in readPage making the seek and read an atomic operation. Since many reads on a single already loaded page don't need to be synchronized we pay a higher price for locking in the specific PList case than we do buy creating this atomic read operation in PageFile.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375852 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 23:28:50 +00:00
Gary Tully
ba9037ca65
https://issues.apache.org/jira/browse/AMQ-3985 - ActiveMQConnection temp advisory consumer should use asyncDispatch - can cause deadlock with slow consumers. Fix with test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375595 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 14:59:41 +00:00
Bosanac Dejan
dfbdbf6a50
https://issues.apache.org/jira/browse/AMQ-3983 - osgi dependency
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375543 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 13:44:49 +00:00
Gary Tully
a526a60abd
avoid repated additions to the full list on dispatch, may need to revisit the pendingWakeups count on iterate, seems we will attempt to dispatch too often which is a waste of cpu in the event that there are pending messages or new sends and slow consumers, relates to: https://issues.apache.org/jira/browse/AMQ-1902
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375484 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 11:54:31 +00:00
Gary Tully
3fa927554c
https://issues.apache.org/jira/browse/AMQ-3887 - have local dispatch do safe wait till remove broker setup is complete such that producer is fully created
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375459 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 10:26:24 +00:00
Gary Tully
7e206615b8
remove non portable ref to /tmp for test - https://issues.apache.org/jira/browse/AMQ-3982
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375444 13f79535-47bb-0310-9956-ffa450edef68
2012-08-21 09:29:33 +00:00
Timothy A. Bish
030d09b816
fix and test for: https://issues.apache.org/jira/browse/AMQ-3982
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1375140 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 17:50:10 +00:00
Timothy A. Bish
e49f5d9ff8
fix for: https://issues.apache.org/jira/browse/AMQ-3981
...
Remove the commons log reference and unused logger.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1374231 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 12:55:35 +00:00
Timothy A. Bish
3c39db8cce
fix and test for: https://issues.apache.org/jira/browse/AMQ-3961
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1374229 13f79535-47bb-0310-9956-ffa450edef68
2012-08-17 12:47:37 +00:00
Bosanac Dejan
a60442458e
https://issues.apache.org/jira/browse/AMQ-3973 - data.db not calculated in store size
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1372859 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 12:35:26 +00:00
Bosanac Dejan
ce50e287ac
https://issues.apache.org/jira/browse/AMQ-3972 - failover transport - don't propagate exceptions for disposed transport
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1372770 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 08:34:41 +00:00
Bosanac Dejan
38e5c0829a
https://issues.apache.org/jira/browse/AMQ-3885 + https://issues.apache.org/jira/browse/AMQ-3971 - removing System.out.println()
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1372754 13f79535-47bb-0310-9956-ffa450edef68
2012-08-14 07:38:27 +00:00
Timothy A. Bish
60832c0b2d
change m2e connector config
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1371814 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 19:48:43 +00:00
Timothy A. Bish
60383038d3
Test didn't need to depend on hard coded port so use :0 instead. Add some additional test cases.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1371809 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 19:01:24 +00:00
Torsten Mielke
39e20d0415
AMQ-3965: Fix for org.apache.activemq.ActiveMQMessageConsumer.java plus new JUnit test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1371722 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 14:44:36 +00:00
Bosanac Dejan
fc0b359973
stop brokers after test, which should prevent DbRestartJDBCQueueMasterSlaveLeaseQuiesceTest.testVirtualTopicFailover from failing
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1371706 13f79535-47bb-0310-9956-ffa450edef68
2012-08-10 14:04:58 +00:00
Timothy A. Bish
e28b55c142
Don't exit the broker stop loop if you get an exception, log it and stop the rest if possible.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1371200 13f79535-47bb-0310-9956-ffa450edef68
2012-08-09 13:24:33 +00:00
Timothy A. Bish
0a676e5ffb
Add a shorter connectTimeout to ensure the tests don't fail because they are waiting on the reconnectMutex for to long.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1370865 13f79535-47bb-0310-9956-ffa450edef68
2012-08-08 18:01:11 +00:00
Timothy A. Bish
ca15308b3f
method buildBackups should bail out early in the transport is stopped.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1370581 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 22:50:26 +00:00
Timothy A. Bish
b6e82fec92
Test can leave a dangling BrokerSerive instance running if it get an assertion at the right time. Make sure all started brokers get stopped.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1370576 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 22:28:26 +00:00