Commit Graph

136 Commits

Author SHA1 Message Date
Howard Gao a1062c273f https://issues.apache.org/jira/browse/AMQ-5811
Added synchronization blocks around sentitive code to
prevent concurrent modification of the HashMap.
2015-06-19 11:13:08 -04:00
Andy Taylor 9becfc0bed AMQ-5782 Added support to the Resource Adapter for SSL 2015-05-21 09:15:14 +01:00
gtully eb6c082631 https://issues.apache.org/jira/browse/AMQ-5735 - fix up semantics around lastDeliveredSequenceId 2015-04-22 16:32:17 +01:00
Dejan Bosanac c705523cd0 https://issues.apache.org/jira/browse/AMQ-5710 - connection cleanup should not remove connection from the broker 2015-04-07 17:21:59 +02:00
gtully 1d71cb7036 https://issues.apache.org/jira/browse/AMQ-5674 - revisit change - use single redelivey delay attribute for both initial and subsequent delays - resolves regression in BrokerRedeliveryTest 2015-04-03 14:19:15 +01:00
Dejan Bosanac 20832f1f1b https://issues.apache.org/jira/browse/AMQ-5674 - initialRedeliveryDelay not respected 2015-03-18 17:07:59 +01:00
gtully f75857fbbf remove unnecessary broker durability from this test 2014-12-08 14:06:15 +00:00
gtully 3858faaf9d prevent test from pulling in persistence adapter from default location, persistence is not required for this test 2014-12-05 15:04:11 +00:00
gtully e1cd19e86e https://issues.apache.org/jira/browse/AMQ-5080 - some additional trace logging 2014-07-24 15:19:16 +01:00
gtully 9e139017e4 https://issues.apache.org/jira/browse/AMQ-5264 add useSessionArgs attribute to allow transacted session creation - where user does demarcation using plain jms api. Default behaviour is to only allow container local or xa transaction demarcation 2014-07-22 13:15:39 +01:00
Claus Ibsen 1999ddfd01 AMQ-2354: JCA adapter. Default the ServerUrl to vm://brokerName?create=false when an embedded broker is specified with brokerXmlConfig. Thanks to Michael McKibben for the patch. 2014-04-01 10:16:18 +02:00
gtully adb49f5627 ignore transacted and ack mode in the rar - closer to jms 2.0 semantics and fixes tck cached connection issues. in the absense of a transaction their will never be a commit so using a local transaction is totally broken. transactions come from rar local or xa or none 2014-03-14 23:26:08 +00:00
gtully e8818fafea https://issues.apache.org/jira/browse/AMQ-5080 - fix up rar transacted delivery and redelivery processing, xarecovery and transaction completion afer failover - using failover maxReconnectAttempts=0 to avoid blocking periodic recovery and negate replay of aborted transaction state 2014-03-03 13:22:30 +00:00
gtully f42d56c1f8 avoid ugly npe post endpoint disassociate and add additional trace to recovery 2014-02-17 14:37:48 +00:00
gtully 519d8f7db0 https://issues.apache.org/jira/browse/AMQ-5038 - close active sessions on deactivate to ensure consumption stops for an endpoint 2014-02-10 15:12:39 +00:00
gtully 221a751d0a https://issues.apache.org/jira/browse/AMQ-5031 - add connection factory rmIdFromConnectionId attribute to allow resource manager identity to be mapped to the connection id, thus overiding the default broker identity association. usefull is a TM does not end a start with the join flags. We may want to implement join but it is not trivial to determin the existing associated state and clear it 2014-02-06 15:18:30 +00:00
Kevin Earls 770539d530 Added some logging to try to help debug occasional CI failures 2014-01-24 12:10:11 +01:00
gtully 3826a23ed5 https://issues.apache.org/jira/browse/AMQ-4486 - rework to open/close connection arround each xaresource op so there are no leaks during periodic recovery 2014-01-23 22:38:56 +00:00
Hiram Chirino de58386607 Fixing som e typos. 2013-11-18 10:24:00 -05:00
Gary Tully 1408e7f63b https://issues.apache.org/jira/browse/AMQ-4634 - create ack with known transaction context so that subesquent timeout triggers a rollback and does not leave a null transaction
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1504279 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 21:11:37 +00:00
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