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
Hiram R. Chirino
8461158178
Fixes AMQ-4535: Activemq configured with leveldb commit fail when accessed by PutGet from IBM Perf Harness
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482789 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 12:30:45 +00:00
Hiram R. Chirino
842630c8c7
Implement some tracking of producer positions in the LevelDB store to help the broker to filter out dups.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482788 13f79535-47bb-0310-9956-ffa450edef68
2013-05-15 12:30:34 +00:00
Hiram R. Chirino
1399cf9522
Fixing regression introduced by AMQ-4529 the JdbcXARecoveryBrokerTest was failing.
...
Switching the jdbc store to use the entryLocator instead of the dataLocator
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482334 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 13:49:09 +00:00
Christian Posta
63c0ef179a
Fix for https://issues.apache.org/jira/browse/AMQ-4534 When using ElectingLevelDBStore cannot delete all messages on startup
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482180 13f79535-47bb-0310-9956-ffa450edef68
2013-05-14 03:37:39 +00:00
Gary Tully
58b9a83fe8
https://issues.apache.org/jira/browse/AMQ-4532 - fix and test - ensure disposed exception is propagated to clients on vm server shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482117 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 21:43:39 +00:00
Timothy A. Bish
ce67624cd4
Fix and test for: https://issues.apache.org/jira/browse/AMQ-4484
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1482017 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 18:24:33 +00:00
Timothy A. Bish
e731c39af7
ix and test for: https://issues.apache.org/jira/browse/AMQ-4531
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481984 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 17:45:18 +00:00
Timothy A. Bish
2bd0e5703e
apply fix and patch for: https://issues.apache.org/jira/browse/AMQ-4530
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481930 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 15:36:03 +00:00
Bosanac Dejan
87a29847bb
upgrading leveldbjni to 1.7
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481849 13f79535-47bb-0310-9956-ffa450edef68
2013-05-13 13:49:20 +00:00
Hiram R. Chirino
875885dfa9
Increase the default auto compaction ratio.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481528 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 11:23:40 +00:00
Hiram R. Chirino
30038957b6
Add a storeConentAndClear() method to message so that we can lower the memory impact of embedded broker usage.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481527 13f79535-47bb-0310-9956-ffa450edef68
2013-05-12 11:23:30 +00:00
Timothy A. Bish
b820ac2bf9
fix for: https://issues.apache.org/jira/browse/AMQ-4512
...
Usage and MemoryUsage sync fixes to keep state consistent during thread contention. Test case added.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481106 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 17:13:48 +00:00
Hiram R. Chirino
e0ae445900
For AMQ-4338: Lets see if using a newer MQTT client helps. Also hook into the client tracing and use the auto fail test support base class to timeout the tests if they take too long.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481092 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 16:52:47 +00:00
Hiram R. Chirino
2572e2bd04
Add a little main class to the leveldb store module to make it easier to run a broker from your IDE.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481014 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 14:03:39 +00:00
Hiram R. Chirino
d344aa7a42
Fixes AMQ-4529: leveldb store NPEs when you send to a composite destination.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1481013 13f79535-47bb-0310-9956-ffa450edef68
2013-05-10 14:03:31 +00:00
Hiram R. Chirino
2c06326506
Fixes AMQ-4251: Scala compile warnings - Compiling activemq-leveldb-store
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480811 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 22:17:47 +00:00
Timothy A. Bish
540b1c6a89
fix for: https://issues.apache.org/jira/browse/AMQ-4518
...
Allow purge to disable message expiration check when paging in Messages to be purged. Avoids attempts at sending messages to a DLQ during a purge operation and in firing advisory messages for expired messages which are being thrown out by request.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480731 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 17:50:26 +00:00
Hiram R. Chirino
25356f2695
Fixes issue identified in APLO-245 where index does not seem to get cleaned up / compacted. Fix ported over from Apollo.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480711 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 16:11:52 +00:00
Hiram R. Chirino
d98ac90f28
Suspend/Resume index compactions instead of closing out the index.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480710 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 16:11:36 +00:00
Hiram R. Chirino
3ef7911a1d
Fixes bug identified in APLO-284. Ported fix over from Apollo.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480709 13f79535-47bb-0310-9956-ffa450edef68
2013-05-09 16:11:26 +00:00
Hiram R. Chirino
4a16c1ff27
Implements AMQ-4526: ActiveMQ should automatically restart if a Locker looses it's lock.
...
* Adds a new broker config option 'restartAllowed'. Set it to false to revert to the preserve behavior.
* Adds a new 'restart' JMX operation on the broker
* The default IO exception handler will trigger a broker restart instead of a broker stop.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480325 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 15:34:00 +00:00
Timothy A. Bish
b5f6bc3c90
https://issues.apache.org/jira/browse/AMQ-4524
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480282 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 14:05:30 +00:00
Bosanac Dejan
fc8c8d339e
https://issues.apache.org/jira/browse/AMQ-4522 - set timeToLive when sending a message using JMX
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480189 13f79535-47bb-0310-9956-ffa450edef68
2013-05-08 09:15:17 +00:00
Timothy A. Bish
ff9b80040b
fix for: https://issues.apache.org/jira/browse/AMQ-4520
...
Load BouncyCastle if present in lib dir.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1480117 13f79535-47bb-0310-9956-ffa450edef68
2013-05-07 22:08:28 +00:00