Timothy A. Bish
a3060d0c7d
fixes for: https://issues.apache.org/jira/browse/AMQ-4555
...
Only create update thread on demand.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486074 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 14:27:08 +00:00
Timothy A. Bish
02a58c2a34
fixes for: https://issues.apache.org/jira/browse/AMQ-4555
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1486063 13f79535-47bb-0310-9956-ffa450edef68
2013-05-24 14:10:23 +00:00
Hiram R. Chirino
75245da626
Seems like on some machines leveldb index updates are delayed.. looping seems to fix it.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485897 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 23:17:26 +00:00
Hiram R. Chirino
9200635eeb
Add the uber source assembly descriptor.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485817 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 18:40:33 +00:00
Hiram R. Chirino
148909357f
related to AMQ-4296 : Fixes leveldb store cursoring. It was recovering too many messages and sometimes not the right messages.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485810 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 18:33:06 +00:00
Hiram R. Chirino
5b0749c4ba
Fixes AMQ-4549 : The activemq-all and activemq-osgi modules should have proper uber sources.jar files too.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485809 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 18:33:00 +00:00
Claus Ibsen
629c24ba65
Align osgi version to 4.3.1
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485657 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 12:01:53 +00:00
Claus Ibsen
6a83487086
AMQ-4552: activemq feature to install in karaf. Still some problems.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485655 13f79535-47bb-0310-9956-ffa450edef68
2013-05-23 11:54:10 +00:00
Timothy A. Bish
48b404869f
since https://issues.apache.org/jira/browse/AMQ-4495 always pulls in maxPageSize messages and allows for exceeding the MemoryLimit we must adjust the test case to account for that.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485383 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 20:00:46 +00:00
Timothy A. Bish
649876b931
fix broken test after: https://issues.apache.org/jira/browse/AMQ-4516
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485262 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 15:54:13 +00:00
Hiram R. Chirino
6e71964291
Update the leveldb API version.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1485209 13f79535-47bb-0310-9956-ffa450edef68
2013-05-22 13:41:02 +00:00
Timothy A. Bish
d9b54d6ae8
fix for: https://issues.apache.org/jira/browse/AMQ-4548
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484999 13f79535-47bb-0310-9956-ffa450edef68
2013-05-21 22:18:36 +00:00
Hiram R. Chirino
18eb6b239d
Add the plugin repo since the plugin has not made it to central yet.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484512 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 16:08:41 +00:00
Hiram R. Chirino
870fa687d5
Added profile that adds console timestamps.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484510 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 16:02:45 +00:00
Hiram R. Chirino
49a2d9656e
Convert some tests to junit 4 style and add test timeouts.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484496 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 15:02:09 +00:00
Hiram R. Chirino
4ca6f230d5
Switch to released mqtt client version.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484486 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 14:23:13 +00:00
Bosanac Dejan
a259537d65
https://issues.apache.org/jira/browse/AMQ-4485 - adding LevelDB variant of NegativeQueueTest
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484484 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 14:09:59 +00:00
Hiram R. Chirino
3e2dcc1202
No need to sync to the remote machines if a remote sync option is not enabled.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484480 13f79535-47bb-0310-9956-ffa450edef68
2013-05-20 13:38:56 +00:00
Hiram R. Chirino
665c3ab33b
Added a leveldb version of the queue browsing test.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484319 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 17:20:38 +00:00
Hiram R. Chirino
e168b3cd6e
No need to send MQTT debugging to console anymore.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484318 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 17:20:30 +00:00
Hiram R. Chirino
5e13c20707
Fixes failing AMQ2902 test.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484306 13f79535-47bb-0310-9956-ffa450edef68
2013-05-19 16:32:51 +00:00
Hiram R. Chirino
4aac5a6bf3
Fixes AMQ-4544: Cant send MQTT message to AMQP endpoints
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484143 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:39:35 +00:00
Hiram R. Chirino
db08d6e404
Fixes compile error.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484142 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:39:22 +00:00
Hiram R. Chirino
2621463a28
Fixes deprecation warning.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484141 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 16:39:10 +00:00
Hiram R. Chirino
57617b862f
Try initializing the replicated leveldb response_callbacks early on to avoid potential NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484049 13f79535-47bb-0310-9956-ffa450edef68
2013-05-18 03:07:35 +00:00
Hiram R. Chirino
f20e17ae32
Latest hawtdispatch snapshot should fix the hang in the MQTT SSL test.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1484012 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 22:03:38 +00:00
Hiram R. Chirino
be7cef6438
AMQ2584Test was failing on linux due to kahadb taking too long to complete. Scaled the test back a bit
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483963 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 19:54:09 +00:00
Hiram R. Chirino
1ee9848d9b
Also log SSL info.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483952 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 19:06:39 +00:00
Bosanac Dejan
2dd1335b20
https://issues.apache.org/jira/browse/AMQ-4000 - bumping openwire version to 10
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483902 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 16:27:35 +00:00
Hiram R. Chirino
b6703d6bd7
Fixes failing ThreeBrokerVirtualTopicNetwork test associated /w AMQ-4296
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483878 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 15:47:04 +00:00
Hiram R. Chirino
d2d41805c5
Add more logging to aid in failing test diagnosis.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483838 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 14:59:08 +00:00
Bosanac Dejan
620523a597
https://issues.apache.org/jira/browse/AMQ-4000 - initial implementation of keeping track of durable subscribers over network and unregister them appropriately
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483827 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 14:27:48 +00:00
Hiram R. Chirino
1558cbbb55
Support multiple local/remote syncing styles.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483810 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 14:04:12 +00:00
Hiram R. Chirino
d43d08aa1c
Give the leveldb 3 broker virt topic network test a more appropriate file name. Also add a single broker test for leveldb.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483809 13f79535-47bb-0310-9956-ffa450edef68
2013-05-17 14:04:00 +00:00
Gary Tully
3ded22df3d
https://issues.apache.org/jira/browse/AMQ-4540 - wait for a max of 30 seconds for pending forwards to complete
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483605 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 23:32:31 +00:00
Gary Tully
6f124c16f7
https://issues.apache.org/jira/browse/AMQ-4539 - add JMSActiveMQBrokerPath string property and brokerPath attribute via jmx message view, the list length is the current number of network hops
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483600 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 23:03:17 +00:00
Hiram R. Chirino
5bb563dd1c
Send logging to console so we can troubleshoot the build failures on the CI machines easier.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483593 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 22:22:41 +00:00
Hiram R. Chirino
ef6df68831
Fixes issue in AMQ-4296: Implement a pure LevelDB test for the StoreQueueCursorNoDuplicateTest and fix the bug that was causing it to fail.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483582 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 21:50:25 +00:00
Hiram R. Chirino
7071102b13
Fix for AMQ-4296 : add a LevelDB test for the AMQ2149TEst
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483538 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 19:58:23 +00:00
Hiram R. Chirino
b5505d462d
Fix for AMQ-4296: Don't GC past LevelDB records pointed to by prepared XA transactions.
...
Also avoid double logging a LOG_ADD_ENTRY.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483530 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 19:34:48 +00:00
Hiram R. Chirino
e40d280115
Reduce how often forced leveldb compactions occur.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483395 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 14:49:51 +00:00
Hiram R. Chirino
086e9de9ac
Additional fix for AMQ-4535: Seems store was getting out of sync /w cursor due to thread unsafe access in the leveldb store.
...
Switched to a concurrent HashMap to track the transaction since that will be getting accessed by multiple threads.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483369 13f79535-47bb-0310-9956-ffa450edef68
2013-05-16 13:50:35 +00:00
Timothy A. Bish
66c8f9c4b8
Add missing license header
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483115 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 22:45:44 +00:00
Timothy A. Bish
f46b184f6c
fix and test for: https://issues.apache.org/jira/browse/AMQ-4413
...
For durable subscriptions the PrefetchSubscription can't drop messages in dispatchPending otherwise they are never added back into the pending cursor.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1483111 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 22:22:39 +00:00
Hiram R. Chirino
5a192e790d
Adding a Promise class that can allow us to use callbacks to get future computation results.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482954 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 16:59:50 +00:00
Hiram R. Chirino
2ecb5eaa1b
Don't delay flushes for now. Seems to cause more harm than good.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482845 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 13:58:25 +00:00
Hiram R. Chirino
c5788d24bc
Reduce the amount of work done while the sendLock is acquired.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482805 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 13:11:07 +00:00
Hiram R. Chirino
548c19496c
reduce the number of times the sendSyncs map is accessed.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482800 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 13:02:27 +00:00
Hiram R. Chirino
0deda2501d
Fixing regression in last commit.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482794 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 12:44:13 +00:00
Bosanac Dejan
e06685fe81
https://issues.apache.org/jira/browse/AMQ-4000 - as part of this feature we need to properly send advisories when durable sub unregisters
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482790 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 12:31:09 +00:00