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
Timothy A. Bish
205d02598d
Refine the fix for: https://issues.apache.org/jira/browse/AMQ-3939
...
The unit test was failing on slower hardware, some backups could be missed if the transport was processing the ConnectionControl command during the stop since the buildBackups method runs from there outside the reconnectMutex and not in the thread of the taskRunner.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1370559 13f79535-47bb-0310-9956-ffa450edef68
2012-08-07 22:02:28 +00:00
Gary Tully
378d7a606b
https://issues.apache.org/jira/browse/AMQ-3958 - fix up for current and next few versions, highlight in the release guide
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1368861 13f79535-47bb-0310-9956-ffa450edef68
2012-08-03 10:01:44 +00:00
Timothy A. Bish
99f044574d
Add to the test case to show there's no problem for: https://issues.apache.org/jira/browse/AMQ-3285
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1368034 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 14:46:18 +00:00
Gary Tully
8e60ca9a90
https://issues.apache.org/jira/browse/AMQ-3956 - KahaDB pagefile (db.data) steady growth - BTreeIndex page leak. release the clild page when empty branch is promoted, additional tests
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1367924 13f79535-47bb-0310-9956-ffa450edef68
2012-08-01 11:22:48 +00:00
Gary Tully
91ac82a83c
add test that seems to show index growth with repeated use of durable subs
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1367626 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:53:29 +00:00
Timothy A. Bish
3eed779378
apply patch for: https://issues.apache.org/jira/browse/AMQ-3954
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1367622 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:50:36 +00:00
Timothy A. Bish
79bce92c33
apply patch for: https://issues.apache.org/jira/browse/AMQ-3953
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1367620 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 15:43:59 +00:00
Gary Tully
c9b49d8b07
https://issues.apache.org/jira/browse/AMQ-3294 - further refinement of dispose on security exception, now only on connection attempts. A security exception on an authenticated connection is reported back to the client and remains intact. Made use of inactivitymonitor w useKeepAlive=false to abort dos style hogging connections
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1367553 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 13:54:41 +00:00
Gary Tully
78529d4eaf
add some context to the intermittent failure, issue is ioexception from store being treated as transport failure, if the error ocurrs on a ack commit we can expect a redelivery that won't come and fail the test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1367552 13f79535-47bb-0310-9956-ffa450edef68
2012-07-31 13:53:37 +00:00
Timothy A. Bish
fefb228698
fix for: https://issues.apache.org/jira/browse/AMQ-3947
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1366202 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 21:07:01 +00:00
Timothy A. Bish
27a74d381b
fix for: https://issues.apache.org/jira/browse/AMQ-3917
...
Allow multiple durable subs for Stomp v1.1 client connections.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1366173 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 19:43:41 +00:00
Hiram R. Chirino
633d5ea043
Move the slow tests to it's own profile.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1366013 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 14:19:44 +00:00
Bosanac Dejan
9cda4262e9
https://issues.apache.org/jira/browse/AMQ-3885 - add max thread pool size to properties
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1365945 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 11:13:46 +00:00
Bosanac Dejan
e3fcf71ca6
https://issues.apache.org/jira/browse/AMQ-3885 - allow setting resjected task handler on thread pool executor
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1365943 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 10:45:42 +00:00
Hiram R. Chirino
6b305ba498
Fixes AMQ-3945: QueueBrowser missing messages on first browse.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1365871 13f79535-47bb-0310-9956-ffa450edef68
2012-07-26 03:11:45 +00:00
Timothy A. Bish
6da702be23
fix test case UnifiedSessionTest for: https://issues.apache.org/jira/browse/AMQ-3944
...
ActiveMQConnection had no way to tell if it was a QueueConnection or not.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1365816 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 22:04:34 +00:00
Hiram R. Chirino
83760fdcd0
Implements AMQ-3944 : Test against the Joram JMS conformance tests.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1365608 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 14:49:41 +00:00
Bosanac Dejan
a54fa4b17a
https://issues.apache.org/jira/browse/AMQ-3823 - stomp trim headers for protocol version 1.0
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1365542 13f79535-47bb-0310-9956-ffa450edef68
2012-07-25 11:55:56 +00:00
Timothy A. Bish
14e636b748
apply fix for: https://issues.apache.org/jira/browse/AMQ-3939
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1365290 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 21:13:33 +00:00
Gary Tully
edf5f64982
fix ignored param in waitfor - resolve regression of org.apache.activemq.broker.region.cursors.NegativeQueueTest#testWithDefaultPrefetchOneConsumer
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1365019 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 12:54:36 +00:00
Gary Tully
0051c4ea6f
https://issues.apache.org/jira/browse/AMQ-3696 - fix regression in FailoverStaticNetworkTest, in jvm slave overwriting broker registry entry of master
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1364973 13f79535-47bb-0310-9956-ffa450edef68
2012-07-24 10:49:47 +00:00
Timothy A. Bish
0227c08112
fix and tests for: https://issues.apache.org/jira/browse/AMQ-3932
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1364009 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 22:53:07 +00:00
Bosanac Dejan
c33231bd43
https://issues.apache.org/jira/browse/AMQ-3885 - limiting number of threads used by session executor and provide a way to set custom task runner factory
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1363790 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 14:09:21 +00:00
Bosanac Dejan
d301b41638
https://issues.apache.org/jira/browse/AMQ-3918 - revert accidental change - start connector only after we create a mbean for it
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1363700 13f79535-47bb-0310-9956-ffa450edef68
2012-07-20 09:58:49 +00:00
Gary Tully
6bec2aabb5
fix teardown order so close can do its thing
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1363349 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 14:24:12 +00:00
Gary Tully
62a6e358c8
get consistent run order for tests to ease diagnostics of intermittent failures
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1363348 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 14:23:38 +00:00
Bosanac Dejan
3c4848b8a5
https://issues.apache.org/jira/browse/AMQ-3696 - fix web console to show special page for slave brokers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1363319 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 12:55:14 +00:00
Gary Tully
f135b7ab76
allow the sleep time to be specified to allow finer grain return from a wait
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1363314 13f79535-47bb-0310-9956-ffa450edef68
2012-07-19 12:39:16 +00:00
Bosanac Dejan
eebe1358d2
https://issues.apache.org/jira/browse/AMQ-3696 - use startAsync property instead of separate method
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1363003 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 16:19:31 +00:00
Bosanac Dejan
ed58e9a05d
https://issues.apache.org/jira/browse/AMQ-3696 - make start() sync because of the tests and embedded brokers and introduce startAsync() to be used by XBean
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1362979 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 15:25:25 +00:00
Timothy A. Bish
b5a2f7b3cb
Add an m2e mapping to force the protobuf stuff to get generated in a compile from the Eclipse IDE.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1362963 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 14:30:12 +00:00
Bosanac Dejan
7f89b33aa4
https://issues.apache.org/jira/browse/AMQ-3696 - start broker asynchronously since hanging in start() method leads to problems with stopping slaves in osgi
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1362950 13f79535-47bb-0310-9956-ffa450edef68
2012-07-18 13:43:09 +00:00
Timothy A. Bish
bf62dc88c1
apply fix for: https://issues.apache.org/jira/browse/AMQ-3934
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1362477 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 13:03:26 +00:00
Gary Tully
7a7d68411c
https://issues.apache.org/jira/browse/AMQ-3935 - JConsole browse() function does not work if useCache=false. Add test case and a few other browse variants with useCache=false. Fix ensures a force pagein is done if usecache is false
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1362462 13f79535-47bb-0310-9956-ffa450edef68
2012-07-17 12:10:25 +00:00
Timothy A. Bish
8aadc4b9ec
fix for: https://issues.apache.org/jira/browse/AMQ-3929
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1362091 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 15:27:54 +00:00
Timothy A. Bish
0f11d8c3f9
fix for: https://issues.apache.org/jira/browse/AMQ-3927
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1362035 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 13:49:31 +00:00
Gary Tully
c4cdd516a1
https://issues.apache.org/jira/browse/AMQ-3785 - ActiveMQSslConnectionFactory does not detect ssl request in failover URIs when creating transports. factory was bypassing the protocol selection, fixed by making use of the sslcontext thread local, which is used when set by the ssltransport factory
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1361984 13f79535-47bb-0310-9956-ffa450edef68
2012-07-16 12:11:13 +00:00
Timothy A. Bish
ee17789e48
fix for: https://issues.apache.org/jira/browse/AMQ-3890 make leveldb optional
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1361378 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 20:20:28 +00:00
Timothy A. Bish
6b203be068
apply patch for: https://issues.apache.org/jira/browse/AMQ-3849
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1361227 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 14:10:31 +00:00
Gary Tully
a5bb9bd1d7
https://issues.apache.org/jira/browse/AMQ-3903 - expand test to validate Full advisory: https://issues.apache.org/jira/browse/AMQ-3925
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1361138 13f79535-47bb-0310-9956-ffa450edef68
2012-07-13 10:20:46 +00:00
Gary Tully
db1f6fe2b4
https://issues.apache.org/jira/browse/AMQ-3903 - Failed to fire fast producer advisory, reason: java.lang.NullPointerException. A generic producer does not contain a destination, so it must be obtained from the exchange. Modified the boker interface to reflect that. fixed up typo in the policy entry, advisoryForFastProducers now correctly spelled in favour of advisdoryForFastProducers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360642 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 11:58:05 +00:00
Gary Tully
f180b1d7db
add test to validate jdbc xml config with explicit adapter
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360614 13f79535-47bb-0310-9956-ffa450edef68
2012-07-12 10:17:41 +00:00
Gary Tully
75bd4f243a
https://issues.apache.org/jira/browse/AMQ-2656 - add wellknown xa factory name, XAConnectionFactory so that context.lookup("XAConnectionFactory") will work as expected out of the box
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360125 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 11:36:20 +00:00
Gary Tully
97ac8e22df
https://issues.apache.org/jira/browse/AMQ-1191 - apply patch from Mikhail Melamud with thanks. fix up lock statement when isUseLockCreateWhereClause is set
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360095 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 10:12:31 +00:00
Bosanac Dejan
ac64a722c1
https://issues.apache.org/jira/browse/AMQ-2665 - refactoring the test a bit
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360088 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 09:45:32 +00:00
Bosanac Dejan
e66967bff1
https://issues.apache.org/jira/browse/AMQ-2665 - regression, keepDurableSubsActive is not properly propagated to the durable subscription leading to increasing consumer list
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1360085 13f79535-47bb-0310-9956-ffa450edef68
2012-07-11 09:28:19 +00:00
Timothy A. Bish
425fa47360
additional fix for fo:r https://issues.apache.org/jira/browse/AMQ-3921 make sure on selector change that we remove the subscription from the list so that the updated one gets put back in.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359952 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 23:15:05 +00:00
Timothy A. Bish
4ae6807cc2
fix and test fo:r https://issues.apache.org/jira/browse/AMQ-3921
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359949 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 23:11:36 +00:00