Timothy A. Bish
65fe5e2587
Update the test to address hanging in hudson
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1240188 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 14:24:17 +00:00
Gary Tully
b6f63b0d10
https://issues.apache.org/jira/browse/AMQ-3695 : Failover using a JDBC Message Store and Virtual Topic can result in a lost message if queue is empty. Problem is that an empty destination is not recorded, as there is no entry in the messages table. Fix is to make use of the ack table, in the same way a for durable subs. For destinations that match the virtual topic filter, an entry out of priority range is added to the ack table. the startup destination query now unions over the ack and messages table
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1240162 13f79535-47bb-0310-9956-ffa450edef68
2012-02-03 13:43:36 +00:00
Bosanac Dejan
0295e8d44d
https://issues.apache.org/jira/browse/AMQ-3606 - schema for karaf features xml
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239540 13f79535-47bb-0310-9956-ffa450edef68
2012-02-02 11:14:30 +00:00
Timothy A. Bish
f6caba7127
Additional Fix for https://issues.apache.org/jira/browse/AMQ-3573 - Avoid a potential NPE.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239335 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 21:39:37 +00:00
Timothy A. Bish
d403f10722
Additional Fix for https://issues.apache.org/jira/browse/AMQ-3573 - Add check for improperly configured temp store limits
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239319 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 20:57:36 +00:00
Timothy A. Bish
b11f1b452d
Adds a test that verifies the behavior of the temp store when setting limits smaller than the max journal file size.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239308 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 20:26:31 +00:00
Timothy A. Bish
e25e5dee86
Update test so that its not using a fixed port for the brokerUri.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239283 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 19:37:29 +00:00
Gary Tully
179d95e7be
https://issues.apache.org/jira/browse/AMQ-3694 - Blocked/Slow advisory consumers in duplex network connector, eventually breaks request/reply with temps. The duplex case was not acking advisory messages, so we were limited to 750! Also revisit association of producer created temp with connection as this can still get deleted before an advisory. Solution is to let gc pick up temps created in this way, https://issues.apache.org/jira/browse/AMQ-2571 . Resolve contention on destination creation for producer/advisory race condition. Additional tests
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1239188 13f79535-47bb-0310-9956-ffa450edef68
2012-02-01 16:11:17 +00:00
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