Commit Graph

3372 Commits

Author SHA1 Message Date
Bosanac Dejan e96229803d https://issues.apache.org/activemq/browse/AMQ-3013 - additional fix
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1030888 13f79535-47bb-0310-9956-ffa450edef68
2010-11-04 11:48:32 +00:00
Bosanac Dejan 4fc1712cdc https://issues.apache.org/activemq/browse/AMQ-3013 - durable subs and jmx
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1030490 13f79535-47bb-0310-9956-ffa450edef68
2010-11-03 15:06:21 +00:00
Gary Tully 66a945a8f1 resolve duplicate issue with concurrent durable subs and dlq, suppress the duplicates in the default Dead letter strategy. With no duplicates, concurrentStoreAndDispatchQueues true is fine. resolve https://issues.apache.org/activemq/browse/AMQ-2584
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1030013 13f79535-47bb-0310-9956-ffa450edef68
2010-11-02 12:05:00 +00:00
Gary Tully 0c3117aac5 additional offiline test, and enable the jdbc variants - https://issues.apache.org/activemq/browse/AMQ-2985
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028702 13f79535-47bb-0310-9956-ffa450edef68
2010-10-29 11:46:31 +00:00
Gary Tully 518f0ce146 revert to manual additions to the schema mapping so that previous versions are not dropped from the map: resolve https://issues.apache.org/activemq/browse/AMQ-3005
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028288 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 13:18:56 +00:00
Gary Tully 5edede1d0b partial fix for https://issues.apache.org/activemq/browse/AMQ-2939 - allow the management context port values to be properties by ensuring that their schema is of type string rather than integer
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028278 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 12:47:47 +00:00
Gary Tully 4d265fd5d5 verify that all journal files are reclaimed after duplicate messages with concurrentStoreAndDispatchQueues=false, durable subs must be unsubscribed also https://issues.apache.org/activemq/browse/AMQ-2584
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028277 13f79535-47bb-0310-9956-ffa450edef68
2010-10-28 12:36:35 +00:00
Bruce Snyder 8a1f994bf5 AMQ-2965 - Patched to allow ActiveMQ to start up when DNS resolution is unavailable
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1028143 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 23:56:40 +00:00
Gary Tully c290a17460 add test variant that demonstrates the need to disable the audit on the dlq when there is a concurrent consumer with multiple durable subs, some duplicate sends will not be caught (if they are acked in the mean time) so that audit stop needs to be disabled such that they can be consumed. This points to the need for a dlq per durable sub. work around for: https://issues.apache.org/activemq/browse/AMQ-2584
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027886 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 10:18:36 +00:00
Bosanac Dejan ef1a3c1f67 https://issues.apache.org/activemq/browse/AMQ-2983 - sticky kahadb log files concurrent tx
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027863 13f79535-47bb-0310-9956-ffa450edef68
2010-10-27 09:14:46 +00:00
Gary Tully 6fd292d885 fix regression of https://issues.apache.org/activemq/browse/AMQ-2870 from refactoring of fix for https://issues.apache.org/activemq/browse/AMQ-2985 - unmatched acks are now stored as negative sequence ids so that we can differenciate between a durables that have acked messages after receipt and those that have acked because of unmatched. Unmatched messages are now deleted in the normal way
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027644 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 16:52:08 +00:00
Gary Tully 3b51a692be resolve https://issues.apache.org/activemq/browse/AMQ-2999 - use widlcard address for tcp connector
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027461 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 11:01:57 +00:00
Bosanac Dejan 1aa6cbc56a https://issues.apache.org/activemq/browse/AMQ-2982 - sticky kahadb log files on rollback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027453 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 10:33:05 +00:00
Bosanac Dejan 6ebc82c5c4 https://issues.apache.org/activemq/browse/AMQ-2982 - sticky kahadb log files on rollback
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027451 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 10:32:31 +00:00
Gary Tully 107509fac3 ensure datasource is not shutdown for setup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027447 13f79535-47bb-0310-9956-ffa450edef68
2010-10-26 10:25:18 +00:00
Timothy A. Bish 8262eec63d apply patch for: https://issues.apache.org/activemq/browse/AMQ-2988
with modifications to make the properties map unmodifiable and use the generic Collections.emptyMap method instead of creating a new empty map.

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1027282 13f79535-47bb-0310-9956-ffa450edef68
2010-10-25 21:58:04 +00:00
Gary Tully 5477bc007f fix xbean qdox parser error with static initialiser, use block instead
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026545 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 02:13:58 +00:00
Gary Tully 6ddbba4850 additional tests and refactoring of fix for https://issues.apache.org/activemq/browse/AMQ-2985, not updating subscriptionAck with an unmatched message resolves recovery of unmatched selector durables, reveting the previous change
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026543 13f79535-47bb-0310-9956-ffa450edef68
2010-10-23 01:36:13 +00:00
Gary Tully 514ef7de46 additional tests and refactoring of fix for https://issues.apache.org/activemq/browse/AMQ-2985, selector scan was off by one and unmatched acking skipped some messages leaving them available to subsequent consumers. Also acking always left the first consumed message available for a reconnected durable
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026457 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 19:31:18 +00:00
Bosanac Dejan df7cb7727b https://issues.apache.org/activemq/browse/AMQ-2970 - refactor to avoid duplicate getConnectionContext() method
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026254 13f79535-47bb-0310-9956-ffa450edef68
2010-10-22 08:55:08 +00:00
Gary Tully 9e885efca2 seems to be regression from: https://issues.apache.org/activemq/browse/AMQ-2970 - but there is some mix up with the creation of an admin connection context. having the BrokerView do the right thing works for the moment... but this needs some more eyes, test shows the issue when context is missing
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026092 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 18:17:42 +00:00
Bosanac Dejan 57737968fb add some traces to enable easier monitor of message flow
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1026008 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 14:14:38 +00:00
Gary Tully 3432a75110 jdbc variant of https://issues.apache.org/activemq/browse/AMQ-2985 - jdbc store cannot ack out of order, the cleanup task query needed to be priority aware. fix for https://issues.apache.org/activemq/browse/AMQ-2980 JDBC - priority needed to be considered in count and recovery, additional tests included
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1025939 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 10:58:51 +00:00
Bosanac Dejan ea82d5de5b https://issues.apache.org/activemq/browse/AMQ-2993 - virtual topics and advisory messages
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1025905 13f79535-47bb-0310-9956-ffa450edef68
2010-10-21 09:32:47 +00:00
Timothy A. Bish a60eeaa7ae apply patch (with modification to fix a null pointer violation case) fixes: https://issues.apache.org/activemq/browse/AMQ-2990
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1025620 13f79535-47bb-0310-9956-ffa450edef68
2010-10-20 15:48:56 +00:00
Bosanac Dejan 51ef021073 https://issues.apache.org/activemq/browse/AMQ-2986 - JMX and store percent usage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1023795 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 13:38:26 +00:00
Gary Tully e4cd23e35d enable schedualing for these tests https://issues.apache.org/activemq/browse/AMQ-2967
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1023714 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 09:53:10 +00:00
Gary Tully 5cbb4db7f6 resolve https://issues.apache.org/activemq/browse/AMQ-2985 - the use of selectors means replay and recovery from the begining of the store. unmatched are removed on initial dispatch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1023704 13f79535-47bb-0310-9956-ffa450edef68
2010-10-18 09:27:43 +00:00
Gary Tully 9705671546 resolve https://issues.apache.org/activemq/browse/AMQ-2980 for kahaDB
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1022890 13f79535-47bb-0310-9956-ffa450edef68
2010-10-15 12:29:39 +00:00
Gary Tully 80528f64a8 resolve failovertransactiontest hang in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1022058 13f79535-47bb-0310-9956-ffa450edef68
2010-10-13 10:08:10 +00:00
Bosanac Dejan 3a2d93958d https://issues.apache.org/activemq/browse/AMQ-2973 - removing composite subscription
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021768 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 13:29:37 +00:00
Gary Tully 1e900b300a a little more debug info on file gc, https://issues.apache.org/activemq/browse/AMQ-2955
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021747 13f79535-47bb-0310-9956-ffa450edef68
2010-10-12 11:32:53 +00:00
Gary Tully a5135f175d don't emit messages by default, only when explicitly configured as there are a dev debug aid, there are no simple handles exposed to effect the runtime values: https://issues.apache.org/activemq/browse/AMQ-2837
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021478 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 19:31:07 +00:00
Gary Tully c1da3ac3bd resolve https://issues.apache.org/activemq/browse/AMQ-2103 and https://issues.apache.org/activemq/browse/AMQ-2966, implement fix for 2103 using boolean policy for queues named reduceMemoryFootprint, when set, after a message is persisted, the internal state is cleared. This works at a natural sync point in the broker and avoids contention. The contention to marshall with the original patch results in AMQ-2966
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021466 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 19:06:02 +00:00
Bosanac Dejan 17851fac05 https://issues.apache.org/activemq/browse/AMQ-2970 - advisory and jmx create/delete destination
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1021425 13f79535-47bb-0310-9956-ffa450edef68
2010-10-11 16:50:12 +00:00
Gary Tully b625db2462 revert test mod from https://issues.apache.org/activemq/browse/AMQ-2103 - resolution to: https://issues.apache.org/activemq/browse/AMQ-2966
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005871 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:56:45 +00:00
Gary Tully 92b3ae2cd0 disable schedualler by default: resolve: https://issues.apache.org/activemq/browse/AMQ-2967, https://issues.apache.org/activemq/browse/AMQ-2959
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005858 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 15:22:57 +00:00
Gary Tully dd68c61e65 resolve https://issues.apache.org/activemq/browse/AMQ-2736, logic issue in code that keeps data files with acks around pending message file gc. thanks jgenender - test case to follow
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005806 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 12:28:42 +00:00
Bosanac Dejan 8e83b7f123 https://issues.apache.org/activemq/browse/AMQ-2950 - additional fix to support parallel transactions
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005794 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 12:08:32 +00:00
Gary Tully 8e70e010a0 resolve: https://issues.apache.org/activemq/browse/AMQ-2966 - related to fix for: https://issues.apache.org/activemq/browse/AMQ-2103, test via camel component - simple forwarder using vm transport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005773 13f79535-47bb-0310-9956-ffa450edef68
2010-10-08 11:00:26 +00:00
Gary Tully fb6c2da31d resolve failing test in hudson, dangling broker prevents restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005409 13f79535-47bb-0310-9956-ffa450edef68
2010-10-07 11:02:35 +00:00
Gary Tully c4911bda04 resolve https://issues.apache.org/activemq/browse/AMQ-2902 - ensure there is no exception on graceful close of vm transport, also have stack trace for transport exceptions at debug level, just toString at info level, test included, thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1005094 13f79535-47bb-0310-9956-ffa450edef68
2010-10-06 15:58:26 +00:00
Bosanac Dejan 06d6e08f48 https://issues.apache.org/activemq/browse/AMQ-2954 - test scheduling after restart
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1004640 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 13:51:55 +00:00
Gary Tully 04b2690628 add limit to the log message on temp store full
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1004603 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 10:26:14 +00:00
Gary Tully c94b4075e9 resolve issue with page file recovery replaying write buffer at wrong offest, also have schedualler flush writes on new store creation, issue visible with unclean shutdown - https://issues.apache.org/activemq/browse/AMQ-2935
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1004600 13f79535-47bb-0310-9956-ffa450edef68
2010-10-05 10:15:32 +00:00
Timothy A. Bish 667f26a155 fix for: https://issues.apache.org/activemq/browse/AMQ-2941
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1004411 13f79535-47bb-0310-9956-ffa450edef68
2010-10-04 20:35:18 +00:00
Timothy A. Bish 5f490541f4 Fixing a race between the session being closed and the call to commit in the async handler that caused some exceptions occasionally in the test run.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1003908 13f79535-47bb-0310-9956-ffa450edef68
2010-10-02 22:23:55 +00:00
Bosanac Dejan 227ed96df0 https://issues.apache.org/activemq/browse/AMQ-2952 - message groups with small prefetch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1003096 13f79535-47bb-0310-9956-ffa450edef68
2010-09-30 15:07:55 +00:00
Bosanac Dejan c0daffa381 https://issues.apache.org/activemq/browse/AMQ-2950 - xa transaction rollback on connection close
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1002604 13f79535-47bb-0310-9956-ffa450edef68
2010-09-29 13:10:52 +00:00
Timothy A. Bish 54bce47a81 fix for: https://issues.apache.org/activemq/browse/AMQ-2932
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1000651 13f79535-47bb-0310-9956-ffa450edef68
2010-09-23 22:24:36 +00:00