Commit Graph

116 Commits

Author SHA1 Message Date
Gary Tully f2b01a7f01 https://issues.apache.org/jira/browse/AMQ-4486 - fix and test
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1475798 13f79535-47bb-0310-9956-ffa450edef68
2013-04-25 14:33:54 +00:00
Christian Posta 7bc7178899 Fix for https://issues.apache.org/jira/browse/AMQ-4305 Support destination lookup by JNDI name in resource adapter, patch applied, thanks Harald Wellmann. Also added unit tests
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1445642 13f79535-47bb-0310-9956-ffa450edef68
2013-02-13 14:57:38 +00:00
Timothy A. Bish 5d9a6b67eb Fix test failure due to fixed ports used in the test.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1442619 13f79535-47bb-0310-9956-ffa450edef68
2013-02-05 15:16:37 +00:00
Gary Tully 757a2f1d32 https://issues.apache.org/jira/browse/AMQ-4226 - ensure potential error condition (starved rar endpoint listener) is flagged in log
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1422928 13f79535-47bb-0310-9956-ffa450edef68
2012-12-17 13:43:14 +00:00
Hiram R. Chirino 9a8f6e415d Refactored the classes needed to run an ActiveMQ JMS client out from the activemq-core module to the activemq-client module.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1406466 13f79535-47bb-0310-9956-ffa450edef68
2012-11-07 05:00:17 +00:00
Bosanac Dejan ee2069f85c https://issues.apache.org/jira/browse/AMQ-3986 - respect prefetch values for MDBs
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379433 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 12:53:53 +00:00
Bosanac Dejan 1e57750dd6 https://issues.apache.org/jira/browse/AMQ-3986 - improve test, copy prefetch policies on managed connection factory
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1379414 13f79535-47bb-0310-9956-ffa450edef68
2012-08-31 10:46:49 +00:00
Bosanac Dejan 00bdf0044a https://issues.apache.org/jira/browse/AMQ-3986 - optimizeDurablePrefetch on ActiveMQConnectionSupport
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1378057 13f79535-47bb-0310-9956-ffa450edef68
2012-08-28 10:17:58 +00:00
Bosanac Dejan 86e9527e1f https://issues.apache.org/jira/browse/AMQ-3986 - optimizeDurablePrefetch with RA adapter
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1376431 13f79535-47bb-0310-9956-ffa450edef68
2012-08-23 10:50:36 +00:00
Bosanac Dejan 2027c87791 RA connection factory - test prefetch is being set
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1374958 13f79535-47bb-0310-9956-ffa450edef68
2012-08-20 09:49:16 +00:00
Robert Davies e2325f5d4f Fix for https://issues.apache.org/jira/browse/AMQ-3748
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1295672 13f79535-47bb-0310-9956-ffa450edef68
2012-03-01 16:58:02 +00:00
Bosanac Dejan 0fc20ee183 fix typo
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1129227 13f79535-47bb-0310-9956-ffa450edef68
2011-05-30 15:47:20 +00:00
Gary Tully 5b11c0e476 https://issues.apache.org/jira/browse/AMQ-2662 - ActiveMQEndpointWorker.stop() sometimes is needing many minutes to shutdown; patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1086210 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 12:36:05 +00:00
Gary Tully 8fba621a08 https://issues.apache.org/jira/browse/AMQ-3205 - Update ActivationSpec, patch applied with thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1079331 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 11:52:37 +00:00
Hiram R. Chirino b0c2a40fb9 Removing svn keywords, they don't have much value and just add additional noise when diffing source trees.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1071259 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 14:08:48 +00:00
Hiram R. Chirino 0bbc0acb84 Removing svn keywords, they don't have much value and just add additional noise when diffing source trees.
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1071256 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 13:58:54 +00:00
Gary Tully 8fdf3457e3 resolve regression of some ra transaction tests, follow on from http://svn.apache.org/viewvc?view=revision&revision=1065688 - a shared context needs to be aware that ended transactions that are unresolved are considered active. browse needs to only commit for local transactions when ending
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069796 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 13:48:33 +00:00
Bosanac Dejan 8bf987b134 https://issues.apache.org/jira/browse/AMQ-3177 - use slf4j instead of jcl
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1069405 13f79535-47bb-0310-9956-ffa450edef68
2011-02-10 14:24:01 +00:00
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