Gary Tully
9e54516aba
resolve https://issues.apache.org/activemq/browse/AMQ-2693 - loaded machine with slow thread creation can delay interruption processing past next dispatch which can be problematic. prefetch=1 will workaround
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@933240 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 14:03:18 +00:00
Bosanac Dejan
fc52e42636
AMQ2102Test improvements
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@933190 13f79535-47bb-0310-9956-ffa450edef68
2010-04-12 10:56:23 +00:00
Bosanac Dejan
80a7ec59b4
https://issues.apache.org/activemq/browse/AMQ-2448 - thread leak when network trying to connect to unavailable broker
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@932403 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 13:31:36 +00:00
Gary Tully
05f82a9b6d
resolve https://issues.apache.org/activemq/browse/AMQ-2691 - ensure suppressed durable subs are acked so that message can be removed and not recovered at a later date. Tidy up network bridge creation so that durables are supported by default and allow dynamicOnly to determine if durables are auto bridged. Avoid duplicate mbeans for durable subs on restart and allow active to reflect status of a sub
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@932342 13f79535-47bb-0310-9956-ffa450edef68
2010-04-09 10:36:00 +00:00
Bosanac Dejan
ce8f83acf1
https://issues.apache.org/activemq/browse/AMQ-2448 - adding test case
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@931216 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 16:37:26 +00:00
Bosanac Dejan
b53e4b545a
https://issues.apache.org/activemq/browse/AMQ-2684 - encoding for web sockets and stomp
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@931089 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 11:04:12 +00:00
Bosanac Dejan
684f5dfef1
https://issues.apache.org/activemq/browse/AMQ-2684 - encoding for web sockets and stomp
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@931047 13f79535-47bb-0310-9956-ffa450edef68
2010-04-06 08:19:18 +00:00
Bosanac Dejan
3336a22ff9
https://issues.apache.org/activemq/browse/AMQ-2681 - adding license header
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@930212 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:45:15 +00:00
Bosanac Dejan
d22e841db9
https://issues.apache.org/activemq/browse/AMQ-2681 - typo fixed and generate jdbc statements class
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@930206 13f79535-47bb-0310-9956-ffa450edef68
2010-04-02 09:38:46 +00:00
Gary Tully
4eafcccf62
resolve https://issues.apache.org/activemq/browse/AMQ-2556 - resolve leaks with XA_RDONLY - prepare needs to cleanup the transaction state, both on the broker and on the client connection/session/failover state
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@930135 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 23:25:20 +00:00
David Jencks
c22ea7fab0
ACTIVEMQ-2384 remove hard dependency on spring
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@930041 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 16:56:13 +00:00
Bosanac Dejan
fd65b8201a
https://issues.apache.org/activemq/browse/AMQ-2681 - findMessageByIdStatement
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929918 13f79535-47bb-0310-9956-ffa450edef68
2010-04-01 10:56:26 +00:00
Gary Tully
9822d58d04
resolve https://issues.apache.org/activemq/browse/AMQ-2384 - not exactly the patch but allowing the introspector to work, which is more generic with some tests, thanks phil for the impetus on this
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929618 13f79535-47bb-0310-9956-ffa450edef68
2010-03-31 16:54:49 +00:00
Gary Tully
2dd5b7737b
resolve https://issues.apache.org/activemq/browse/AMQ-2670 - revert XA connection manager, using out of band recovery via JMS api is a workaround for jboss pending RAR based auto recovery or enlistment, comments in the jira with the relevant config
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929145 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 14:02:40 +00:00
Bosanac Dejan
99d51265ff
http://issues.apache.org/activemq/browse/AMQ-2507 - use commons logging
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@929094 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 11:48:02 +00:00
Bosanac Dejan
73338477ad
https://issues.apache.org/activemq/browse/AMQ-2669 - jmx slave attribute for shared filesystem (jdbc) MS configurations
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@927324 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 10:07:53 +00:00
Gary Tully
ff006954d8
add additional test class : https://issues.apache.org/activemq/browse/AMQ-2622
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@927066 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 14:10:59 +00:00
Gary Tully
e9f30febec
make ObjectMessage.copy aware of setObjectMessageSerializationDefered so that copy on dispatch can operate on message dispatch fields but message serialization is still avoided - resolve: https://issues.apache.org/activemq/browse/AMQ-2622
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@927054 13f79535-47bb-0310-9956-ffa450edef68
2010-03-24 13:51:00 +00:00
Gary Tully
363a1cf599
resolve issue with roll over and cron parser, hudson builds in different TZ has repeated faiure on trunk, getNext may still need some work
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@926646 13f79535-47bb-0310-9956-ffa450edef68
2010-03-23 16:20:40 +00:00
Robert Davies
c9addfb50e
remove Log messages from BrokerInfo to so JmsAppender works
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@926165 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:34:49 +00:00
Robert Davies
dfeecb4519
Applied updated patch for https://issues.apache.org/activemq/browse/AMQ-2636
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@926152 13f79535-47bb-0310-9956-ffa450edef68
2010-03-22 16:09:44 +00:00
Robert Davies
475eedc7a6
Fix order in which scheduler is used in the broker
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@925351 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 17:41:13 +00:00
Robert Davies
cc40251451
make sure scheduling works with transactions
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@925221 13f79535-47bb-0310-9956-ffa450edef68
2010-03-19 14:08:07 +00:00
Robert Davies
efd6bda979
default updateClusterClients = false - to ensure JUnit tests pass - which rely on a defined failover:// list
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@925035 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 23:00:03 +00:00
Gary Tully
d914548559
resolve https://issues.apache.org/activemq/browse/AMQ-2656 xa=true in the environment will ensure an XACOnnectionFactory is created
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924972 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 20:02:13 +00:00
Bosanac Dejan
1cec28cf27
https://issues.apache.org/activemq/browse/AMQ-2594 - proper init of broker and store seq
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924752 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 13:05:43 +00:00
Bosanac Dejan
229043b7d9
cleaning log4j.properties
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924709 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 11:11:22 +00:00
Robert Davies
e75affa660
Fix for https://issues.apache.org/activemq/browse/AMQ-2646
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924661 13f79535-47bb-0310-9956-ffa450edef68
2010-03-18 07:21:12 +00:00
Bosanac Dejan
af65ba7242
https://issues.apache.org/activemq/browse/AMQ-2654 - subscription info space character
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924353 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 16:25:02 +00:00
Robert Davies
de04214bb5
Fix for https://issues.apache.org/activemq/browse/AMQ-2645
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924350 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 16:18:14 +00:00
Robert Davies
be55d0a661
added option to not update clients when broker removed from a cluster
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@924349 13f79535-47bb-0310-9956-ffa450edef68
2010-03-17 16:17:26 +00:00
Bosanac Dejan
5cc101beae
https://issues.apache.org/activemq/browse/AMQ-2594 - including the test and adding some comments
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@923706 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 12:21:14 +00:00
Bosanac Dejan
8183ed5c90
https://issues.apache.org/activemq/browse/AMQ-2594 - synchronizing transaction store commit and triggering afterCommit event
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@923694 13f79535-47bb-0310-9956-ffa450edef68
2010-03-16 11:12:37 +00:00
Bosanac Dejan
24a7626b06
https://issues.apache.org/activemq/browse/AMQ-2594 - jdbc and broker seq id - intial commit
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@923300 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 15:37:58 +00:00
Robert Davies
a1c427e0a3
Fix failing ReconnectTest
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@923272 13f79535-47bb-0310-9956-ffa450edef68
2010-03-15 14:49:18 +00:00
Robert Davies
909c1c3d18
Applied patch for https://issues.apache.org/activemq/browse/AMQ-2191
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@921822 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 12:20:10 +00:00
Robert Davies
dc0f5b392b
Add a cluster update filter
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@921821 13f79535-47bb-0310-9956-ffa450edef68
2010-03-11 12:17:10 +00:00
Bosanac Dejan
7ee5cdd276
https://issues.apache.org/activemq/browse/AMQ-2440 - fine tuning
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920881 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 14:05:11 +00:00
Bosanac Dejan
83604eee1d
https://issues.apache.org/activemq/browse/AMQ-2440 - limiting number of threads for the executor pool
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920838 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 12:29:23 +00:00
Bosanac Dejan
3cbe3f1f92
https://issues.apache.org/activemq/browse/AMQ-2440 - fixing bug on marking worker as non empty
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920827 13f79535-47bb-0310-9956-ffa450edef68
2010-03-09 12:18:47 +00:00
Robert Davies
54fa83da8b
Apply patch for https://issues.apache.org/activemq/browse/AMQ-2636
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920395 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 16:53:30 +00:00
Hiram R. Chirino
3634d64747
check for release after processig io tasks
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920330 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 14:19:40 +00:00
Hiram R. Chirino
192ea889ee
close the selection on shutdown
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920325 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 14:07:29 +00:00
Robert Davies
f392884e31
Fix for https://issues.apache.org/activemq/browse/AMQ-2632
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@920306 13f79535-47bb-0310-9956-ffa450edef68
2010-03-08 12:48:45 +00:00
Gary Tully
cc18e703b2
fix validation
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@919793 13f79535-47bb-0310-9956-ffa450edef68
2010-03-06 16:01:38 +00:00
David Jencks
7cefb7ae73
AMQ-2637 widen osgi import version ranges
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@919561 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 19:45:10 +00:00
Gary Tully
f82dc25eae
resolve https://issues.apache.org/activemq/browse/AMQ-2635
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@918384 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 10:28:54 +00:00
Gary Tully
f33e2190d0
resolve https://issues.apache.org/activemq/browse/AMQ-2630 - added test and restricted imlementation
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@918381 13f79535-47bb-0310-9956-ffa450edef68
2010-03-03 10:15:10 +00:00
Robert Davies
f782fc0b4a
makesure assertEquals() is comparing to long values
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@917969 13f79535-47bb-0310-9956-ffa450edef68
2010-03-02 11:20:42 +00:00
Gary Tully
50dadbb877
fix intermittent failure with test, was forwarding to same destination which made it timing dependent
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@917628 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:17:51 +00:00
Gary Tully
77116d41cc
resolve test failures, all test xml must now validae post https://issues.apache.org/activemq/browse/AMQ-2547 - upgrading trunk to spring 3.0.1.RELEASE
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916937 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 10:11:16 +00:00
Gary Tully
7f8c822a20
resolve https://issues.apache.org/activemq/browse/AMQ-906 - have retries with autoack and runtime exception from onMessage
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916936 13f79535-47bb-0310-9956-ffa450edef68
2010-02-27 10:07:05 +00:00
Hiram R. Chirino
1f521da77e
Updated the TransportConnector and TransportConnection to use a thread pool when initalizing and destroying connection to better support fast
...
connect and disconnect use cases.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916780 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 18:40:31 +00:00
Hiram R. Chirino
662324caac
Better selector synchonization to help resolve AMQ-2440
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916762 13f79535-47bb-0310-9956-ffa450edef68
2010-02-26 17:14:40 +00:00
Gary Tully
3e4fc0a678
resolve https://issues.apache.org/activemq/browse/AMQ-2628 - add consumerId to message dicarded advisory to allow correlation with the dlq, change to the brokerservice advisory api
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@916255 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 11:39:53 +00:00
Gary Tully
156a6095c4
variation on https://issues.apache.org/activemq/browse/AMQ-2626 - add vmcursor eviction test, shows similar issues also fix potential hang when connection is shutdown and producer is waiting for space in pending messages
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915809 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 14:46:21 +00:00
Gary Tully
a2af47bd1d
resolve https://issues.apache.org/activemq/browse/AMQ-2626 - ensure reference count is decremented on non evicted messages
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915770 13f79535-47bb-0310-9956-ffa450edef68
2010-02-24 12:53:37 +00:00
Gary Tully
f24edca190
resolve some issues with out of order remove from plist
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915281 13f79535-47bb-0310-9956-ffa450edef68
2010-02-23 11:07:53 +00:00
Robert Davies
d71eefc0bf
separated initialisation from start() - to prevent unnecessary creation of temporary storage
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915028 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 19:31:23 +00:00
Robert Davies
241af099f1
removed topic test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@915010 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 18:40:04 +00:00
Robert Davies
ac0462acef
Fix for https://issues.apache.org/activemq/browse/AMQ-2616
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912652 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 16:54:23 +00:00
Robert Davies
eb51a69c1f
Fix for https://issues.apache.org/activemq/browse/AMQ-2533
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912496 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 07:05:04 +00:00
Robert Davies
b341d4334f
Validate that subscriptions are removed across a network of brokers
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912495 13f79535-47bb-0310-9956-ffa450edef68
2010-02-22 06:59:53 +00:00
Robert Davies
1c26c9aba0
Applied patch for https://issues.apache.org/activemq/browse/AMQ-2455
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912312 13f79535-47bb-0310-9956-ffa450edef68
2010-02-21 07:36:55 +00:00
Robert Davies
baf9301a52
speed up Durable Topic Subscribers somewhat
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@912087 13f79535-47bb-0310-9956-ffa450edef68
2010-02-20 08:37:20 +00:00
Gary Tully
5619cd01a2
resolve https://issues.apache.org/activemq/browse/AMQ-2610 - org.apache.activemq.broker.region.cursors.PendingMessageCursor.next() now increments the reference count before returning a message reference. this allows control over references when browsing or peeking rather than moving/removing
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911650 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 23:49:41 +00:00
Bosanac Dejan
ceed011907
https://issues.apache.org/activemq/browse/AMQ-2617 - refactor ProtocolConverter so we can reuse it
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911413 13f79535-47bb-0310-9956-ffa450edef68
2010-02-18 14:20:03 +00:00
Robert Davies
c75001c5a4
updated some perf tests
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911076 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 17:07:40 +00:00
Gary Tully
af31f2dc00
fix plist destroy, intermittent failure of src/test/java/org/apache/activemq/broker/region/QueuePurgeTest.java
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@911055 13f79535-47bb-0310-9956-ffa450edef68
2010-02-17 16:29:16 +00:00
Gary Tully
0567645ec6
resolve https://issues.apache.org/activemq/browse/AMQ-2608 , fix applied with thanks
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910637 13f79535-47bb-0310-9956-ffa450edef68
2010-02-16 18:19:36 +00:00
Gary Tully
5bf2329ee7
resolve https://issues.apache.org/activemq/browse/AMQ-2607
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910315 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 19:43:54 +00:00
Gary Tully
d3fb1aabce
resolve https://issues.apache.org/activemq/browse/AMQ-2599 - tidy up exmple config to make it compliant with the schema - added simpe schema validation test and extended the broker start test, mvn test in assembly will now validate all the configs. added destroyApplicationContextOnStop to ensure jetty and other additions to the context are cleaned up when broker stops, allows mulitple brokers to rerun in the same jvm
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910238 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 15:34:58 +00:00
Robert Davies
a65881cf4e
Fix for https://issues.apache.org/activemq/browse/AMQ-2604
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@910163 13f79535-47bb-0310-9956-ffa450edef68
2010-02-15 05:55:31 +00:00
Robert Davies
799c033ead
make the make counts a little larger
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@909773 13f79535-47bb-0310-9956-ffa450edef68
2010-02-13 08:49:56 +00:00
Robert Davies
84c76a94a0
expose all brokers registered
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@909298 13f79535-47bb-0310-9956-ffa450edef68
2010-02-12 08:51:58 +00:00
Gary Tully
b84da17004
keep to java5 api
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908949 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 12:46:42 +00:00
Guillaume Nodet
3ce41d42c5
AMQ-2602: avoid activemq osgi bundles to import their own packages
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908905 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 09:57:46 +00:00
Robert Davies
e3154c3cd6
Added cron support for scheduled delivery - this is further enhancements for
...
https://issues.apache.org/activemq/browse/AMQ-451
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908867 13f79535-47bb-0310-9956-ffa450edef68
2010-02-11 08:18:36 +00:00
Gary Tully
0701d7d0e6
exercise all unicode for byte array stream write/readUTF to validate
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908618 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 18:15:16 +00:00
David Jencks
fa9f4ac9cc
AMQ-2601 make Activator class back into an activator, and use it in activemq-core
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908373 13f79535-47bb-0310-9956-ffa450edef68
2010-02-10 07:49:07 +00:00
David Jencks
09fab742ff
AMQ-2601 Make amq more blueprint-friendly, move away from spring lifecycle interfaces
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908182 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 19:56:21 +00:00
David Jencks
cd694f728c
minor formatting and javadoc fixes
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908154 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 18:54:16 +00:00
Gary Tully
a109a98442
browser snapshot of paged in messages is only guaranteed to be > pageSize, test should assert that only
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908121 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 17:19:49 +00:00
Gary Tully
fde472195f
resolve failure of JDBCStoreBrokerTest on slow machines, identified a sync issue with dispatch to queue browsers. Tidied up dispatch of queue browser to tie it to normal dispatch and avoid the timing/sync issue
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908060 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 14:47:07 +00:00
Gary Tully
7799ed795e
resolve regression with jobscheduller mbean - mock test is a little particular w.r.t to expected registered mbeans
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907618 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 11:00:46 +00:00
Bosanac Dejan
31ec5bafd8
DurableConsumerTest - hopefully the last increase of wait time
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907604 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 09:51:09 +00:00
Bosanac Dejan
80b421dd45
https://issues.apache.org/activemq/browse/AMQ-2594 - fixing test exclusion pattern
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907595 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 09:35:39 +00:00
Robert Davies
c7c8e5367e
Added JMX support for JobScheduling
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907197 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 08:57:24 +00:00
Gary Tully
39d071798a
https://issues.apache.org/activemq/browse/AMQ-2590 - ensure beforeEnd is called once per transaction so ack on rollback is avoided, add more tests
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@907174 13f79535-47bb-0310-9956-ffa450edef68
2010-02-06 05:13:21 +00:00
Bosanac Dejan
ecaacd852e
DurableConsumerTest - give it even more time to complete on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906983 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 15:58:44 +00:00
Gary Tully
a866d93b6f
tidy up and enable auto fail as this hangs in 5.3 for some reason. stack trace will help diagnose
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906861 13f79535-47bb-0310-9956-ffa450edef68
2010-02-05 09:13:39 +00:00
Gary Tully
e561040c70
allow for transaction rolledback exception: https://issues.apache.org/activemq/browse/AMQ-2590
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906697 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 22:33:33 +00:00
Bosanac Dejan
50dc880345
https://issues.apache.org/activemq/browse/AMQ-2594 - reverting related https://issues.apache.org/activemq/browse/AMQ-2563 changes, as more refactoring is needed
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906560 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 16:46:51 +00:00
Gary Tully
ab6bd79b26
get some more info out of this test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906457 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 11:34:47 +00:00
Gary Tully
b836af84f0
further evolution of resolution for https://issues.apache.org/activemq/browse/AMQ-2590 - indoubt transactions are now rolledback, pending transactions can wait for jms.consumerFailoverRedeliveryWaitPeriod for redeliveries before rolling back. If previously delivered messages are not replayed the transaction is rolledback
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906450 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 11:06:13 +00:00
Timothy A. Bish
1e8acfadb2
https://issues.apache.org/activemq/browse/AMQ-2490
...
Increase the receive timeout to fix errors on slow/loaded machines.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906301 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 00:30:16 +00:00
Timothy A. Bish
4bff78d3b4
https://issues.apache.org/activemq/browse/AMQ-2490
...
Disable the user id tests for the SSL auth test case.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906300 13f79535-47bb-0310-9956-ffa450edef68
2010-02-04 00:28:14 +00:00
Timothy A. Bish
3e022d8262
Update the Receipts test with a delay to prevent occasional failures.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906270 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 22:41:06 +00:00
Timothy A. Bish
24f73a53c1
Fix for: https://issues.apache.org/activemq/browse/AMQ-1817
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906101 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 16:09:42 +00:00
Timothy A. Bish
5ebfbf0387
Fix for: https://issues.apache.org/activemq/browse/AMQ-2254
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906088 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 15:36:12 +00:00
Timothy A. Bish
caabb6cb3d
Fix for: https://issues.apache.org/activemq/browse/AMQ-2490
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906071 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 14:42:33 +00:00
Bosanac Dejan
5170a8bba3
https://issues.apache.org/activemq/browse/AMQ-2563 - jdbc memory leak
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906054 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 14:07:08 +00:00
Robert Davies
700f1e45de
Further fix for https://issues.apache.org/activemq/browse/AMQ-2220
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@906045 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 13:59:29 +00:00
Robert Davies
c008426c7a
applied patch for https://issues.apache.org/activemq/browse/AMQ-1385
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905978 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 10:32:23 +00:00
Robert Davies
02fe43b8b6
Applied patcg for https://issues.apache.org/activemq/browse/AMQ-2555
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905973 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 10:23:34 +00:00
Robert Davies
9f2d289bee
applied patch for https://issues.apache.org/activemq/browse/AMQ-2220
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905958 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 09:49:21 +00:00
Robert Davies
204f91f935
Fix for https://issues.apache.org/activemq/browse/AMQ-2571
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905926 13f79535-47bb-0310-9956-ffa450edef68
2010-02-03 08:02:49 +00:00
Timothy A. Bish
4d0a8a5c7e
https://issues.apache.org/activemq/browse/AMQ-2196
...
Add option to ignore the values in the remote WireFormatInfo in case the user wants control over the Brokers inactivity timeouts.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905769 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 20:10:39 +00:00
Gary Tully
c32820d87b
tidy up test case for https://issues.apache.org/activemq/browse/AMQ-2590
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905640 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 14:16:41 +00:00
Gary Tully
59653a50f8
remove dependency on jmx and revert to direct calls on destinations to get stats and view on counters - resolve intermittent failures on hudson with a bit of luck as jmx introduces lots of timing issues
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905582 13f79535-47bb-0310-9956-ffa450edef68
2010-02-02 11:22:28 +00:00
Gary Tully
62daac4b31
resolve https://issues.apache.org/activemq/browse/AMQ-2590 - commit may throw a TransactionRolledBackException in the event that after a failover recovery, the same messages are not redispatched - the transaction cannot be fully recreated so it must rollback
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905432 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 22:41:17 +00:00
Gary Tully
722258e196
resolve: https://issues.apache.org/activemq/browse/AMQ-2589 - add null check
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905349 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 18:09:32 +00:00
Bosanac Dejan
a3607423c4
DurableConsumerTest - giving it more time to pass on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@905235 13f79535-47bb-0310-9956-ffa450edef68
2010-02-01 10:14:15 +00:00
Gary Tully
7b700ee7a2
validate (wait for) mbean existance before returning an mbean view - get to the bottom of intermittent failure
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904812 13f79535-47bb-0310-9956-ffa450edef68
2010-01-30 16:49:27 +00:00
Gary Tully
7a7ac1313b
resolve https://issues.apache.org/activemq/browse/AMQ-2585 with thanks. modified version of test applied, min size override is only relevant on the broker as it is calculated on demand on the client
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904585 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 18:40:42 +00:00
Gary Tully
2f65221065
give it a little more time after consumer created
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904584 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 18:38:03 +00:00
Gary Tully
5a03c37faf
resolve timing issue with reconnect in failover transport that can stall reconnect logic - resulted in intermittent failure of AMQ2183Test. reorg of test make it reproducable when master is waiting for slave to connect and its disconnects ocurr async so they can clash with inprogress reconnects - resolve https://issues.apache.org/activemq/browse/AMQ-2588
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904568 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 17:39:20 +00:00
Bosanac Dejan
fed9ac7955
https://issues.apache.org/activemq/browse/AMQ-2507 - improving test, avoiding false positives
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904468 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 11:42:46 +00:00
Gary Tully
17cc428b21
doubling the timeout for slow/loaded machines - intermittent failur hudson
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904451 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:31:10 +00:00
Gary Tully
ce17f58cb3
wait for queues to drain, intermittent failure
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904450 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:22:47 +00:00
Gary Tully
6205a0f9c8
push out the hang threshold for loaded/slow machines - intermittent failure
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904444 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:07:37 +00:00
Gary Tully
98a0f39b34
ensure destination exists even if empty after recovery, intermittent failure in hudson
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904441 13f79535-47bb-0310-9956-ffa450edef68
2010-01-29 10:00:47 +00:00
Hiram R. Chirino
02d57284a4
Fix for AMQ-2586
...
Topics will now report a queue size of 0.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904243 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 20:00:48 +00:00
Bosanac Dejan
83128fc45b
https://issues.apache.org/activemq/browse/AMQ-2507 - producer flow control timeout
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@904160 13f79535-47bb-0310-9956-ffa450edef68
2010-01-28 17:07:16 +00:00
Gary Tully
0d9c588ed7
resolve intermitent failure on loaded machines, consumer could complete before producer thread got to do any work at all
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903758 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 17:46:08 +00:00
Gary Tully
19bfd9d3b5
resolve hudson failure with DurableConsumerTest related to kahaDB under the FilePendingMessageCursor - fixes the cursor got duplicates error and improves the test now that there are no more duplicates. relates to https://issues.apache.org/activemq/browse/AMQ-2575
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903741 13f79535-47bb-0310-9956-ffa450edef68
2010-01-27 17:15:09 +00:00
Robert Davies
8b1e16de48
renamed to follow Test naming convention
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903487 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 23:31:06 +00:00
Gary Tully
8eeedce809
dsiable shutdown hook as it causes autofail exit to hang which defeats the purpos - want a stack trace if it hangs again
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903344 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 18:00:40 +00:00
Gary Tully
def2a34915
store can be null for a temp q, npe will hide out of sync error message, observed once in AMQ2102Test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903225 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 13:59:27 +00:00
Gary Tully
b85b71e297
instancenotfound exception wrapped in undeclaredthrowable by proxy, just ignore all for the wait period so slow machines can let it pass eventually
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903180 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 11:35:33 +00:00
Bosanac Dejan
a770a00373
DiscoveryNetworkReconnectTest - giving it even more time to reconnect to help stabilise on slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@903177 13f79535-47bb-0310-9956-ffa450edef68
2010-01-26 11:30:33 +00:00
Gary Tully
f82df4585d
make this autofail so we get a stack trace if it hangs in hudson again
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902924 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 18:58:23 +00:00
Gary Tully
8d3ca90303
resolve: https://issues.apache.org/activemq/browse/AMQ-2579 - use ConsumerControl with destination to update prefetch once recovery is complete. restored consumers are pull only pending recovery completion on the client side. Update WireFormat version to 6 - fix for 5.4 due to wireformat update
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902908 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 18:19:54 +00:00
Robert Davies
0f27c464b4
speed up tests - by deleting database directly
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902907 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 18:17:17 +00:00
Bosanac Dejan
57b8927743
making ExpiredMessagesTest pass on very slow machines
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902816 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 14:21:27 +00:00
Bosanac Dejan
d2791aee90
https://issues.apache.org/activemq/browse/AMQ-2570 - excluding spring dependencies for spring osgi
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902728 13f79535-47bb-0310-9956-ffa450edef68
2010-01-25 08:49:35 +00:00
Gary Tully
6efc268572
resolve intermittent failure of org.apache.activemq.bugs.AMQ2149Test as a result of https://issues.apache.org/activemq/browse/AMQ-2573 . An new command to indicate when recovery is complete on a sub is needed to gate dispatch on a recovered connection, can do this for 5.4. An outstanding ack transaction is now ignored but an outstand send transaction can still cause a potential hang till we introduce the new recovery complete command
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902056 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 10:59:46 +00:00
Robert Davies
8af25fd239
Fix for http://issues.apache.org/activemq/browse/AMQ-2530
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@902009 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 06:48:29 +00:00
Robert Davies
dad4f49213
Fixed failing test
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901928 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 23:44:29 +00:00
Timothy A. Bish
a438496645
fix for https://issues.apache.org/activemq/browse/AMQ-2548 don't close the ftp connection until the stream is closed.
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901911 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 23:02:28 +00:00
Robert Davies
e166ae3937
Added test case for http://issues.apache.org/activemq/browse/AMQ-2571
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901832 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 19:19:09 +00:00
Hiram R. Chirino
a33d6684eb
Adding a isEmpty() method to the btree indexes.. related to the fix created for AMQ-2512
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901763 13f79535-47bb-0310-9956-ffa450edef68
2010-01-21 16:37:37 +00:00
Robert Davies
affd91eda3
Improvement for https://issues.apache.org/activemq/browse/AMQ-2512
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901300 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 17:42:00 +00:00
Gary Tully
862cd718ed
resolve https://issues.apache.org/activemq/browse/AMQ-2573 - rollback of audit check needs to be synced with redispatch after failover transport resumption, otherwise some redispatched unconsumed messages can get auto-acked as duplicates in error
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901273 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 16:49:22 +00:00
Gary Tully
8de3bd29bf
resolve https://issues.apache.org/activemq/browse/AMQ-2567
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901269 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 16:41:30 +00:00
Robert Davies
ee55abb921
Fix for https://issues.apache.org/activemq/browse/AMQ-2575
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901188 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 13:27:05 +00:00
Bosanac Dejan
0a3c0e5300
https://issues.apache.org/activemq/browse/AMQ-2574 - stop osgi bundle on application context close
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@901171 13f79535-47bb-0310-9956-ffa450edef68
2010-01-20 12:54:07 +00:00
Robert Davies
27a6f1c6ab
added logging for Timestamp plugin
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900526 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 19:52:50 +00:00
Robert Davies
2e98d40065
added size() method to return amount of disk space the store occupies on disk
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900420 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 15:17:44 +00:00
Bosanac Dejan
27186c5ce2
DiscoveryNetworkReconnectTest - prevent test failing on slower machines - more fixes
...
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@900383 13f79535-47bb-0310-9956-ffa450edef68
2010-01-18 13:15:23 +00:00