Commit Graph

8347 Commits

Author SHA1 Message Date
Timothy Bish 47ebd80b6b https://issues.apache.org/jira/browse/AMQ-5301
This closes #38
2014-07-31 12:53:29 -04:00
Timothy Bish efa55278ec https://issues.apache.org/jira/browse/AMQ-5299
Fix duplicate call to unsubscribe.
2014-07-30 20:03:48 -04:00
Timothy Bish 2cd54248c6 https://issues.apache.org/jira/browse/AMQ-5290
Reduce memory overhead of the MQTT Protocol converter by not storing the
UTF8Buffer instances and instead simply store the needed String values.
We always access the String value anyway so all of the UTF8Buffer object
we store carry the overhead of both marshalled UTF-8 bytes and an
unmarshalled String object.
2014-07-30 12:00:38 -04:00
Timothy Bish 4b0e3e57ba https://issues.apache.org/jira/browse/AMQ-5290
Add some utility methods that are useful for restoring past
subscriptions.
2014-07-30 12:00:38 -04:00
gtully b550fb7742 fix up line sep, use generic unix 2014-07-30 15:32:40 +01:00
Andreas Kuhtz c0f28e8e0a Web-console does not initialize under Spring-4.x because dispatcher-servlet.xml has very old bean definition.
This closes #37
Signed-off-by: Daniel Kulp <dkulp@apache.org>
2014-07-30 10:23:22 -04:00
Timothy Bish 1ee5108be6 Disable JMX on the test brokers as it's not needed in these tests,
prevents some failures and speeds things up a little.
2014-07-30 09:40:09 -04:00
Timothy Bish 829a186f2a Revert to using non-parameterized tests, makes it simpler to debug. 2014-07-29 20:16:00 -04:00
Timothy Bish e47e0e0463 https://issues.apache.org/jira/browse/AMQ-5294
This closes #36
2014-07-29 18:05:32 -04:00
Timothy Bish f55edcfa25 https://issues.apache.org/jira/browse/AMQ-5187
Allow virtual destination to recover retained messages.
2014-07-29 17:20:25 -04:00
Timothy Bish b11fc8faf4 Updated link stealing test to account for isConnected state not being
immediately updated which can lead to failure on a very fast machine.
2014-07-29 15:08:52 -04:00
gtully 27a5f6b9d5 remove some hardcoded version strings and pull them in from props via filtering 2014-07-29 15:55:58 +01:00
Dhiraj Bokde bba026a42e Removed redundant broker stop/start in unit test 2014-07-28 14:24:38 -07:00
Dhiraj Bokde e8c5a9fdb4 https://issues.apache.org/jira/browse/AMQ-4719 added enableLinkStealing=true for MQTTSslTransportFactory, test for duplicate client ids for MQTT 2014-07-28 14:15:02 -07:00
Timothy Bish 8d04e2be8e Remove unneeded broker stop / start at test begin. 2014-07-28 15:57:08 -04:00
Dhiraj Bokde 73908d6498 https://issues.apache.org/jira/browse/AMQ-5292 Added support for publishDollarTopics transport option for MQTT to support Topics with '$' prefix 2014-07-28 12:38:43 -07:00
gtully 207d4cdee6 https://issues.apache.org/jira/browse/AMQ-5080 - revert short circut of recover when failover transport is not connected - using maxstartupMaxReconnectAttempts=x provides a better alternative. tm recovery need not start a managed connection or call getConnection before a call to xaresource.recover 2014-07-28 16:19:20 +01:00
gtully 66a689df0e fix up karaf-itests , related commits https://issues.apache.org/jira/browse/AMQ-5224 https://issues.apache.org/jira/browse/AMQ-5105 Update poms to fully load into M2E - 06bb7a2716 2014-07-28 15:30:12 +01:00
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