Commit Graph

8329 Commits

Author SHA1 Message Date
gtully 60bc089531 use plugin version to avoid mvn warn 2014-07-25 11:48:20 +01:00
gtully 25e3c1b3c6 https://issues.apache.org/jira/browse/AMQ-5289 - add forwardCount to destinationStatistics - allow local consumption to be accounted with dequeueCount - forwardCount so forwarded messages are not accounted for num hops times 2014-07-25 11:48:20 +01:00
Timothy Bish 619864dd42 https://issues.apache.org/jira/browse/AMQ-5288
Fix MQTT to return meaningful error codes on connect fail.
2014-07-24 13:31:17 -04:00
gtully e1cd19e86e https://issues.apache.org/jira/browse/AMQ-5080 - some additional trace logging 2014-07-24 15:19:16 +01:00
Timothy Bish fb569e3fbc Refactored MQTT test suite to use parameterized tests and ensure that
the various tests are run on the currently supported transport
connectors.
2014-07-23 18:46:11 -04:00
Timothy Bish 93f686c5cf Test code cleanup 2014-07-23 15:57:52 -04:00
Timothy Bish d223ea979f https://issues.apache.org/jira/browse/AMQ-4818
added patch with addition of getter for link stealing enabled and a unit
test.
2014-07-22 17:53:39 -04: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
Timothy Bish b9fd189d56 https://issues.apache.org/jira/browse/AMQ-5253
Add accessors with the correctly spelled name and deprecate the old
ones.
2014-07-21 16:08:59 -04:00
Daniel Kulp 7fe23bce62 Change some of the amqp tests to be more event driven reducing the time by several minutes 2014-07-21 15:56:05 -04:00
Daniel Kulp 4de5219a8f No point in waiting around for 5 seconds to prove that nothing will be received. 4 minutes off tests. 2014-07-21 15:56:05 -04:00
Timothy Bish 3653f81b5b https://issues.apache.org/jira/browse/AMQ-5233
Return the right code when a client connects with bad credentials.
2014-07-21 15:55:06 -04:00
gtully 0ebbd5d974 https://issues.apache.org/jira/browse/AMQ-4000 - fix is good enable test so we can close the issue 2014-07-21 13:43:08 +01:00
Timothy Bish d54e0d6ab5 https://issues.apache.org/jira/browse/AMQ-5198
member variable scheduler assignment escapes the synchronization block
before the scheduler instance is fully initialized.
2014-07-18 10:11:25 -04:00
Dejan Bosanac 3c69127524 https://issues.apache.org/jira/browse/AMQ-4349 - stopping leveldb throws NPE 2014-07-18 15:12:02 +02:00
gtully c34851fd57 https://issues.apache.org/jira/browse/AMQ-5279 - ensure poison on failover redelivery only when delivery is not pending else where 2014-07-17 17:08:13 +01:00
Dejan Bosanac 4da588d4fc https://issues.apache.org/jira/browse/AMQ-5105 - problem starting broker with leveldb store 2014-07-17 17:12:52 +02:00
Timothy Bish 4d4766e3a3 Fix small typo in the docs
This closes #35
2014-07-16 10:35:23 -04:00
Timothy Bish 6ac3138daf https://issues.apache.org/jira/browse/AMQ-5222
Add test to show this is working as it should.
2014-07-15 14:33:23 -04:00
Dejan Bosanac 8f4079b438 fix javadoc creation, now running javadoc:aggregate work fine 2014-07-15 11:27:23 +02:00
gtully 3b5d89a78b https://issues.apache.org/jira/browse/AMQ-5277 - jdbc store make use of entryLocator on ack 2014-07-14 17:02:19 +01:00
gtully a9b8d98ed7 https://issues.apache.org/jira/browse/AMQ-5086 - init of broker got dropped after mutex wait - testWaitFor was failing 2014-07-14 17:02:18 +01:00
gtully ee08fc1e24 fix up to respect normalisation of mbean attribute/property names from http://git-wip-us.apache.org/repos/asf/activemq/commit/0709c2cc 2014-07-14 17:02:18 +01:00
Hadrian Zbarcea 318d52c53b Merge branch 'ConnectTestCleanup' of https://github.com/dkulp/activemq into trunk 2014-07-11 12:03:07 -04:00
Timothy Bish b432173cfc https://issues.apache.org/jira/browse/AMQ-5268
Explicity set the properties from the generic JMS pooled
connectionfactory as the introspection based tools can easily get stuck
on getters that cause recursion or on inner types that have methods
which allow chaining.
2014-07-10 19:03:31 -04:00
Timothy Bish e957937f08 https://issues.apache.org/jira/browse/AMQ-5269
Use a selector based accept when the transport socket has a selectable
channel which is the case for all the NIO transport.  Can reduce the
time it takes to close down the transport speeding up tests.
2014-07-10 16:32:44 -04:00
Daniel Kulp 7fe431b21f Cleanup in ConnectTest to do two things:
1) connect/disconnect 500 (which still seems high) times instead of as many as possible in 25seconds.  On fast machines, this is MUCH faster.
2) Actually call Thead.start(), not Thread.run() in cases where it should be on a background thread.
2014-07-10 15:28:43 -04:00
Daniel Kulp a498bffdd1 Update to use Java7 2014-07-10 13:47:55 -04:00
Hadrian Zbarcea 5b7bc9057f Update poms to fully load into M2E. Thanks dkulp 2014-07-10 13:47:55 -04:00
Daniel Kulp 06bb7a2716 Update poms to fully load into M2E 2014-07-10 13:47:55 -04:00
Timothy Bish 433912f79a https://issues.apache.org/jira/browse/AMQ-5271
Add an in-memory variant of the disk based JobScheduler store to allow
for an embedded broker to have scheduler support without needing to use
the disk based version.
2014-07-10 12:16:34 -04:00
Kevin Earls 2b53036b27 Excluding some tests which hang Jenkins on Windows and Solaris, see AMQ-5270 2014-07-10 17:12:09 +02:00
gtully 0709c2cc1d https://issues.apache.org/jira/browse/AMQ-5213 - fix failing jmock test - resolve inconsistency in camel case attribute naming in a few mbeans 2014-07-10 13:51:08 +01:00
gtully 6348d11976 https://issues.apache.org/jira/browse/AMQ-5266 - fix ordering of concurrent transaction completion in jdbc store, avoid skipped message dispatch. additional test 2014-07-10 12:33:29 +01:00
Kevin Earls 11185c205e Update for AMQ-5242, exclude tests that hang on AIX 2014-07-10 11:12:28 +02:00
Kevin Earls 13581c9aac Exclude leveldb tests on AIX, Solaris, HP-UX, and Windows as they cause problems with CI 2014-07-10 11:10:11 +02:00
Kevin Earls eae2112028 Exclude some MQTT tests on HP-UX, see AMQ-5267 2014-07-10 10:32:20 +02:00
Jeff Genender bf1c57b33d AMQ-5265 - fix race condition for task 2014-07-09 16:43:30 +02:00
Kevin Earls d4a376d885 added/updated timeouts to help resolve CI failures 2014-07-09 16:24:03 +02:00
Timothy Bish ccf4b9f34f https://issues.apache.org/jira/browse/AMQ-5262
close connections when the connector is stopped.
2014-07-08 16:20:21 -04:00
Timothy Bish e62e90abaf https://issues.apache.org/jira/browse/AMQ-5125
Fix for potential deadlock when external classes synchronize on the
LevelDBStore instance which can deadlock the hawtDispatch runner thread
if a task also attempts to take the lock to protect some mutable state
values.
2014-07-07 17:53:46 -04:00
Timothy Bish c6d0aaa81b https://issues.apache.org/jira/browse/AMQ-5258
Fixed, early created connection is closed so that it can expire or error
out as needed.
2014-07-07 14:29:21 -04:00
Timothy Bish 74846bb2b4 https://issues.apache.org/jira/browse/AMQ-3758
Refactor the scheduler store into a more KahaDB style store that can
recover from various problems like missing journal files or corruption
as well as rebuild its index when needed.  Move the scheduler store into
a more configurable style that allows for users to plug in their own
implementations.  Store update from legacy versions is automatic.
2014-07-07 12:28:11 -04:00
Claus Ibsen aa79c7ec7b Upgrade to Camel 2.13.2 2014-07-07 08:23:07 +02:00
Hadrian Zbarcea 6521549ec8 AMQ-5086. Fix the timeout arithmetic 2014-07-03 14:53:30 -04:00
gtully 5aef16ad06 https://issues.apache.org/jira/browse/AMQ-5256 - fix spurious amqp ioexception on concurrent connection protocol discrimination, client would see a hang on open. additional test 2014-07-01 22:34:44 +01:00
Timothy Bish 106f759571 https://issues.apache.org/jira/browse/AMQ-5251
Synchronize method and remove old deprecated schedule method.
2014-06-28 10:21:34 -04:00
Timothy Bish 1c97a65b45 bump to the latest patch version of hawtbuf 2014-06-25 09:57:46 -04:00
Timothy Bish 0fdd4611a0 Fix the getProxyToTopic method. 2014-06-24 14:24:39 -04:00
Timothy Bish d9b03acffb https://issues.apache.org/jira/browse/AMQ-5239
Add a getter for the BrokerService map.
2014-06-24 11:18:58 -04:00