Commit Graph

8133 Commits

Author SHA1 Message Date
Timothy Bish eaed01992e fix the test builds. 2014-08-13 09:37:18 -04:00
Timothy Bish 59f8cfc604 https://issues.apache.org/jira/browse/AMQ-5290
Minor cleanup, change transport option from subscriptionStrategyName to
just subscriptionStrategy.
2014-08-12 14:59:51 -04:00
Timothy Bish ec049a0882 https://issues.apache.org/jira/browse/AMQ-5290
Some more refactorings to allow the strategies to have more control of
the subsciption model in use.
2014-08-11 14:03:35 -04:00
Timothy Bish 8b64e139f8 https://issues.apache.org/jira/browse/AMQ-5318
Check for auto-commit and don't call commit if enabled.  

 This closes #43
2014-08-11 11:15:17 -04:00
Claus Ibsen 01ee9444c5 Upgrade to xalan 2.7.2 2014-08-11 11:16:06 +02:00
Timothy Bish 145b64ac2a Fix test name so it gets included in the surefire test runs. 2014-08-08 17:41:50 -04:00
gtully f158e7da67 https://issues.apache.org/jira/browse/AMQ-4930 - need to track paged in for queue count to match stat view - thanks MBeanTest and JmsQueueBrowserTest 2014-08-08 21:42:44 +01:00
Timothy Bish c391321d1b https://issues.apache.org/jira/browse/AMQ-5315
Fix for potential NPE on transport error.
2014-08-08 13:42:15 -04:00
Timothy Bish 4a2af3ab07 Add try/catch blocks to prevent client shutdown errors from preventing
Broker shutdown.
2014-08-08 12:34:38 -04:00
Timothy Bish 999385ea53 https://issues.apache.org/jira/browse/AMQ-5316
remove unused configuration entry to reduce confusion, can be added back
if ever needed to control additional logging.
2014-08-08 11:37:48 -04:00
Timothy Bish e5ab933d2d Fixup the code around building the test combinations to better account
for a combo option that has no actual values, in this case we just throw
that combo out and let the class default be the value used in the test.
Before the order of iteration drove the combo build which caused early
exit from the loop if the last enties in the list were empty combo
options.
2014-08-08 10:21:19 -04:00
gtully 7c2735d0f4 https://issues.apache.org/jira/browse/AMQ-5317 fix and test 2014-08-08 14:09:46 +01:00
Dejan Bosanac ec2a3c750b https://issues.apache.org/jira/browse/AMQ-5304 - re-enable the test as the fix should be fixed now; amqp version of the test is ignored until we have temp destinations work properly with amqp 2014-08-08 14:00:13 +02:00
Timothy Bish 1f9a2d6f68 Fix test failure under Java 8. Root cause is in CombinationTestSupport
and only shows up in Java 8 because iteration order of the options map
changes such that the expandCombination method gets an empty value for
an option and returns immediately without evalutating all the added
options.
2014-08-07 16:58:49 -04:00
Timothy Bish 533cedc4fc https://issues.apache.org/jira/browse/AMQ-5220
Fixes empty message bodies from responses to statistics plugin queries
over the STOMP transport. 

This closes #41
2014-08-07 14:18:40 -04:00
Claus Ibsen 960186af89 AMQ-5312: Reduce logging noise for activemq-pool if its stopped. 2014-08-07 14:54:52 +02:00
gtully ab1e9c78ef https://issues.apache.org/jira/browse/AMQ-5311 - encode xaErrorCode in xaexception message 2014-08-07 13:42:10 +01:00
Torsten Mielke 8fb690f17c Merge branch 'trunk' of https://git-wip-us.apache.org/repos/asf/activemq into trunk 2014-08-07 14:09:30 +02:00
gtully f1f1233cf3 include mqtt transport in rar 2014-08-07 12:41:59 +01:00
Torsten Mielke 5648482311 https://issues.apache.org/jira/browse/AMQ-5304 - applying groupClass to <tempDestinationAuthorizationEntry> 2014-08-07 11:08:38 +02:00
Torsten Mielke 98f707bd1e https://issues.apache.org/jira/browse/AMQ-5304 - still missing unit test case 2014-08-07 10:55:04 +02:00
Christian Posta 0d9eedc658 Updated test for https://issues.apache.org/jira/browse/AMQ-5290 after tbish commit for enhancement. 2014-08-06 17:02:17 -07:00
Christian Posta c42b874972 Test for https://issues.apache.org/jira/browse/AMQ-5290 2014-08-06 15:53:39 -07:00
Timothy Bish 413e4840d6 https://issues.apache.org/jira/browse/AMQ-5290
Adds a subscription strategy model where the default is the normal
durable topic subscription based approach or a strategy that maps all
subscriptions and publish operations to a Virtual Topic model.  A
network of brokers can network the Queues instead of having the durable
topics subscriptions repaeted on each Broker.
2014-08-06 17:41:19 -04:00
gtully fff3c83971 add amqp transport module to rar 2014-08-06 15:21:19 +01:00
gtully 58ae402b1d https://issues.apache.org/jira/browse/AMQ-5016 - evolve the class in a serialization compat way so that exiting kahadb stores can be read, long field addition 2014-08-06 15:21:19 +01:00
gtully 41659725f4 https://issues.apache.org/jira/browse/AMQ-4930 - ensure we page in messages for browse/expire when destination stats are disabled via config 2014-08-06 15:21:19 +01:00
Dejan Bosanac 6bdce73d83 https://issues.apache.org/jira/browse/AMQ-5304 - ignore the test for now 2014-08-06 15:25:03 +02:00
Dejan Bosanac acf84b43e9 https://issues.apache.org/jira/browse/AMQ-5304 - providing test case 2014-08-06 15:22:16 +02:00
Timothy Bish 052d293143 https://issues.apache.org/jira/browse/AMQ-5308
Improve performance of the codec for large message processing.
2014-08-05 12:43:36 -04:00
Dejan Bosanac c99e2d8372 https://issues.apache.org/jira/browse/AMQ-4719 - allowLinkStealing was not set/used properly by default on mqtt connector 2014-08-05 16:23:45 +02:00
Timothy Bish 6dd47bb63f https://issues.apache.org/jira/browse/AMQ-5306
This closes #39
2014-08-04 20:33:16 -04:00
Timothy Bish 7c04ead460 https://issues.apache.org/jira/browse/AMQ-5307
Fixed the MQTTCodec to properly handle frames that come in split up or
bunched together.
2014-08-04 18:58:03 -04:00
gtully 9743dbddb6 move to pax exam 3.4.0 2014-08-01 13:17:34 +01:00
Timothy Bish d8f9686d2a https://issues.apache.org/jira/browse/AMQ-5290
Clean up some code to make future work a bit simpler.
2014-07-31 17:49:59 -04:00
Timothy Bish 5de0c8e2fb https://issues.apache.org/jira/browse/AMQ-5298
Fix the NPE case
2014-07-31 17:23:35 -04:00
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