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 Praks2016-12-26 16:46:35 +02:00
7508275cf7
Changed the way a Client session is active and moved to event and states of Channel for CONNECT and DISCONNET messages
andsel2016-11-05 18:19:44 +01:00
90998c447b
Make Subscription class immutable.
teranisi2016-10-20 14:17:27 +09:00
81a1d8d2b2
Add 'getSubscriptions' API on Server. Add a test for sessions without clean session flag.
teranisi2016-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
andsel2016-09-27 22:35:16 +02:00
912a88ec0a
Minor, switched from .replace to .put (JDK 1.7 compatibility)
andsel2016-09-23 12:10:42 +02:00
8215e89d77
Changed String for guids to its value object
andsel2016-09-23 11:51:25 +02:00
ac419adbd6
Drop the message when the ref counter reaches 0
andsel2016-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)
andsel2016-09-23 10:11:50 +02:00
4d637a349b
Fixed drop messages in clean session phase, introduced ref counter
andsel2016-09-23 09:45:47 +02:00
d664227436
Add 'getSubscriptions' API on Server. Add a test for sessions without clean session flag.
teranisi2016-09-16 10:08:02 +09:00
5efad350d8
Fixed the configuration of HZ for local tests to avoid multicast preferring tcp local address
andsel2016-09-12 17:49:40 +02:00
4790325f0e
Added MapDP perf test groovy script
andsel2016-09-12 12:39:43 +02:00
181303b58b
Merge branch 'master' of github.com:andsel/moquette
andsel2016-09-12 12:29:01 +02:00
40f2d87434
Merge pull request #202 from FraunhoferIOSB/Bugfix-PersistenceFileLock
Andrea Selva2016-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
Jacoby2016-08-18 16:14:51 +02:00
8b7458a6c4
Merge pull request #191 from kevto/hotfix/allow-zero-byte-clientid
Andrea Selva2016-08-07 22:29:56 +02:00
3c614910e5
Merge pull request #192 from kevto/hotfix/anonymous-invalid-close-connection
Andrea Selva2016-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 Berendsen2016-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 #190Kevin Berendsen2016-08-07 13:17:41 +02:00
32b6b9b1da
Minor, renamed SimpleMessaging to ProtocolProcessorBootstrapper
andsel2016-07-22 13:32:25 +02:00
8cc588d766
Simplyfied creation of HazelcastMsg from InterceptPublishMessage
andsel2016-07-22 13:19:16 +02:00
29fd6d03b9
Minor refact in HZ configuration
andsel2016-07-22 13:08:48 +02:00
81100e13b4
Switched to HZ 3.5.4
andsel2016-07-22 12:43:12 +02:00