Commit Graph
1081 Commits
Author SHA1 Message Date
andsel db7a597bcc Fixed timeout in test 2016-12-28 22:22:27 +01:00
andsel d3116dc685 Fixed inactive channel propagation event through MQTTMessageLogger 2016-12-28 22:21:33 +01:00
Neeme Praks 9bf909b4db Move log4j dependency from broker to dist - otherwise it is propagated transitively to projects using moquette as a library. Also removed redundant logback-core dependency from OSGi tests (it already has logback-classic). 2016-12-28 00:45:56 +02:00
Neeme Praks be42cfaae1 MessageDigest is not thread-safe
MessageDigest is not thread-safe. Use DigestUtils instead, it is also more convenient (and Moquette already has a dependency on commons-codec).
2016-12-28 00:36:01 +02:00
andsel 4e2a0dbf28 Switched to netty 4.1.6 to include Netty's official mqtt codec to make some performance tests 2016-12-27 22:28:34 +01:00
andsel 8aa683452a Added performance project module, to stress test specifics part of Moquette 2016-12-26 12:25:54 +01:00
andsel 642fa4a4aa Added plain publish bomber test, to measure enoding/deconding perf 2016-12-26 12:13:30 +01:00
andsel 686c5f4c65 Embedded pub and sub client into same process of the plain test broker to use same nanosecs 2016-12-24 15:36:20 +01:00
andsel 43f56a8f39 Removed unused methods 2016-12-24 14:42:40 +01:00
andsel 68a4093e1a Subscriber for benchmarking using Paho API 2016-12-21 23:17:22 +01:00
andsel 631049877e Implemented Publisher with Paho API 2016-12-21 22:37:53 +01:00
andsel 7b97855a3b Moved fuse benchmark into separate dir 2016-12-21 21:48:53 +01:00
andsel 08b5cd8333 Minor, just comment 2016-12-18 19:51:40 +01:00
andsel e812efd6b7 Added MQTT messages logger 2016-12-18 19:51:40 +01:00
Andrea Selva dfd985da95 Fixed sha, before was the sha256("passwd\n") 2016-12-14 18:08:31 +01:00
andsel 1831560bd6 Flowed up the creation of messageSender 2016-12-13 23:43:02 +01:00
andsel f7e8da93d8 Removed data clump 2016-12-13 23:43:02 +01:00
andsel 57586ce7c0 Introduced 2 method, one for retained and not 2016-12-13 23:43:02 +01:00
andsel 633365672c Changed InternalRepublisher to use the PersistentQueueMessageSender to send out the publish messages 2016-12-13 23:43:02 +01:00
andsel 32244e9482 Peeled common code 2016-12-13 23:43:02 +01:00
andsel 012e0687a8 Removed unused class BestEffortMessageSender 2016-12-13 23:43:02 +01:00
andsel 1c6cbd5d30 Removed the necessity to use BestEffortMessageSender 2016-12-13 23:43:02 +01:00
andsel 3100d835df Moved params out of publishQos0 2016-12-13 23:43:02 +01:00
andsel da94a6a014 Moved params out of publishQos2 2016-12-13 23:43:02 +01:00
andsel 2640a5354c Minor, unified method 2016-12-13 23:43:02 +01:00
andsel 57d9eeef64 Just renames 2016-12-13 23:43:02 +01:00
andsel 0bfdc88e21 Removed unused argument 2016-12-13 23:43:02 +01:00
andsel 0e0afe7c9b Renames 2016-12-13 23:43:02 +01:00
andsel c76db85ae7 Removed unused params 2016-12-13 23:43:02 +01:00
andsel 2b554ca475 Condensed the looping on subscription on separate class 2016-12-13 23:43:02 +01:00
andsel b58cd086ea Inverted some ifs to get the semantic of ifs more clear 2016-12-13 23:43:02 +01:00
andsel 968e021711 Reintroduced bad removed conditions 2016-12-13 23:43:02 +01:00
andsel 105a06537c Moved code to make InternalPublisher.publishRetained() almost similar to InternalPublisher.publishStored() 2016-12-13 23:43:02 +01:00
andsel 5d02239dc1 Extracted common code for internal republish 2016-12-13 23:43:02 +01:00
andsel 5b254cfe75 Changed che willpublish to use the Qos2Publisher helper class 2016-12-13 23:43:02 +01:00
andsel a54b122094 Substituted complex test to check lowering of qos level to the same accepted on subscription time 2016-12-13 23:43:02 +01:00
andsel 1e04292ba2 Moved qos2 publish to separate class 2016-12-13 23:43:02 +01:00
andsel 1c2fe8c8fe Moved publishing logic for qos1 to separate class 2016-12-13 23:43:02 +01:00
andsel a53772f094 Separated qos0 publishing logic from publish handler 2016-12-13 23:43:02 +01:00
andsel e6bb883334 Minor, just public class to package private 2016-12-13 23:43:02 +01:00
andsel a9f53a4a95 Moved Qos2 publish handling code to separate class 2016-12-13 23:43:02 +01:00
andsel d65886343b Moved QoS1 publish handling to separate class 2016-12-13 23:43:02 +01:00
andsel 81a447dce9 Reinserted route to qo0 branch in publish2Subscribers for internal publish 2016-12-13 23:43:02 +01:00
andsel 12ed805737 Moved qos0 publishing logic to separate class 2016-12-13 23:43:01 +01:00
andsel c62f549176 Minor, just code layout 2016-12-13 23:43:01 +01:00
andsel 296af8b4f6 Renamed route2Subscribers() to publish2Subscribers() 2016-12-13 23:43:01 +01:00
andsel 3355e7c334 Moved selection of subscriptions out of route2Subscribers 2016-12-13 23:43:01 +01:00
andsel c727ee87d3 Extracted method to verify credentials on publish 2016-12-13 23:43:01 +01:00
andsel c28673b83b introduced methods to threat every single qos 2016-12-13 23:43:01 +01:00
Andrea Selva 5ca48ddd73 Merge pull request #240 from kmhughes/master
Make Moquette into OSGi bundles.
2016-12-12 22:00:01 +01:00