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
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
Timothy A. Bish
7308396581
fix for: https://issues.apache.org/jira/browse/AMQ-3920
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359880 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 20:07:27 +00:00
Timothy A. Bish
7b231fe8d9
Add mew method from Java 1.7 to prevent compiler errors when only 1.7 is installed.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359658 13f79535-47bb-0310-9956-ffa450edef68
2012-07-10 13:28:36 +00:00
Bosanac Dejan
cb895f01b7
https://issues.apache.org/jira/browse/AMQ-3918 - transport connector urls exposed using JMX
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1359194 13f79535-47bb-0310-9956-ffa450edef68
2012-07-09 14:43:30 +00:00
Bosanac Dejan
d1a0419a02
https://issues.apache.org/jira/browse/AMQ-3915 - jmx connectorHost to bind to the specified address
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1358147 13f79535-47bb-0310-9956-ffa450edef68
2012-07-06 11:50:16 +00:00
Timothy A. Bish
9601f6742e
fix for: https://issues.apache.org/jira/browse/AMQ-3913
...
Stop trimming STOMP header keys to align with the spc.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357919 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 21:07:06 +00:00
Timothy A. Bish
b4f21b64d4
Clean up the tests so that they send better formated stomp send frames without spaces in the message headers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357886 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 20:32:21 +00:00
Timothy A. Bish
5d0182266f
Fix the test as the recent fixes ensure that for a non-persistent broker config, there is not a persistent DB store.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357686 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:33:27 +00:00
Timothy A. Bish
801e26ac38
Fix the test as the recent fixes ensure that for a non-persistent broker config, there is not a persistent DB store.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357677 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:24:08 +00:00
Timothy A. Bish
654320a359
Fix the test as the recent fixes ensure that for a non-persistent broker config, there is not a persistent DB store.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357675 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:22:17 +00:00
Timothy A. Bish
9e03278e69
allow a bit more time for the message to propagate.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357666 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 15:09:03 +00:00
Timothy A. Bish
a2f59ec0ad
fix failing test that sometimes get an extra newline in the frame frame the inactivity monitor.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1357630 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 14:34:18 +00:00
Timothy A. Bish
a3836b562d
fix for: https://issues.apache.org/jira/browse/AMQ-3224
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356927 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 20:45:12 +00:00
Timothy A. Bish
bb1e246c1b
The start time needs to be set before stopping broker1 in order to account for context switching that can cause the failover process to start before the current call to track the failover start time.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356868 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 19:04:49 +00:00
Gary Tully
ae816dcb3f
https://issues.apache.org/jira/browse/AMQ-3912 - Durable subs store messages in error with broker attribute persistent="false" - fix with test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356724 13f79535-47bb-0310-9956-ffa450edef68
2012-07-03 13:31:32 +00:00
Timothy A. Bish
ae5bd2ec3c
fix and tests for: https://issues.apache.org/jira/browse/AMQ-3909
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356431 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 19:36:24 +00:00
Timothy A. Bish
e0d264181f
fix fore: https://issues.apache.org/jira/browse/AMQ-3908
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1356238 13f79535-47bb-0310-9956-ffa450edef68
2012-07-02 14:12:01 +00:00
Timothy A. Bish
1e18cf2d71
Adds a method to allow for sending a receipt on disconnect send.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1355553 13f79535-47bb-0310-9956-ffa450edef68
2012-06-29 20:26:32 +00:00
Timothy A. Bish
b7a1883b4b
fix and tests for: https://issues.apache.org/jira/browse/AMQ-3897
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1355183 13f79535-47bb-0310-9956-ffa450edef68
2012-06-28 22:20:09 +00:00
Gary Tully
e900fb41db
AMQ-3872 AMQ-3305 - deal with redelivery of acked messages pending transaction completion, getting dropped by subscriptions, invisible till broker restart
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354449 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 11:53:58 +00:00
Gary Tully
551efc90ec
speed up and ensure test works on virtualised/slow hw - ie: ci
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354448 13f79535-47bb-0310-9956-ffa450edef68
2012-06-27 11:53:22 +00:00
Timothy A. Bish
f90e6b9b6d
apply patch for: https://issues.apache.org/jira/browse/AMQ-3900
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354291 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 23:40:59 +00:00
Timothy A. Bish
3813947879
fix and test for: https://issues.apache.org/jira/browse/AMQ-3846
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1354270 13f79535-47bb-0310-9956-ffa450edef68
2012-06-26 22:20:51 +00:00
Timothy A. Bish
41c93667dc
fix for: https://issues.apache.org/jira/browse/AMQ-3787
...
Adds support for setting useCompression on NetworkConnectors to enforce that all messages forwarded across the network are compressed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1353042 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 21:53:01 +00:00
Gary Tully
60624c4e38
fix up destination statistics for recovered transactions, pending adds are not visible, but pending acks are still accounted for in the messages count, commit/rollback updates enqueues/dequeues/messages as expected - https://issues.apache.org/jira/browse/AMQ-3872 , https://issues.apache.org/jira/browse/AMQ-3305 - both kahadb and jdbc suffered
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1353024 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 20:43:24 +00:00
Timothy A. Bish
11497e9e98
apply patch for: https://issues.apache.org/jira/browse/AMQ-3896
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352984 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 18:03:33 +00:00
Timothy A. Bish
bd31548920
fix for: https://issues.apache.org/jira/browse/AMQ-3895
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352933 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 15:40:03 +00:00
Gary Tully
ac8c8d1bc9
implement https://issues.apache.org/jira/browse/AMQ-3894 - broker based redelivery via schedular resend and a per destination redelivery policy, plugin and tests
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352902 13f79535-47bb-0310-9956-ffa450edef68
2012-06-22 14:31:40 +00:00
Gary Tully
044b11918a
AMQ-3014 remove hardcoded port 50000
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352487 13f79535-47bb-0310-9956-ffa450edef68
2012-06-21 10:11:22 +00:00
Timothy A. Bish
7fbbcf3565
fix for: https://issues.apache.org/jira/browse/AMQ-3887
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352137 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 14:56:38 +00:00
Gary Tully
32d3fd51b4
https://issues.apache.org/jira/browse/AMQ-1885 - make tests more deterministic, ensure ioexception handler is used with lease locker to avoid contending masters, the resumption after an error is dependent on a keepAlive win, so the lease expiry tests w/o the io handler is invalid
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352120 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 14:14:33 +00:00
Timothy A. Bish
f3d84aeb1a
Don't use fixed ports for broker instances, let the connector find an open port.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352103 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 13:56:31 +00:00
Timothy A. Bish
e2e71eb3ca
Don't use fixed ports for broker instances, let the connector find an open port.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1352081 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 13:08:10 +00:00
Timothy A. Bish
482be54f82
apply fix for: https://issues.apache.org/jira/browse/AMQ-3889
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1351743 13f79535-47bb-0310-9956-ffa450edef68
2012-06-19 15:32:32 +00:00
Timothy A. Bish
e0bb36b4b7
fix and test for: https://issues.apache.org/jira/browse/AMQ-3873
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1350657 13f79535-47bb-0310-9956-ffa450edef68
2012-06-15 15:35:04 +00:00
Timothy A. Bish
bf1f755299
fix for: https://issues.apache.org/jira/browse/AMQ-3882
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1350425 13f79535-47bb-0310-9956-ffa450edef68
2012-06-14 23:27:25 +00:00
Gary Tully
6f2c998b4d
https://issues.apache.org/jira/browse/AMQ-3654 - tidy up logging and by default assume no adjust for out of sync system clocks
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1350029 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 21:43:21 +00:00
Gary Tully
e32d6f6645
add autofail as mqtttest seems to hang ci build in jenkins atm
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1350016 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 21:04:28 +00:00
Gary Tully
dc258ab2ae
https://issues.apache.org/jira/browse/AMQ-3654 - JDBC Master/Slave : Slave cannot acquire lock when the master loose database connection. Adding an leasebasedlocker that can survive db disconnect, and jdbcioexceptionhandler that will pause/resume transports on db outage
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1350006 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 20:45:10 +00:00
Bosanac Dejan
9bf65b4f09
https://issues.apache.org/jira/browse/AMQ-3845 - sync test case is now fixed as well
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349719 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 10:13:09 +00:00
Bosanac Dejan
b067a65444
https://issues.apache.org/jira/browse/AMQ-3845 - make test (and map) work better on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349713 13f79535-47bb-0310-9956-ffa450edef68
2012-06-13 09:53:13 +00:00
Timothy A. Bish
ccf601e4e4
New feature and test for: https://issues.apache.org/jira/browse/AMQ-3878
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349585 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 23:38:40 +00:00
Timothy A. Bish
59b38fcc43
fix for: https://issues.apache.org/jira/browse/AMQ-3879
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349582 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 23:06:59 +00:00
Timothy A. Bish
ba4a9ed841
fix for: https://issues.apache.org/jira/browse/AMQ-3828
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349527 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 21:09:37 +00:00
Timothy A. Bish
4bba15a763
fix for: https://issues.apache.org/jira/browse/AMQ-3852
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349383 13f79535-47bb-0310-9956-ffa450edef68
2012-06-12 14:52:47 +00:00
Timothy A. Bish
a307c57e98
Adds a little test to show that messages cross the network bridge that are sent compressed remain compressed.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1349030 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 21:41:21 +00:00
Timothy A. Bish
4a7f870593
Test can fail on slower machines, give it a bit more time and improve the assert output.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348983 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 19:43:52 +00:00
Bosanac Dejan
cfd28536b9
https://issues.apache.org/jira/browse/AMQ-3845 - exclude assertion in sync case as ldap connection close time is unpredictable
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348885 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 14:58:28 +00:00
Gary Tully
c1fbf53b72
https://issues.apache.org/jira/browse/AMQ-3845 - increase the refresh rate in the test for slower machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348880 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 14:52:17 +00:00
Bosanac Dejan
06949a5074
https://issues.apache.org/jira/browse/AMQ-3845 - handle LDAP restarts in cached ldap authorization map
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348761 13f79535-47bb-0310-9956-ffa450edef68
2012-06-11 09:24:51 +00:00
Timothy A. Bish
21a0465448
fix build issue with some Generic types.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348483 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 18:53:25 +00:00
Timothy A. Bish
691c70d3ea
Add missing license header
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348352 13f79535-47bb-0310-9956-ffa450edef68
2012-06-09 10:40:52 +00:00
Timothy A. Bish
584c133e9d
fix for: https://issues.apache.org/jira/browse/AMQ-3877
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1348270 13f79535-47bb-0310-9956-ffa450edef68
2012-06-08 22:56:35 +00:00
Timothy A. Bish
06a42763c5
On a loaded or very slow machine these can fail without a bit more time on the timeout. Was able to reproduce locally with video encoders running.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1347824 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 22:59:47 +00:00
Bosanac Dejan
0a8e505b14
https://issues.apache.org/jira/browse/AMQ-3770 - ldap group expansion
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1347649 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 14:46:27 +00:00
Gary Tully
c0a8060ef6
deal with possible null when text marshalled via xstream as munged ctr is used which bypasses default init
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1347621 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 14:02:00 +00:00
Bosanac Dejan
1f862ba3cd
https://issues.apache.org/jira/browse/AMQ-3791 - CachedLDAPAuthorizationMap improvements
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1347580 13f79535-47bb-0310-9956-ffa450edef68
2012-06-07 11:58:40 +00:00
Gary Tully
279ecfcd6d
ignore the mqttssl test till it gets some love, it hangs the nigtly run
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1346818 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 10:48:03 +00:00
Gary Tully
3adee8c076
https://issues.apache.org/jira/browse/AMQ-3872 - avoid property syntax for internal accessor to ensure property equality after seriaization in generated marshalling tests
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1346813 13f79535-47bb-0310-9956-ffa450edef68
2012-06-06 10:29:35 +00:00
Gary Tully
b07f31ebc6
https://issues.apache.org/jira/browse/AMQ-3305 and https://issues.apache.org/jira/browse/AMQ-3872 - fix up durable subs with xa recovery for kahadb and tidy up test assumptions re redelivery for jdbc. Shared tests pass with both stores now
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1346594 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 21:13:34 +00:00
Gary Tully
f0d0ce07ab
https://issues.apache.org/jira/browse/AMQ-3288 - fix over flow to negative on signed int accumulator, would break priority message deletion
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1346401 13f79535-47bb-0310-9956-ffa450edef68
2012-06-05 14:48:17 +00:00
Gary Tully
64f3492c85
https://issues.apache.org/jira/browse/AMQ-3872 - Implement "exactly once" delivery with JDBC and XA in the event of a failure post prepare. jdbc xa is not a runner due to single table and update locks. implemention adds xid column to messages and acks table. a non null value indicated a prepared add/ack, so the insert is done on prepare. the result of the transaction outcome requires a row level update
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1345202 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 14:32:50 +00:00
Bosanac Dejan
15f85cd768
https://issues.apache.org/jira/browse/AMQ-2868 - optimize code a bit now that we don't have a sync
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1345034 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 09:51:48 +00:00
Bosanac Dejan
6d041dc2a5
https://issues.apache.org/jira/browse/AMQ-2868 - remove sync on memoery transaction store tx
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1345023 13f79535-47bb-0310-9956-ffa450edef68
2012-06-01 09:14:28 +00:00
Timothy A. Bish
eb887f1545
fix for: https://issues.apache.org/jira/browse/AMQ-3836
...
Make a best effort to find the correct destination name even if space padded before falling back to the fallback conversion config.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1344894 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 20:26:28 +00:00
Timothy A. Bish
fd37e8c883
fix for: https://issues.apache.org/jira/browse/AMQ-3871
...
Fix the addMessageFirst and values methods in OrderedPendingList and add tests for both OrderedPendingList and PrioritizedPendingList along with a test case to show the bad behavior for re-delivered in-flight non-persistent messages with durable subscribers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1344842 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 18:14:07 +00:00
Timothy A. Bish
30f677e56a
Fix for: https://issues.apache.org/jira/browse/AMQ-3841
...
Make the call to adapter.getDestinations() only once.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1344778 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 15:34:59 +00:00
Robert Davies
4d43c74fd2
include mqtt tests
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1343257 13f79535-47bb-0310-9956-ffa450edef68
2012-05-28 13:46:14 +00:00
Timothy A. Bish
d44513a655
fix for: https://issues.apache.org/jira/browse/AMQ-3669
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1342028 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 20:27:23 +00:00
Robert Davies
144dda0308
Additional fixes for https://issues.apache.org/jira/browse/AMQ-3855 - timing issue in adding wildcard subscriptions can result in duplicate messages sent to MQTT
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1341820 13f79535-47bb-0310-9956-ffa450edef68
2012-05-23 10:25:34 +00:00
Timothy A. Bish
bed24fabd9
Fix for: https://issues.apache.org/jira/browse/AMQ-3841
...
Ensure that the mKahaDB cleans up the per-destination kahaDB data when the destination is deleted, and don't throw exceptions in cases where we find an older one that has no destinations in it any longer.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1341601 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 19:47:23 +00:00
Robert Davies
1e3ea5c9c5
Fix for https://issues.apache.org/jira/browse/AMQ-3855
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1341521 13f79535-47bb-0310-9956-ffa450edef68
2012-05-22 15:22:55 +00:00
Timothy A. Bish
fa62da8601
Add autofail to prevent test hang
...
see: https://issues.apache.org/jira/browse/AMQ-3842
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1340275 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 22:05:05 +00:00
Timothy A. Bish
53fff528a7
Apply patch for: https://issues.apache.org/jira/browse/AMQ-3817
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1340219 13f79535-47bb-0310-9956-ffa450edef68
2012-05-18 19:30:26 +00:00
Timothy A. Bish
3082a20520
Unit test that reproduces AMQ-3841
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1339660 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 15:49:32 +00:00
Timothy A. Bish
e4d90d9281
Add test to show no issue for: https://issues.apache.org/jira/browse/AMQ-3835
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1339589 13f79535-47bb-0310-9956-ffa450edef68
2012-05-17 13:09:32 +00:00
Timothy A. Bish
f13968e97e
wait for started before checking on the MBean
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1336387 13f79535-47bb-0310-9956-ffa450edef68
2012-05-09 20:42:06 +00:00
Timothy A. Bish
d5c86b0ae5
apply patch for: https://issues.apache.org/jira/browse/AMQ-3822
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1333905 13f79535-47bb-0310-9956-ffa450edef68
2012-05-04 12:23:41 +00:00
Bosanac Dejan
c587918821
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1332983 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 10:36:17 +00:00
Bosanac Dejan
b7e264f917
[maven-release-plugin] prepare release activemq-5.6.0
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1332981 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 10:35:43 +00:00
Gary Tully
3307d57528
ensure test is more deterministic and does not hang ci build
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1332977 13f79535-47bb-0310-9956-ffa450edef68
2012-05-02 10:18:29 +00:00
Timothy A. Bish
956724e5cd
fix for: https://issues.apache.org/jira/browse/AMQ-3823
...
Don't trim the whitespace from header values. Updates the tests to not add spaces in stomp headers.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1332813 13f79535-47bb-0310-9956-ffa450edef68
2012-05-01 20:54:13 +00:00
Bosanac Dejan
e96eab52a1
https://issues.apache.org/jira/browse/AMQ-3819 - handle BUFFER_UNDERFLOW case
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1332230 13f79535-47bb-0310-9956-ffa450edef68
2012-04-30 14:56:09 +00:00
Timothy A. Bish
ec87b17be0
test for: https://issues.apache.org/jira/browse/AMQ-3819
...
Creates a load test based on the user supplied ruby script. There are four variations, one for each of the transport types. Tests show that only the Stomp+NIO+SSL fails under this scenario.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1331481 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 16:01:20 +00:00
Bosanac Dejan
e5c4ffd673
https://issues.apache.org/jira/browse/AMQ-3820 - statistics plugin - subscription statistics
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1331372 13f79535-47bb-0310-9956-ffa450edef68
2012-04-27 12:08:39 +00:00
Bosanac Dejan
710dc7bb20
[maven-release-plugin] prepare for next development iteration
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1329823 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 16:17:53 +00:00
Bosanac Dejan
96a9fb2502
[maven-release-plugin] prepare release activemq-5.6.0
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1329821 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 16:17:16 +00:00
Timothy A. Bish
01b9e4bf54
Fix logger declaration.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1329804 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 15:46:35 +00:00
Bosanac Dejan
6aad9f6bed
https://issues.apache.org/jira/browse/AMQ-3679 - add new modules to osgi metadata
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1329662 13f79535-47bb-0310-9956-ffa450edef68
2012-04-24 12:07:00 +00:00
Timothy A. Bish
6a670921b3
Prevent these tests from hanging the hudson build
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1329452 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 21:12:03 +00:00
Timothy A. Bish
739a13dc2b
Make the test more deterministic to fix test errors on slower machines.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1329240 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 13:50:40 +00:00
Timothy A. Bish
740f5b36da
Additional test for: https://issues.apache.org/jira/browse/AMQ-3775
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1329225 13f79535-47bb-0310-9956-ffa450edef68
2012-04-23 13:17:33 +00:00
Gary Tully
fc4f01cf5d
https://issues.apache.org/jira/browse/AMQ-3805 - fix up unit test regressions with java.util.ConcurrentModificationException due to dispatch no longer being copy on write, shows up need to use iterator in message expiry case
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1328724 13f79535-47bb-0310-9956-ffa450edef68
2012-04-21 18:58:09 +00:00
Gary Tully
6b4d077bdf
https://issues.apache.org/jira/browse/AMQ-3805 - further resolution, dispatch and activate could clash over the audit resulting in skipped messages in the batch, the end result being our of order dispatch. Additional test and fix up of use of cache and sync between durable sub and prefetch sub
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1328413 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 15:36:10 +00:00
Robert Davies
74bed6b577
Fix for https://issues.apache.org/jira/browse/AMQ-3813
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1328287 13f79535-47bb-0310-9956-ffa450edef68
2012-04-20 09:51:55 +00:00
Bosanac Dejan
974f6896a4
fixing licenses
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1327985 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 15:15:19 +00:00
Gary Tully
2044ade687
reflect the reality of plugable dispatch policys for topics only, https://cwiki.apache.org/confluence/display/ACTIVEMQ/Dispatch+Policies
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1327888 13f79535-47bb-0310-9956-ffa450edef68
2012-04-19 09:35:27 +00:00
Bosanac Dejan
47c392bad3
ExpiredMessagesWithNoConsumerTest - trying to tweak it a bit to prevent failures on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1327484 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 12:40:51 +00:00
Bosanac Dejan
9706f654a4
JobSchedulerStoreTest - fix test, don't allow jobs to start scheduling on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1327457 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 11:47:25 +00:00
Robert Davies
9287816fec
fix for https://issues.apache.org/jira/browse/AMQ-796
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1327443 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 10:52:04 +00:00
Robert Davies
3df43f5886
For https://issues.apache.org/jira/browse/AMQ-3573 In junit tests - fixed null pointer if the directory doesn't exist
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1327388 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 07:01:50 +00:00
Robert Davies
61fdb188c8
For https://issues.apache.org/jira/browse/AMQ-3573 In junit tests - fixed warning messages can be generated for not enough disk space if the directory doesn't exist
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1327379 13f79535-47bb-0310-9956-ffa450edef68
2012-04-18 05:34:22 +00:00
Robert Davies
fb915c3dc6
Fix for https://issues.apache.org/jira/browse/AMQ-3804
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1326692 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 17:34:00 +00:00
Gary Tully
04aa9c5161
https://issues.apache.org/jira/browse/AMQ-3681 - make use of java.sql.Statement#setQueryTimeout conditional on queryTimeout attribute > 0 so it can be disabled as it does not have universal support, default value 10 seconds
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1326610 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 13:28:52 +00:00
Robert Davies
7dc2c4e26f
Fix for https://issues.apache.org/jira/browse/AMQ-3274
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1326502 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 06:23:14 +00:00
Robert Davies
0ee0cb9a22
Fix for https://issues.apache.org/jira/browse/AMQ-3678
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1326493 13f79535-47bb-0310-9956-ffa450edef68
2012-04-16 05:47:46 +00:00
Robert Davies
1b9f5f6727
Fix for https://issues.apache.org/jira/browse/AMQ-3004
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1326298 13f79535-47bb-0310-9956-ffa450edef68
2012-04-15 10:36:24 +00:00
Timothy A. Bish
2f0ef2e670
Additional test to show that https://issues.apache.org/jira/browse/AMQ-3802 is a non-issue.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1326200 13f79535-47bb-0310-9956-ffa450edef68
2012-04-14 20:25:00 +00:00
Gary Tully
38666e9298
add autofail to ensure it does not block the hudson build again
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1326021 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 23:50:47 +00:00
Timothy A. Bish
f81a790ff5
apply fix for: https://issues.apache.org/jira/browse/AMQ-3803
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1325985 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 22:21:27 +00:00
Gary Tully
8d2c079e0c
https://issues.apache.org/jira/browse/AMQ-3806 - Partial index updates can lead to bogus recovery for the vmcursor of a Q on startup. Only recovery destinations with that have some messages, so the location index is the system or reference. It makes sense as the location index is the basis for gc
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1325810 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 15:39:01 +00:00
Gary Tully
90fcbc8812
https://issues.apache.org/jira/browse/AMQ-3630 - NetworkBridgeFilterFactory should be assigned to Queue not NetworkBridge - thanks. the filter should be evaluated per destination
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1325735 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 12:24:58 +00:00
Gary Tully
53b29a206b
https://issues.apache.org/jira/browse/AMQ-3805 - duplicate dispatch to durable sub with concurrent send transaction commit and activate. fixed up the use of audit through an activate/deactivate such that duplicate dispatch is suppressed at source in this case
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1325722 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 11:47:11 +00:00
Robert Davies
0be51cbfe2
Applied patch for https://issues.apache.org/jira/browse/AMQ-3681
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1325621 13f79535-47bb-0310-9956-ffa450edef68
2012-04-13 05:55:50 +00:00
Bosanac Dejan
7df5c3bdcc
ClientRebalanceTest - fix the test to avoid occasional hang
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1324799 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 15:03:03 +00:00
Timothy A. Bish
0c2144c357
prevent hanging test stalling the build.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1324779 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 14:23:27 +00:00
Timothy A. Bish
76537741fc
Fix for: https://issues.apache.org/jira/browse/AMQ-3788
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1324765 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 13:54:11 +00:00
Robert Davies
4c3843809e
added NIO support to the MQTT protocol for https://issues.apache.org/jira/browse/AMQ-3786
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1324714 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 11:52:06 +00:00
Timothy A. Bish
ff5e7e7626
Remove unneeded tracing that was used for: https://issues.apache.org/jira/browse/AMQ-3775
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311780 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 15:12:56 +00:00
Timothy A. Bish
34af42f444
additional fix for: https://issues.apache.org/jira/browse/AMQ-3775
...
ensure that the messageReferences are calculated correctly when loading a stored destination.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311513 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 22:56:15 +00:00
Timothy A. Bish
ccaf0839da
additional test for: https://issues.apache.org/jira/browse/AMQ-3775
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311511 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 22:50:59 +00:00
Timothy A. Bish
934eaf9923
Test can hang if the async event isn't received, add a timeout in the test loop's wait call to prevent this.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311402 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 19:58:13 +00:00
Timothy A. Bish
681c1abf37
add a test for: https://issues.apache.org/jira/browse/AMQ-3802
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311239 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 14:11:50 +00:00
Bosanac Dejan
2280719835
https://issues.apache.org/jira/browse/AMQ-3706 - use round-robin instead of rnd for cluster rebalancing
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1311237 13f79535-47bb-0310-9956-ffa450edef68
2012-04-09 14:07:03 +00:00
Timothy A. Bish
d112ad5af7
additional test and fix for: https://issues.apache.org/jira/browse/AMQ-3780
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1310559 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 19:24:33 +00:00
Gary Tully
a3f85e271a
https://issues.apache.org/jira/browse/AMQ-3775 - ensure no concurrent kahadb transaction in topic store
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1310410 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 15:50:03 +00:00
Timothy A. Bish
148455413e
Add some additional checks and assertions to this test.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1310374 13f79535-47bb-0310-9956-ffa450edef68
2012-04-06 15:00:51 +00:00
Bosanac Dejan
1c0dbd1a1e
https://issues.apache.org/jira/browse/AMQ-3801 - job scheduler index corruption
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1309780 13f79535-47bb-0310-9956-ffa450edef68
2012-04-05 11:35:57 +00:00
Robert Davies
0f5b406b43
more functionality for MQTT for https://issues.apache.org/jira/browse/AMQ-3786
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1309566 13f79535-47bb-0310-9956-ffa450edef68
2012-04-04 19:46:26 +00:00
Gary Tully
6110e16f28
fix intermittent ci failure, remove dependency on free jmx rmi port
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1307340 13f79535-47bb-0310-9956-ffa450edef68
2012-03-30 10:02:26 +00:00
Gary Tully
33cdefaf2e
https://issues.apache.org/jira/browse/AMQ-3792 : use of the failover transport incorrectly suppresses javax.jms.InvalidClientIDException when clientId is already in use. fixup with test and fix to test dependent on wrong behaviour
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1307142 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 22:05:18 +00:00
Timothy A. Bish
c6ec76e6f6
small cleanup: https://issues.apache.org/jira/browse/AMQ-3775
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306886 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 14:49:31 +00:00
Gary Tully
81e1de95f8
https://issues.apache.org/jira/browse/AMQ-3473 : add defensive null check for brokerservice and region broker in case of dup detection during initalisation or partially initialised test, pa is always eagerly created
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306865 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 13:43:18 +00:00
Gary Tully
b137af4f8a
https://issues.apache.org/jira/browse/AMQ-3786 - disable tests pending commit of activemq-core/src/test/resources/org/apache/activemq/transport/mqtt dependency
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306785 13f79535-47bb-0310-9956-ffa450edef68
2012-03-29 11:20:00 +00:00
Gary Tully
fb0b63e379
https://issues.apache.org/jira/browse/AMQ-3473 - Messages (possibly) stuck and pending messages count showing high number of pending message which do not get sent to a consumer. resolve the error in queue stats, message count and enqueue count when index suppressed a duplicate message add attempt
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1306228 13f79535-47bb-0310-9956-ffa450edef68
2012-03-28 09:41:50 +00:00
Gary Tully
1575f45897
ensure test starts with a clean slate, fix intermittent failure in hudson
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1305288 13f79535-47bb-0310-9956-ffa450edef68
2012-03-26 10:05:36 +00:00
Robert Davies
cfc6917a79
intial files to support MQTT -see https://issues.apache.org/jira/browse/AMQ-3786
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1304984 13f79535-47bb-0310-9956-ffa450edef68
2012-03-25 06:33:49 +00:00
Gary Tully
c3e57ec9fd
resolve persistent hudson failure of org.apache.activemq.network.SimpleNetworkTest.testConduitBridge - individual cases were interfering with each other. A secondary failure, org.apache.activemq.network.SimpleNetworkTest#testDurableStoreAndForwardReconnect shows a problem with consuming an existing sub across a network, it won't work. It is not trivial to fix either, so virtual topics are a better bet in a network environment atm
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1304559 13f79535-47bb-0310-9956-ffa450edef68
2012-03-23 18:53:18 +00:00
Timothy A. Bish
d92d3a8a06
fix for: https://issues.apache.org/jira/browse/AMQ-3782
...
avoid any potential NPE and try again.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1304057 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 21:00:17 +00:00
Gary Tully
1463bec066
https://issues.apache.org/jira/browse/AMQ-3768 : ClassCastException when running some Durable Consumer test cases. root cause of the classcast was the reuse of a freed node that was still referenced as the head page id of a listindex. The fix is to not modify the head page id of a listindex when removing and coalescing linked pages, the head page remains valid for the duration of a subscription. Eventually got a test case that could easlily reproduce
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1304020 13f79535-47bb-0310-9956-ffa450edef68
2012-03-22 20:01:40 +00:00
Timothy A. Bish
5cd9ebaeb7
fis for: https://issues.apache.org/jira/browse/AMQ-3718
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1303544 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 19:55:30 +00:00
Timothy A. Bish
3cea40d889
https://issues.apache.org/jira/browse/AMQ-3775
...
Ensure that the orderIndex is reset to a good state.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1303128 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 20:10:59 +00:00
Timothy A. Bish
1419103c18
https://issues.apache.org/jira/browse/AMQ-3775
...
Update test to not use a static port for the broker Uri.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1303113 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 19:26:54 +00:00
Timothy A. Bish
926fdd7e92
fix and test for: https://issues.apache.org/jira/browse/AMQ-3780
...
ensure that non-persistent messages are cleaned up from temp storage when the Queue is deleted.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302977 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 16:26:07 +00:00
Robert Davies
1d7b69d55c
Added package.html for levelDB stub - for https://issues.apache.org/jira/browse/AMQ-3772
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302912 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 14:24:04 +00:00
Timothy A. Bish
cdacf82428
fix bad logger define.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302910 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 14:19:56 +00:00
Robert Davies
bd5124cf94
Added config test for LevelDB - for https://issues.apache.org/jira/browse/AMQ-3772
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302904 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 14:06:37 +00:00
Robert Davies
ca83305faa
add property optimizeMessageStoreInFlightLimit on destinations so can set the inflight limit above which optimize store dispatch is no longer applied - for https://issues.apache.org/jira/browse/AMQ-3750
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302887 13f79535-47bb-0310-9956-ffa450edef68
2012-03-20 13:40:03 +00:00
Timothy A. Bish
13e5777efb
additional test for: https://issues.apache.org/jira/browse/AMQ-3775
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302641 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 20:23:51 +00:00
Timothy A. Bish
0af0021d0b
fix and test for: https://issues.apache.org/jira/browse/AMQ-3775
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302607 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 19:23:12 +00:00
Robert Davies
08b95689cb
updated for https://issues.apache.org/jira/browse/AMQ-3772
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1302494 13f79535-47bb-0310-9956-ffa450edef68
2012-03-19 15:01:12 +00:00
Gary Tully
1be93984a2
https://issues.apache.org/jira/browse/AMQ-3733 : Topic subscriber is assumed to be slow consumer when prefetch is set to one. Thanks for the great test case. Fixed up the logic used to determine slowness of a sub to take into account the pending messages and prefetch. It is now only applicable when prefetch > 1 and the pending message strategy keeps messages in memory
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1301565 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:55:38 +00:00
Hiram R. Chirino
d4cd7f9eed
Fixes AMQ-3769: Support doing non-blocking sends that uses an async callback that gets notified when the send has been received by the broker
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1300727 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 21:32:18 +00:00
Timothy A. Bish
a7e7bce0ae
fix and test for: https://issues.apache.org/jira/browse/AMQ-3719
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1300726 13f79535-47bb-0310-9956-ffa450edef68
2012-03-14 21:31:25 +00:00
Timothy A. Bish
3a5b48a4db
fix for: https://issues.apache.org/jira/browse/AMQ-3732
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1297252 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 22:08:51 +00:00
Gary Tully
09ff99fbfa
https://issues.apache.org/jira/browse/AMQ-1706 - fix up doc comment
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1297025 13f79535-47bb-0310-9956-ffa450edef68
2012-03-05 12:16:40 +00:00
Timothy A. Bish
0efaaecfd1
fix for: https://issues.apache.org/jira/browse/AMQ-1905
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1296720 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 23:30:09 +00:00
Timothy A. Bish
686bfcf496
fix for: https://issues.apache.org/jira/browse/AMQ-1907
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1296711 13f79535-47bb-0310-9956-ffa450edef68
2012-03-03 21:51:38 +00:00
Timothy A. Bish
d40f398b31
fix for: https://issues.apache.org/jira/browse/AMQ-3750
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1296469 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 21:11:30 +00:00
Gary Tully
ac54a611f3
ensure broker stop ocurrs after subs connected and add defensive check to close identified by one failure scenario
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1296396 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 19:15:45 +00:00
Gary Tully
d2f8eded57
fix timing issue with test, fails under load
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1296368 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 18:31:45 +00:00
Gary Tully
9b7347087d
make test more deterministic
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1296326 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 17:30:44 +00:00
Gary Tully
df8d1e824d
https://issues.apache.org/jira/browse/AMQ-3749 - Composite destinations break simple authorisation through role aggregation. additional tests and fix - fix broken test, expecting wrong behaviour
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1296204 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 13:53:31 +00:00
Torsten Mielke
14110f52eb
AMQ-3754: Updated org.apache.activemq.transport.vm.VmTransportNetworkBrokerTest
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1296194 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 13:20:14 +00:00
Gary Tully
783ba853aa
fix intermittent hang if all threads do not complete on time
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1296157 13f79535-47bb-0310-9956-ffa450edef68
2012-03-02 11:46:31 +00:00
Robert Davies
f4d4c3b4ce
Fix for https://issues.apache.org/jira/browse/AMQ-3750 - add hint to storage of messages to enable concurrent store and dispatch
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1295662 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 16:37:19 +00:00
Gary Tully
5dda6e6fee
https://issues.apache.org/jira/browse/AMQ-3749 - Composite destinations break simple authorisation through role aggregation. additional tests and fix - ldap did need some work
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1295661 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 16:36:12 +00:00
Gary Tully
9a7443a137
https://issues.apache.org/jira/browse/AMQ-3749 - Composite destinations break simple authorisation through role aggregation. additional tests and fix, the union of the roles for composite destinations provides the auth list
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1295545 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 13:06:45 +00:00
Gary Tully
503e1dc15e
https://issues.apache.org/jira/browse/AMQ-3747 - Syntax errors are not showing up in the log when the broker is started in the background. fix by logging a fatalbeanexception on context creation before rethrow
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1295138 13f79535-47bb-0310-9956-ffa450edef68
2012-02-29 14:45:32 +00:00
Timothy A. Bish
e426de8c32
fix for: https://issues.apache.org/jira/browse/AMQ-3742 with supplied unit test patch applied.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1294342 13f79535-47bb-0310-9956-ffa450edef68
2012-02-27 21:37:03 +00:00
Gary Tully
2290502bc9
https://issues.apache.org/jira/browse/AMQ-3737 - Possible leak in ManangedRegionBroker unregisterDestination. relates to: https://issues.apache.org/activemq/browse/AMQ-2741 - a leak indeed, or more than a mbean
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1292858 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 17:13:37 +00:00
Timothy A. Bish
f5dcc9dfbf
fix for: https://issues.apache.org/jira/browse/AMQ-3734
...
Adds username to some MBeans when enabled in BrokerService to allow for tracking of the authenticated user of connections and other resources.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1292599 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 00:40:13 +00:00
Timothy A. Bish
3221b16221
fix for: https://issues.apache.org/jira/browse/AMQ-3731
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1291465 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 21:47:59 +00:00
Gary Tully
e32ff5c7f4
https://issues.apache.org/jira/browse/AMQ-3729 - Stomp wireformat and codec block on telnet CRLF CRLF header separator. fix up telnet support, additional test, impacts https://issues.apache.org/jira/browse/AMQ-2583 and https://issues.apache.org/jira/browse/AMQ-3449
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1291299 13f79535-47bb-0310-9956-ffa450edef68
2012-02-20 14:58:23 +00:00
Timothy A. Bish
df19a382c9
fix for: https://issues.apache.org/jira/browse/AMQ-2834
...
Adds some checks on store limit vs journal max file size similar to the Temp Store limit checks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1245777 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 21:50:45 +00:00
Gary Tully
9f0a673e36
order is not guarenteed with multiple consumers, just validate quantity
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1245408 13f79535-47bb-0310-9956-ffa450edef68
2012-02-17 11:37:12 +00:00
Gary Tully
49dd85c5e7
reduce default number of restarts and down time to reduce duration
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244976 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 13:53:32 +00:00
Gary Tully
cc7ea7f31f
reduce test duration from crazy 30 minutes, validate temp store being used
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244974 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 13:40:47 +00:00
Timothy A. Bish
08ae7770bb
fix: https://issues.apache.org/jira/browse/AMQ-3721
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244809 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:40:55 +00:00
Timothy A. Bish
97ae32388c
fix for: https://issues.apache.org/jira/browse/AMQ-3714 lazy init the Scheduler object in ActiveMQConnection.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244796 13f79535-47bb-0310-9956-ffa450edef68
2012-02-16 00:02:15 +00:00
Gary Tully
98b7dcdd1d
fix intermittent failure, consume messages from all destinations, sorts out the composite case so that there are no dangling messages
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244443 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 11:21:43 +00:00
Timothy A. Bish
1638801522
Add an initial port of ConcurrentProducerDurableConsumerTest to performance test Queue dispatch.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244290 13f79535-47bb-0310-9956-ffa450edef68
2012-02-15 00:29:39 +00:00
Timothy A. Bish
a3060e79d9
https://issues.apache.org/jira/browse/AMQ-3706
...
Don't send a URI to the client that equals "null" when the BrokerInfo has no set Broker URI, that sends the failover transport into an infinite reconnect cycle.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244221 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 21:36:04 +00:00
Gary Tully
8bff980ec2
remove typo ref to backport timeunit - https://issues.apache.org/jira/browse/AMQ-3684
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244117 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 16:38:08 +00:00
Gary Tully
2a87ad5b3e
https://issues.apache.org/jira/browse/AMQ-3716 : NetworkBridge with conduitSubscriptions=true will leak consumer info in org.apache.activemq.network.DemandForwardingBridgeSupport#subscriptionMapByRemoteId map. fix with test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1244116 13f79535-47bb-0310-9956-ffa450edef68
2012-02-14 16:37:29 +00:00
Timothy A. Bish
456005bf13
Mark this as @Deprecated as its not used anymore in AMQ and should be removed.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243716 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 22:12:11 +00:00
Timothy A. Bish
ad585dc4b0
Refactoed the VMTransport for: https://issues.apache.org/jira/browse/AMQ-3684
...
Adds a test for basic functionality tests on the VMTransport.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243706 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 21:56:50 +00:00
Gary Tully
ace122aede
ensure test failure does not block build
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243485 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 11:53:28 +00:00
Gary Tully
9a22fe586d
ensure frames are null terminated
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243484 13f79535-47bb-0310-9956-ffa450edef68
2012-02-13 11:52:11 +00:00
Gary Tully
5a74d56cc1
https://issues.apache.org/jira/browse/AMQ-3684 - revert initialisation order, thread can be eager and needs complete state so it must be inited last
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1243334 13f79535-47bb-0310-9956-ffa450edef68
2012-02-12 21:09:12 +00:00
Gary Tully
bc8441bebc
https://issues.apache.org/jira/browse/AMQ-3684 - resolve deadlock on blocked oneway, revise sync and lazy init, remove use of valve
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242912 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 20:19:44 +00:00
Gary Tully
93a379fe3c
https://issues.apache.org/jira/browse/AMQ-3653 - tidy up stomptest and resolve content length for stomp+nio, resolve break of stompnio and stompniossl tests
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242911 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 20:18:50 +00:00
Bosanac Dejan
beda82ad5a
https://issues.apache.org/jira/browse/AMQ-3706 - balance randomize with cluster update
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1242748 13f79535-47bb-0310-9956-ffa450edef68
2012-02-10 11:48:56 +00:00