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