Commit Graph

  • c36ebc648b Minor, removed test lib deps in OSGi test module Andrea Selva 2016-12-30 10:04:15 +01:00
  • dd61be59b3 Switched from http encoder and decoder to codec, and fixed logger to check message type before log andsel 2016-12-30 00:32:53 +01:00
  • ac2086a0e0 Fixed failing test due to more strict endpoint check from Netty 4.1.x andsel 2016-12-30 00:31:41 +01:00
  • ea043bc743 Merge pull request #246 from nemecec/fix-deps Andrea Selva 2016-12-29 14:59:38 +01:00
  • 3dce95cc50 Merge pull request #245 from nemecec/patch-1 Andrea Selva 2016-12-29 14:59:19 +01:00
  • 1ad5f4aef9 Added MQTT message logger andsel 2016-12-28 22:22:55 +01:00
  • db7a597bcc Fixed timeout in test andsel 2016-12-28 22:22:27 +01:00
  • d3116dc685 Fixed inactive channel propagation event through MQTTMessageLogger andsel 2016-12-28 22:21:33 +01:00
  • 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). Neeme Praks 2016-12-26 16:46:35 +02:00
  • be42cfaae1 MessageDigest is not thread-safe Neeme Praks 2016-12-28 00:36:01 +02:00
  • 4e2a0dbf28 Switched to netty 4.1.6 to include Netty's official mqtt codec to make some performance tests andsel 2016-12-27 22:28:34 +01:00
  • 8aa683452a Added performance project module, to stress test specifics part of Moquette andsel 2016-12-26 12:25:54 +01:00
  • 642fa4a4aa Added plain publish bomber test, to measure enoding/deconding perf andsel 2016-12-26 12:13:30 +01:00
  • 686c5f4c65 Embedded pub and sub client into same process of the plain test broker to use same nanosecs andsel 2016-12-24 15:31:02 +01:00
  • 43f56a8f39 Removed unused methods andsel 2016-12-24 14:42:07 +01:00
  • 68a4093e1a Subscriber for benchmarking using Paho API andsel 2016-12-21 23:17:22 +01:00
  • 631049877e Implemented Publisher with Paho API andsel 2016-12-21 22:37:34 +01:00
  • 7b97855a3b Moved fuse benchmark into separate dir andsel 2016-12-21 21:48:53 +01:00
  • 08b5cd8333 Minor, just comment andsel 2016-12-18 19:51:26 +01:00
  • e812efd6b7 Added MQTT messages logger andsel 2016-12-18 19:50:19 +01:00
  • dfd985da95 Fixed sha, before was the sha256("passwd\n") Andrea Selva 2016-12-14 18:08:31 +01:00
  • 1831560bd6 Flowed up the creation of messageSender andsel 2016-12-13 23:40:00 +01:00
  • f7e8da93d8 Removed data clump andsel 2016-12-13 23:28:19 +01:00
  • 57586ce7c0 Introduced 2 method, one for retained and not andsel 2016-12-13 23:26:31 +01:00
  • 633365672c Changed InternalRepublisher to use the PersistentQueueMessageSender to send out the publish messages andsel 2016-12-13 23:18:43 +01:00
  • 32244e9482 Peeled common code andsel 2016-12-13 23:02:54 +01:00
  • 012e0687a8 Removed unused class BestEffortMessageSender andsel 2016-12-13 22:55:26 +01:00
  • 1c6cbd5d30 Removed the necessity to use BestEffortMessageSender andsel 2016-12-13 22:54:59 +01:00
  • 3100d835df Moved params out of publishQos0 andsel 2016-12-13 22:46:31 +01:00
  • da94a6a014 Moved params out of publishQos2 andsel 2016-12-13 22:44:58 +01:00
  • 2640a5354c Minor, unified method andsel 2016-12-13 22:16:31 +01:00
  • 57d9eeef64 Just renames andsel 2016-12-13 00:50:25 +01:00
  • 0bfdc88e21 Removed unused argument andsel 2016-12-13 00:48:41 +01:00
  • 0e0afe7c9b Renames andsel 2016-12-13 00:46:19 +01:00
  • c76db85ae7 Removed unused params andsel 2016-12-13 00:43:22 +01:00
  • 2b554ca475 Condensed the looping on subscription on separate class andsel 2016-12-13 00:41:18 +01:00
  • b58cd086ea Inverted some ifs to get the semantic of ifs more clear andsel 2016-12-13 00:22:53 +01:00
  • 968e021711 Reintroduced bad removed conditions andsel 2016-12-12 23:42:40 +01:00
  • 105a06537c Moved code to make InternalPublisher.publishRetained() almost similar to InternalPublisher.publishStored() andsel 2016-12-12 23:15:45 +01:00
  • 5d02239dc1 Extracted common code for internal republish andsel 2016-12-12 22:30:14 +01:00
  • 5b254cfe75 Changed che willpublish to use the Qos2Publisher helper class andsel 2016-12-11 18:50:10 +01:00
  • a54b122094 Substituted complex test to check lowering of qos level to the same accepted on subscription time andsel 2016-12-11 18:43:58 +01:00
  • 1e04292ba2 Moved qos2 publish to separate class andsel 2016-12-11 11:42:10 +01:00
  • 1c2fe8c8fe Moved publishing logic for qos1 to separate class andsel 2016-12-11 11:33:33 +01:00
  • a53772f094 Separated qos0 publishing logic from publish handler andsel 2016-12-11 11:24:23 +01:00
  • e6bb883334 Minor, just public class to package private andsel 2016-12-11 11:00:54 +01:00
  • a9f53a4a95 Moved Qos2 publish handling code to separate class andsel 2016-12-11 10:45:36 +01:00
  • d65886343b Moved QoS1 publish handling to separate class andsel 2016-12-11 10:33:49 +01:00
  • 81a447dce9 Reinserted route to qo0 branch in publish2Subscribers for internal publish andsel 2016-12-11 10:20:23 +01:00
  • 12ed805737 Moved qos0 publishing logic to separate class andsel 2016-12-09 15:09:50 +01:00
  • c62f549176 Minor, just code layout andsel 2016-12-09 13:25:36 +01:00
  • 296af8b4f6 Renamed route2Subscribers() to publish2Subscribers() andsel 2016-12-09 13:23:59 +01:00
  • 3355e7c334 Moved selection of subscriptions out of route2Subscribers andsel 2016-12-09 13:23:09 +01:00
  • c727ee87d3 Extracted method to verify credentials on publish andsel 2016-12-09 13:12:47 +01:00
  • c28673b83b introduced methods to threat every single qos andsel 2016-12-09 12:51:50 +01:00
  • 5ca48ddd73 Merge pull request #240 from kmhughes/master Andrea Selva 2016-12-12 22:00:01 +01:00
  • 8df43991a6 Make Moquette into OSGi bundles. Add integration test to confirm that Moquette has become a bundle. Keith Hughes 2016-12-11 18:45:24 -07:00
  • 558b4a4c64 Changed SUBSCRIPTION processing to be based on concurrent FSM andsel 2016-11-27 19:34:51 +01:00
  • b6239b3c5c Changed SUBSCRIPTION processing to be based on concurrent FSM andsel 2016-11-27 19:34:51 +01:00
  • 3ac692a7c7 Removed unuseful sessionStolen attribute from channel andsel 2016-11-17 22:50:04 +01:00
  • 9a7e643742 Cleaned unused code andsel 2016-11-17 22:43:36 +01:00
  • 18fa8f4baf Reworked DISCONNECT to be implemented as fsm andsel 2016-11-17 22:26:26 +01:00
  • 38746ad0dd Moved existing CONNECT processing to an FSM andsel 2016-11-16 22:18:30 +01:00
  • 40de41adc8 Merge pull request #231 from windbender/master Andrea Selva 2016-11-11 13:49:20 +01:00
  • 9c62e3d05c a bit of defensive programming in the case of negative reference values chris-lumigrow 2016-11-10 14:19:43 -08:00
  • 2bc5df8703 implement #227, use of atomicintegers on reference counter chris-lumigrow 2016-11-10 14:13:42 -08:00
  • 7508275cf7 Changed the way a Client session is active and moved to event and states of Channel for CONNECT and DISCONNET messages andsel 2016-11-05 18:19:44 +01:00
  • 8e43f75f70 Minor changes andsel 2016-11-05 18:16:59 +01:00
  • b51b3214ba Added FSM documentation andsel 2016-11-05 17:06:08 +01:00
  • b7dec8f65e Minor change, just log in disconnet decoder andsel 2016-10-19 21:45:42 +02:00
  • ccdb50e760 Merge pull request #224 from bcw104/master Andrea Selva 2016-11-05 17:08:09 +01:00
  • e136caef91 Merge pull request #225 from mpaatz/master Andrea Selva 2016-10-26 13:52:31 +02:00
  • 502deb840b Merge pull request #212 from teranisi/get_subscriptions_api Andrea Selva 2016-10-26 13:46:30 +02:00
  • 3e89bc5d2c notify when client connection lost; implement onConnectionLost() method in AbstractInterceptHandler.java; bcw 2016-10-24 11:37:10 +08:00
  • b1850e1dfe Fixed ConcurrentModification Exceptions in MapDBSessionsStore, fixes #215 mpaatz 2016-10-21 15:23:30 +02:00
  • 03c0097641 broker: notify when client connection lost bcw 2016-10-21 10:28:36 +08:00
  • 0c5f0f293f Merge conflicts. teranisi 2016-10-20 14:27:51 +09:00
  • 90998c447b Make Subscription class immutable. teranisi 2016-10-20 14:17:27 +09:00
  • 81a1d8d2b2 Add 'getSubscriptions' API on Server. Add a test for sessions without clean session flag. teranisi 2016-09-16 10:08:02 +09:00
  • cf67d5ac52 Fixed the issue 204, forcing flush at each write insted of wait for the Channel to be flushed andsel 2016-09-27 22:35:16 +02:00
  • 912a88ec0a Minor, switched from .replace to .put (JDK 1.7 compatibility) andsel 2016-09-23 12:10:42 +02:00
  • 8215e89d77 Changed String for guids to its value object andsel 2016-09-23 11:51:25 +02:00
  • ac419adbd6 Drop the message when the ref counter reaches 0 andsel 2016-09-23 10:16:24 +02:00
  • ac5a4daa6f Changed the way of create MapDB's messages and session stores, it's now more coupled (they are the same stuff at the end) andsel 2016-09-23 10:11:50 +02:00
  • 4d637a349b Fixed drop messages in clean session phase, introduced ref counter andsel 2016-09-23 09:45:47 +02:00
  • d664227436 Add 'getSubscriptions' API on Server. Add a test for sessions without clean session flag. teranisi 2016-09-16 10:08:02 +09:00
  • 5efad350d8 Fixed the configuration of HZ for local tests to avoid multicast preferring tcp local address andsel 2016-09-12 17:49:40 +02:00
  • 4790325f0e Added MapDP perf test groovy script andsel 2016-09-12 12:39:43 +02:00
  • 181303b58b Merge branch 'master' of github.com:andsel/moquette andsel 2016-09-12 12:29:01 +02:00
  • 55ea2d7c12 Added lab experiment to check H2 MVStore perf andsel 2016-09-12 12:28:55 +02:00
  • 40f2d87434 Merge pull request #202 from FraunhoferIOSB/Bugfix-PersistenceFileLock Andrea Selva 2016-08-19 09:00:57 +02:00
  • 36daf153db * Bugfix - persistence file could not be deleted under Windows because it was in use by the server Jacoby 2016-08-18 16:14:51 +02:00
  • 8b7458a6c4 Merge pull request #191 from kevto/hotfix/allow-zero-byte-clientid Andrea Selva 2016-08-07 22:29:56 +02:00
  • 3c614910e5 Merge pull request #192 from kevto/hotfix/anonymous-invalid-close-connection Andrea Selva 2016-08-07 22:15:33 +02:00
  • 807debb622 Terminating the connection if the client failed to receive a CONNACK packet with a non-zero return code. Stated in 3.2.2.3 of MQTT 3.1.1 specificaton. Kevin Berendsen 2016-08-07 13:34:06 +02:00
  • bc6525e431 MQTT3.1.3-6 stated that the client can connect without giving up an client identifier. However, the broker should generate one for the client id as of the client gave the identifier to broker. The client will now disconnect if the client hasn't given up an identifier with clean session set to 0. Done this regarding issue #190 Kevin Berendsen 2016-08-07 13:17:41 +02:00
  • 32b6b9b1da Minor, renamed SimpleMessaging to ProtocolProcessorBootstrapper andsel 2016-07-22 13:32:25 +02:00
  • 8cc588d766 Simplyfied creation of HazelcastMsg from InterceptPublishMessage andsel 2016-07-22 13:19:16 +02:00
  • 29fd6d03b9 Minor refact in HZ configuration andsel 2016-07-22 13:08:48 +02:00
  • 81100e13b4 Switched to HZ 3.5.4 andsel 2016-07-22 12:43:12 +02:00