Commit Graph
100 Commits
Author SHA1 Message Date
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
andsel 558b4a4c64 Changed SUBSCRIPTION processing to be based on concurrent FSM 2016-12-08 16:31:01 +01:00
andsel b6239b3c5c Changed SUBSCRIPTION processing to be based on concurrent FSM 2016-11-27 21:35:20 +01:00
andsel 3ac692a7c7 Removed unuseful sessionStolen attribute from channel 2016-11-27 21:35:20 +01:00
andsel 9a7e643742 Cleaned unused code 2016-11-27 21:35:20 +01:00
andsel 18fa8f4baf Reworked DISCONNECT to be implemented as fsm 2016-11-27 21:35:20 +01:00
andsel 38746ad0dd Moved existing CONNECT processing to an FSM 2016-11-27 21:35:20 +01:00
Andrea Selva 40de41adc8 Merge pull request #231 from windbender/master
implement #227, use of atomicintegers on reference counter
2016-11-11 13:49:20 +01:00
andsel 7508275cf7 Changed the way a Client session is active and moved to event and states of Channel for CONNECT and DISCONNET messages 2016-11-05 18:29:08 +01:00
andsel 8e43f75f70 Minor changes 2016-11-05 18:29:08 +01:00
andsel b51b3214ba Added FSM documentation 2016-11-05 18:29:08 +01:00
andsel b7dec8f65e Minor change, just log in disconnet decoder 2016-11-05 18:29:08 +01:00
Andrea Selva ccdb50e760 Merge pull request #224 from bcw104/master
broker: notify when client connection lost
2016-11-05 17:08:09 +01:00
Andrea Selva e136caef91 Merge pull request #225 from mpaatz/master
fixed ConcurrentModification Exceptions in MapDBSessionsStore, fixes #215
2016-10-26 13:52:31 +02:00
Andrea Selva 502deb840b Merge pull request #212 from teranisi/get_subscriptions_api
Add 'getSubscriptions' API on Server.
2016-10-26 13:46:30 +02:00
andsel cf67d5ac52 Fixed the issue 204, forcing flush at each write insted of wait for the Channel to be flushed 2016-09-27 22:35:16 +02:00
andsel 912a88ec0a Minor, switched from .replace to .put (JDK 1.7 compatibility) 2016-09-23 12:10:42 +02:00
andsel 8215e89d77 Changed String for guids to its value object 2016-09-23 11:51:25 +02:00
andsel ac419adbd6 Drop the message when the ref counter reaches 0 2016-09-23 10:16:24 +02:00
andsel 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) 2016-09-23 10:11:50 +02:00
andsel 4d637a349b Fixed drop messages in clean session phase, introduced ref counter 2016-09-23 09:45:47 +02:00
andsel 5efad350d8 Fixed the configuration of HZ for local tests to avoid multicast preferring tcp local address 2016-09-12 17:49:40 +02:00
andsel 4790325f0e Added MapDP perf test groovy script 2016-09-12 12:39:43 +02:00
andsel 181303b58b Merge branch 'master' of github.com:andsel/moquette 2016-09-12 12:29:01 +02:00
andsel 55ea2d7c12 Added lab experiment to check H2 MVStore perf 2016-09-12 12:28:55 +02:00
Andrea Selva 40f2d87434 Merge pull request #202 from FraunhoferIOSB/Bugfix-PersistenceFileLock
Bugfix for ServerRestartIntegrationTest - Persistence file could not be deleted under Windows
2016-08-19 09:00:57 +02:00
Andrea Selva 8b7458a6c4 Merge pull request #191 from kevto/hotfix/allow-zero-byte-clientid
Allow zero byte client identifiers in the connect message.
2016-08-07 22:29:56 +02:00
Andrea Selva 3c614910e5 Merge pull request #192 from kevto/hotfix/anonymous-invalid-close-connection
Closing connection on non-zero return code in CONNACK packet.
2016-08-07 22:15:33 +02:00
andsel 32b6b9b1da Minor, renamed SimpleMessaging to ProtocolProcessorBootstrapper 2016-07-22 13:32:25 +02:00
andsel 8cc588d766 Simplyfied creation of HazelcastMsg from InterceptPublishMessage 2016-07-22 13:19:16 +02:00
andsel 29fd6d03b9 Minor refact in HZ configuration 2016-07-22 13:08:48 +02:00
andsel 81100e13b4 Switched to HZ 3.5.4 2016-07-22 12:43:12 +02:00
Andrea Selva 3085ee54d8 Merge pull request #189 from andsel/mackristof-feat/cluster
Mackristof feat/cluster
2016-07-22 12:13:16 +02:00
andsel fedd2965cc Fixed Hazelcast itnegration tests, removing unusefull thread sleeps, but more important permitting the co existence of 2 Brokers in the same JVM 2016-07-22 12:09:10 +02:00
andsel 7886bf7103 Merge branch 'feat/cluster' of https://github.com/mackristof/moquette into mackristof-feat/cluster 2016-07-21 16:17:15 +02:00
Andrea Selva 6a4aa28489 Merge pull request #188 from kevto/hotfix/client-session-subscribe
One param less in ClientSession subscribe method
2016-07-18 21:40:09 +02:00
Andrea Selva 3d2e69cc21 Merge pull request #187 from iodb/master
add/remove InterceptHandlers with server running
2016-07-10 11:22:44 +02:00
andsel 1ef2a4fd3c Minor change, remove a redundant ClientID param from verifyToActivate method 2016-07-02 12:30:19 +02:00
Andrea Selva 8fceb20a9e Merge pull request #185 from bemisguided/master
Add clientID to the IAuthenticator interface
2016-06-28 13:08:22 +02:00
andsel 693a9a454f Fixed bug, missed insertion into flight zone of QOS1 messages 2016-06-18 12:21:21 +02:00
andsel 0c4f7fa393 Refactored the part of move from inFlight to second stage rel ack, this driven to missed notification to the interceptors 2016-06-16 23:01:48 +02:00
andsel d5399995c3 Regenerated some keystore used in tests with commands described in ServerIntegrationSSLClientAuthTest.java 2016-05-29 21:31:49 +02:00
andsel e41e55f5aa Added the 'disabled' keyword in config to disable a listener on a port 2016-05-18 00:11:19 +02:00
andsel 5f003ccb05 MOved conenct method into the test support class Client 2016-05-18 00:11:18 +02:00
Andrea Selva d396edad12 Merge pull request #178 from mackristof/master
Authentication on DB storage
2016-05-16 22:23:00 +02:00
Andrea Selva d24f14a8f2 Merge pull request #173 from windbender/master
Collect CSV list into constant, provide better logging on disabled SSL
2016-05-04 13:38:44 +02:00
andsel dbe9c7bcaa Added integration test to check firing of will message (issue #171) 2016-05-02 20:48:18 +02:00
andsel 5029da8763 Removed WebSocket port from default configuration, end moved defaults config from ConfigParser to Config container. Fixes isse #150 2016-04-25 11:52:07 +02:00
andsel ae734ded8e Fixed ProtocolProcessor with bad merged code 2016-03-23 23:24:54 +01:00
andsel ed6ad315d1 Fixed merge 2016-03-23 23:13:01 +01:00
Andrea Selva 0b883d1f9a Update README.md 2016-03-23 22:48:50 +01:00
Andrea Selva 48031dd6da Update README.md 2016-03-23 22:47:37 +01:00
Andrea Selva f32c8f5fe6 Minor change, moved upstairs the Google group ref 2016-03-23 22:46:27 +01:00
andsel 9b75a6a0a9 Fixed failing test 2016-03-06 20:02:10 +01:00
andsel cd908f7e44 Added memory queue to before pushing to Netty, first step to have a persistent queue per channel 2016-03-06 19:50:47 +01:00
andsel 4e8f72a34b Moved test to use a test client callback that queue up all received messages 2016-03-06 19:50:47 +01:00
andsel 6cadaebb0c Minor, rewritten test to user Paho instead of fusesource mqtt client 2016-03-06 19:50:47 +01:00
andsel efbfab7914 Minor, moved tests from ServerIntegrationFuseTest to ServerIntegrationPahoTest to limit the usage of fusesource mqtt client 2016-03-06 19:50:47 +01:00
andsel 7bb02d9a2a Defined attribute for package to OSS Sonatype, and to GPG sign the artifacts 2016-03-06 19:50:47 +01:00
Andrea Selva 1604c71c33 Merge pull request #149 from konradmichael/clientAuth
Enables client authentification for SSL
2016-02-29 13:35:34 +01:00
Andrea Selva 368100f77c Merge pull request #148 from redsolo/master
Unable to find org.eclipse.paho.client.mqttv3 dependency
2016-02-06 10:51:40 +01:00
andsel 62c5985a34 Fixed merged dep 2016-02-03 23:31:58 +01:00
andsel 91505c9350 Fixed dependency 2016-02-03 23:28:38 +01:00
andsel 5487303095 Merged parser_commons into netty_parser 2016-02-03 23:20:15 +01:00
andsel 5c7e2b357f Fixed missed clean session for ClientSession, issue #145 2016-02-02 22:39:11 +01:00
andsel d36de24349 Minor, modified access to fields of SubscribeMessage.Couple 2016-01-30 17:35:28 +01:00
andsel a19af18a61 Moved read authorization check from publish phase to subscribe 2016-01-30 17:22:17 +01:00
andsel 69c1219f2b Minor added source and javadoc jars creations 2016-01-30 11:54:17 +01:00
andsel 8c14efb7d8 Added integration test to check issue #142 2016-01-30 11:46:06 +01:00