Bosanac Dejan
91059de283
https://issues.apache.org/jira/browse/AMQ-3685 - fixing cluster update feature
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239118 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 13:12:33 +00:00
Timothy A. Bish
bc78238ad0
fix for: https://issues.apache.org/jira/browse/AMQ-3137
...
fix for: https://issues.apache.org/jira/browse/AMQ-2455
fix for: https://issues.apache.org/jira/browse/AMQ-3635
Adds reconnect logic and tests along with a policy class to allow for control over the reconnect process.
Reconnection of both local and foreign side of the JmsConnector is supported.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1238827 13f79535-47bb-0310-9956-ffa450edef68
2012-01-31 21:56:03 +00:00
Gary Tully
d1357b4970
https://issues.apache.org/jira/browse/AMQ-3467 - fix auto upgrade from version 3 to version 4 of kahaDb, existing durable subs messages were lost, additional test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236905 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 22:02:13 +00:00
Bosanac Dejan
4d3af76ee6
https://issues.apache.org/jira/browse/AMQ-3685 - sanitize brokerUrl in BrokerInfo as it can break failover url when cluster update is used
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236707 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 15:08:23 +00:00
Gary Tully
3b19c71935
https://issues.apache.org/jira/browse/AMQ-3573 : fix up test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236666 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 12:59:47 +00:00
Gary Tully
e901d2fd2e
https://issues.apache.org/jira/browse/AMQ-3684 - Potential deadlock in vm transport setListener when sender is blocked pending space
...
Deal with the case of blocked producer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236664 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 12:53:09 +00:00
Gary Tully
dcf1f5e0cc
https://issues.apache.org/jira/browse/AMQ-3634 - ensure full recovery of the index, irrespective of the load failure reason, with additional tests. Shutdown the schedualler early to ensure no ugly errors from timer tasks during shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236661 13f79535-47bb-0310-9956-ffa450edef68
2012-01-27 12:47:39 +00:00
Timothy A. Bish
c4c9cf2e94
fix for: https://issues.apache.org/jira/browse/AMQ-3683
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236414 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 22:18:59 +00:00
Bosanac Dejan
55fa377f2f
https://issues.apache.org/jira/browse/AMQ-3682 - use jmxLocal for karaf commands by default
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1236227 13f79535-47bb-0310-9956-ffa450edef68
2012-01-26 15:10:57 +00:00
Bosanac Dejan
a1e961d09c
remove kahadb store dependency on activeio
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235701 13f79535-47bb-0310-9956-ffa450edef68
2012-01-25 09:31:08 +00:00
Timothy A. Bish
4d480c9239
Add fix : https://issues.apache.org/jira/browse/AMQ-3674
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235530 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 22:18:29 +00:00
Timothy A. Bish
5aa8b30c0f
fix and test for: https://issues.apache.org/jira/browse/AMQ-3675
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235481 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 20:37:06 +00:00
Timothy A. Bish
eec1091c45
Add fix and test for: https://issues.apache.org/jira/browse/AMQ-3674
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235341 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 16:38:03 +00:00
Timothy A. Bish
7b90f4178f
additional fix for: https://issues.apache.org/jira/browse/AMQ-3573
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235325 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 16:14:37 +00:00
Robert Davies
dbc661fd9b
Fix for https://issues.apache.org/jira/browse/AMQ-3573 -
...
changed defaults for SystemUsage to
50GB for temp usage, 100GB for store usage and 64mb for memory usage.
Added error and warning messages if the SysteMUsage limits cannot be met by the system
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1235261 13f79535-47bb-0310-9956-ffa450edef68
2012-01-24 14:22:58 +00:00
Timothy A. Bish
1d52f3b53c
fix for: https://issues.apache.org/jira/browse/AMQ-3673
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234981 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 20:46:50 +00:00
Torsten Mielke
82a093b479
AMQ-3665: updating logging config to write to target/activeemq-test.log
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234783 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 13:30:19 +00:00
Torsten Mielke
00bee4ee13
AMQ-3665: Added JUnit test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234782 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 13:29:34 +00:00
Torsten Mielke
95355ae6e3
AMQ-3665: Moved code for creating VelocityContext into its own method createVelocityContext().
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234781 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 13:28:42 +00:00
Torsten Mielke
4ddd9019c8
AMQ-3665: Turned on Velocity template caching to reduce memory footprint of AMQ store journal reader.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234779 13f79535-47bb-0310-9956-ffa450edef68
2012-01-23 13:26:11 +00:00
Timothy A. Bish
999dc0df20
fix for: https://issues.apache.org/jira/browse/AMQ-3672
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1234010 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:12:54 +00:00
Bosanac Dejan
e3a1fc9b35
https://issues.apache.org/jira/browse/AMQ-3670 - fix stomp nack support
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233860 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 10:59:05 +00:00
Gary Tully
2fba95d26d
https://issues.apache.org/jira/browse/AMQ-3667 - Use 1G heap by default and UseDedicatedTaskRunner=false, more production ready. done
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233403 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 14:33:42 +00:00
Gary Tully
e02dfdeaad
move test to KahaDb and add simple validation of sendFailIfNoSpace and temp usage for non persistent messages. Producer stops on the exception, consumer picks up all the messages
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233367 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 13:33:19 +00:00
Gary Tully
eca00f9ab9
findbugs: fix infinite recursion - remove unused method
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233366 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 13:32:53 +00:00
Gary Tully
7eb8f0fd73
findbugs: fix infinite recursion
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1233354 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 13:21:27 +00:00
Timothy A. Bish
5774d004f8
https://issues.apache.org/jira/browse/AMQ-3653
...
Fix the test so that there's time for the Ack to be processed before the connection is closed otherwise it can be missed.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1232457 13f79535-47bb-0310-9956-ffa450edef68
2012-01-17 16:14:16 +00:00
Gary Tully
221da8bcd2
https://issues.apache.org/jira/browse/AMQ-3639 - Modify MKahaDB To Support Using One Adapter Per Destination Without Explicity Listing Every Desintation In The Configuration. Add perDestination boolean attribute to mKahaDb filtered adapter. When true, every destination will get its own persistence adapter using the configured adapter as as template. So any config applied to the destination less (default) adapter will be reused
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1231979 13f79535-47bb-0310-9956-ffa450edef68
2012-01-16 12:47:45 +00:00
Timothy A. Bish
580635473d
fix for: https://issues.apache.org/jira/browse/AMQ-3659
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1231124 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 15:24:22 +00:00
Timothy A. Bish
71e228fe92
fix for NPE: https://issues.apache.org/jira/browse/AMQ-3649
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1231081 13f79535-47bb-0310-9956-ffa450edef68
2012-01-13 14:10:11 +00:00
Timothy A. Bish
0e95460e0a
Update Javadoc for: https://issues.apache.org/jira/browse/AMQ-3652
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1227591 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 13:46:09 +00:00
Bosanac Dejan
a35fdd13fb
https://issues.apache.org/jira/browse/AMQ-3653 - content-length in ack frames
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1227577 13f79535-47bb-0310-9956-ffa450edef68
2012-01-05 13:00:00 +00:00
Hiram R. Chirino
71d5fef019
Fixes AMQ-3651 : If the broker binds RMI registry port when it starts up, the broker should release RMI registry port when it shuts down
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1227186 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 15:20:55 +00:00
Hiram R. Chirino
1753a699e0
Allow attaching an entryLocator and dataLocator to message ids. These fields are for message stores to associate store keys with messages ids when the messages
...
get persisted to disk. Should allow stores to perform faster message loads since the store may be able to bypass a key lookup.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1227185 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 15:16:11 +00:00
Hiram R. Chirino
d95658f4b4
Allow LRUCache subclasses to trap eviction events
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1227183 13f79535-47bb-0310-9956-ffa450edef68
2012-01-04 15:12:58 +00:00
Hiram R. Chirino
78761cb348
Remove trailing ; at end of class declaration.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1226974 13f79535-47bb-0310-9956-ffa450edef68
2012-01-03 22:31:38 +00:00
Bosanac Dejan
4a7475d7c2
https://issues.apache.org/jira/browse/AMQ-3374 - don't count every write in transaction size as only the number of pages we keep in memory is relevant (multiple writes to the same page will overwrite themselves)
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1224890 13f79535-47bb-0310-9956-ffa450edef68
2011-12-27 10:41:28 +00:00
Willem Ning Jiang
9a9fccbea4
Updated the copyright date of the activemq-web-demo
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1224694 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 08:48:51 +00:00
Willem Ning Jiang
e8074fdc0f
Upgrade xbean spring to 3.9
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1224693 13f79535-47bb-0310-9956-ffa450edef68
2011-12-26 08:20:16 +00:00
Gary Tully
89f22dacac
https://issues.apache.org/jira/browse/AMQ-3646 - Allow KahaDB to run without disk syncs, higher through put without the jms persistence guarantee. Allow 0 peroid to disable checkpoint/cleanup. Allow jmx gc operation to invoke cleanup so that store gc can be initiated via jms to ensure disk is reclaimed. Ensure periodic checkpoint does not sync when enableJournalDiskSyncs=false, it waits for completion but does not force to disk. fix cached buffer allocation and refactor to reuse more code in CallerBufferingDataFileAppender
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222705 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 15:44:52 +00:00
Bosanac Dejan
46e6cc01fc
https://issues.apache.org/jira/browse/AMQ-3645 - shell script improvements
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222650 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 11:43:27 +00:00
Gary Tully
384388fe62
CallerBufferingDataFileAppender, fix rollover of cached buffers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222635 13f79535-47bb-0310-9956-ffa450edef68
2011-12-23 10:48:38 +00:00
Gary Tully
bb4a2f73f4
add experimental appender that takes the buffering burden from the writer thread, it and some trace enabled via -Dorg.apache.kahadb.journal.appender.WRITE_STAT_WINDOW=10000 -Dorg.apache.kahadb.journal.CALLER_BUFFER_APPENDER=true. Additional accessors on KahaDb to further configure index for the fast but may need recovery case
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222471 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 21:44:01 +00:00
Timothy A. Bish
cb1b92bf58
apply patch and add test for: https://issues.apache.org/jira/browse/AMQ-3436
...
Some modifications needed for the patch to work correctly.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222275 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 15:15:48 +00:00
Timothy A. Bish
d97e8fe354
Replace the System.out calls with loggers.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222250 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 14:23:25 +00:00
Gary Tully
323eeda725
add scenario test for fast persistent enqueues to explore getting the broker to be disk bound
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1222219 13f79535-47bb-0310-9956-ffa450edef68
2011-12-22 13:22:25 +00:00
Timothy A. Bish
5cc1a557ff
fix for: https://issues.apache.org/jira/browse/AMQ-3625
...
Ensure that incoming commands get exception responses after the initial error is triggered so that client transports don't block wia intg for responses.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1221484 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 20:42:18 +00:00
Timothy A. Bish
c856f30bc5
fix for: https://issues.apache.org/jira/browse/AMQ-3625
...
applied patch to add the supplied test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1221310 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 15:12:11 +00:00
Bosanac Dejan
c534900092
https://issues.apache.org/jira/browse/AMQ-3496 - reply-to header for Stomp - fix test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1221222 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 12:19:29 +00:00
Bosanac Dejan
1c264085d1
https://issues.apache.org/jira/browse/AMQ-3496 - reply-to header for Stomp
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1221199 13f79535-47bb-0310-9956-ffa450edef68
2011-12-20 11:06:40 +00:00