Commit Graph

98 Commits

Author SHA1 Message Date
Gary Tully a222b7b554 auto start of schedualler breaks two embedded brokers as they contest for the default store location
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@995117 13f79535-47bb-0310-9956-ffa450edef68
2010-09-08 16:25:36 +00:00
Gary Tully 17e87adb2e resolve: https://issues.apache.org/activemq/browse/AMQ-2892 - apply suggested fix
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@991536 13f79535-47bb-0310-9956-ffa450edef68
2010-09-01 13:46:03 +00:00
Gary Tully 37b9cb82e1 resolve https://issues.apache.org/activemq/browse/AMQ-2889 - fix setter type
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@991102 13f79535-47bb-0310-9956-ffa450edef68
2010-08-31 07:30:13 +00:00
Gary Tully 589d634fe3 ensure no broker is auto created
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@980415 13f79535-47bb-0310-9956-ffa450edef68
2010-07-29 11:59:00 +00:00
Gary Tully e85dda9c64 have KahaDB lock work in vm, so master slave tests can work ok. preserver kaha behaiour in this regard as it makes testing simpler. fix npe on shutdown if start fails
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@955973 13f79535-47bb-0310-9956-ffa450edef68
2010-06-18 12:27:51 +00:00
Gary Tully ad06a5f9c3 resolve https://issues.apache.org/activemq/browse/AMQ-2765 - rework fix for https://issues.apache.org/activemq/browse/AMQ-2772 - each consumer needs to indicate when interuption processing is complete. till there is a need to do other wise, the connection consumers (used by the RA managed connection) immediatly allow redelivery
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@954972 13f79535-47bb-0310-9956-ffa450edef68
2010-06-15 17:17:07 +00:00
Bosanac Dejan 358b522b8d Some improvements for org.apache.activemq.ra.JmsXARollback2CxTransactionTest test as it fails in hudson
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@935501 13f79535-47bb-0310-9956-ffa450edef68
2010-04-19 09:54:19 +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
Gary Tully aef23f94f3 resolve https://issues.apache.org/activemq/browse/AMQ-2670 - apply patch with thanks. Now possible to integrate RAR XAResource with jboss via the jboss org.jboss.jms.server.recovery.MessagingXAResourceRecovery handler
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@927520 13f79535-47bb-0310-9956-ffa450edef68
2010-03-25 17:40:12 +00:00
David Jencks f585d881bc Typo in validation methods
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@908155 13f79535-47bb-0310-9956-ffa450edef68
2010-02-09 18:55:04 +00:00
Gary Tully e7794fa4ce improve error info to help with: https://issues.apache.org/activemq/browse/AMQ-2457
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@827916 13f79535-47bb-0310-9956-ffa450edef68
2009-10-21 08:15:26 +00:00
David Jencks 7167041ee6 AMQ-2166 unregister session proxies when they are closed. Patch (modified) from Mario Siegenthaler, slightly modified
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@813992 13f79535-47bb-0310-9956-ffa450edef68
2009-09-11 19:31:11 +00:00
Robert Davies 9cc98732e6 fix for https://issues.apache.org/activemq/browse/AMQ-910
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@812941 13f79535-47bb-0310-9956-ffa450edef68
2009-09-09 13:15:15 +00:00
Gary Tully d88004fe5d resolve https://issues.apache.org/activemq/browse/AMQ-2346 - TransactionContext XA state needs to be static to be shared across XAResource views
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@811003 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 15:54:53 +00:00
David Jencks 490dcf9bd2 AMQ-2346 test demonstrating problem (set to not run)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@805881 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 17:08:48 +00:00
David Jencks bc72c54a65 minor cosmetic cleanup
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@803257 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 19:37:45 +00:00
Gary Tully 8274f09dd4 resolve https://issues.apache.org/activemq/browse/AMQ-1191 by introducing driver specific locker so that impl for sql_server can diverge from those of oracle etc. Thus the patch is applied to a transact sql specific impl - the impls are defined in a resoruce file in the same way as the adapters. The default locker now remains unchanged. Also updated to the latest stable jmock 2.5.1
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@798602 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 16:44:47 +00:00
Bosanac Dejan 2350d8b764 fix for https://issues.apache.org/activemq/browse/AMQ-2069 - thread deadlock in endpoint worker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@797052 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 12:58:53 +00:00
Gary Tully 9383c6d697 resolve alternative path to https://issues.apache.org/activemq/browse/AMQ-2241 via ra where connection is reused. state tracker was not notified when remove command is suppressed and simulated during transport outage
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@774712 13f79535-47bb-0310-9956-ffa450edef68
2009-05-14 09:57:24 +00:00
Gary Tully a259babc34 resolve AMQ-2212|https://issues.apache.org/activemq/browse/AMQ-2212 - fix resource resolving for RAR with weblogic - set the thread context class loader for the thread that starts the embedded broker
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@766053 13f79535-47bb-0310-9956-ffa450edef68
2009-04-17 15:34:34 +00:00
Gary Tully 3266019825 resolve broker unit test testReceiveTwoThenCloseConnection(org.apache.activemq.ra.JmsXAQueueTransactionTest): ra test uses Auto ack mode but the xa tx has been cleaned up so amq just sees a close on auto ack so it delivers the ack. AMQ-2128 Keeping the tx around till after the close sorts this out. One question though, with the ack mode supposed to be ignored, does it makes sense for the RA to use a transacted ack mode when there is a transaction?
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@748258 13f79535-47bb-0310-9956-ffa450edef68
2009-02-26 18:19:58 +00:00
Gary Tully ca80106573 resolve unit test break, check for tx need to be overridden to take care of shared case
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@741646 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 17:28:13 +00:00
Guillaume Nodet 1ab76f775d AMQ-2091: Add a cache to the jms selector parser for speed improvements
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@740375 13f79535-47bb-0310-9956-ffa450edef68
2009-02-03 19:05:07 +00:00
Gary Tully 40465998ee resolve issue with broken ra tests, allow XA operation on non transacted session, check for transaction now is xa aware
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739961 13f79535-47bb-0310-9956-ffa450edef68
2009-02-02 11:14:05 +00:00
Gary Tully 02ca463bf8 disable a bunch of ra xa tests pending some investigation
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@739001 13f79535-47bb-0310-9956-ffa450edef68
2009-01-29 20:44:21 +00:00
David Jencks ab438f68c1 AMQ-2079 improve error messages in AMQConnection.createSession, and make ManagedConnectionProxy only supply consistent parameters
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@735914 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 02:13:31 +00:00
David Jencks 1f00a395f8 AMQ-2078 extend transaction tests to xa in ra
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@735912 13f79535-47bb-0310-9956-ffa450edef68
2009-01-20 02:06:37 +00:00
David Jencks 185711e2f5 minor javadoc and spelling fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@729437 13f79535-47bb-0310-9956-ffa450edef68
2008-12-25 20:17:29 +00:00
Gary Tully 50a98e3b0e fix - AMQ-2034 - have close in XA transaction deferred to synchronisation after completion, have rollback call beforeEnd to propagate acknowledgements; add a bunch of tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@726764 13f79535-47bb-0310-9956-ffa450edef68
2008-12-15 18:48:51 +00:00
Gary Tully c96cdf04d2 resolve broken test resulting from AMQ-1919
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@707582 13f79535-47bb-0310-9956-ffa450edef68
2008-10-24 08:48:41 +00:00
Robert Davies 6db9a37d2f Fix for https://issues.apache.org/activemq/browse/AMQ-1777
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@666887 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 23:13:59 +00:00
Robert Davies 58e5b9acce patch for https://issues.apache.org/activemq/browse/AMQ-1779
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@664082 13f79535-47bb-0310-9956-ffa450edef68
2008-06-06 18:59:11 +00:00
Robert Davies 21568866ad Fix for https://issues.apache.org/activemq/browse/AMQ-1756
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@663052 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 10:36:06 +00:00
Hiram R. Chirino aa62069349 Fix for AMQ-1696
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@652111 13f79535-47bb-0310-9956-ffa450edef68
2008-04-29 20:59:06 +00:00
Robert Davies 464402cd0e Applied patch from https://issues.apache.org/activemq/browse/AMQ-1200
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@650392 13f79535-47bb-0310-9956-ffa450edef68
2008-04-22 07:09:52 +00:00
Robert Davies 8733d172ae Apply patch for https://issues.apache.org/activemq/browse/AMQ-765
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@648727 13f79535-47bb-0310-9956-ffa450edef68
2008-04-16 15:47:24 +00:00
Robert Davies acf453b46a Applied patch from https://issues.apache.org/activemq/browse/AMQ-1345
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@646789 13f79535-47bb-0310-9956-ffa450edef68
2008-04-10 13:16:37 +00:00
Hiram R. Chirino af27811a75 Merged in the rest of djencks's release changes from the 4.1 branch
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@645991 13f79535-47bb-0310-9956-ffa450edef68
2008-04-08 16:28:08 +00:00
David Jencks 8d28bbfdab AMQ-1618 Refine thread safety of pool access operations
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637218 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 19:23:55 +00:00
Robert Davies bbd2e47dbd tidied up synchronization
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637028 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 09:53:39 +00:00
David Jencks c57bad8711 AMQ-1618 Fix check for 'endpoint factory won't let us create any endpoints at all'
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@637004 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 06:36:49 +00:00
Robert Davies 91a0542315 Fix for https://issues.apache.org/activemq/browse/AMQ-1506
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@628711 13f79535-47bb-0310-9956-ffa450edef68
2008-02-18 13:00:44 +00:00
Hiram R. Chirino 43d58b57b7 Fix for http://issues.apache.org/activemq/browse/AMQ-1519
Start up the embeded broker in an async thread so that it does not block the AppServer startup if a slave broker is started.


git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@609016 13f79535-47bb-0310-9956-ffa450edef68
2008-01-04 21:38:44 +00:00
Hiram R. Chirino 00895cecc1 ActiveMQ is out of the incubator.. no need for DISCLAIMER.txt anymore
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@577759 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 14:13:23 +00:00
James Strachan aa87faaaac rolled back the previously applied patch for MessageActivationSpec and re-created the interface from scratch by pulling up all the public getters/methods from the original ActiveMQActivationSpec class to ensure we have the correct license headers etc
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565398 13f79535-47bb-0310-9956-ffa450edef68
2007-08-13 16:24:29 +00:00
Hiram R. Chirino 540dd5c987 Last set of checkstyle violation fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@565003 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 05:27:21 +00:00
Hiram R. Chirino 5f1adbe898 More checkstyle fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564977 13f79535-47bb-0310-9956-ffa450edef68
2007-08-11 21:29:21 +00:00
Hiram R. Chirino ecf89a60bf More checkstyle violation fixes
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@564679 13f79535-47bb-0310-9956-ffa450edef68
2007-08-10 16:57:01 +00:00
Robert Davies 2256ec03b4 apply patch http://issues.apache.org/activemq/browse/AMQ-1293
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@550472 13f79535-47bb-0310-9956-ffa450edef68
2007-06-25 12:40:25 +00:00
James Strachan 3bd948f738 applied modified version of AMQ-1147 (keeping the implementation classes the same name to avoid issues with existing RA configurations)
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@515576 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 14:14:23 +00:00