Commit Graph
44 Commits
Author SHA1 Message Date
andsel 284417ef50 Minor, fixed checkstyle and find bugs warns 2018-11-10 18:31:51 +01:00
andsel 7546a509da Dropper Hazelcast because Moquette is not designed to be clusterizable 2018-07-20 18:17:30 +02:00
andsel 34a2aca45e Minor, updated copyright date 2018-04-27 20:17:47 +02:00
andsel 033a428184 Fixed checkStyle and ErrorProne warns 2018-04-26 22:23:06 +02:00
Andreas Mager 9221a87812 editorconfig: max line length set
max line length warnings removed
missing Copyright added
useless publics removed
unmaintainable Javadoc tags: @author removed
helper class warnings removed
field default value initialization removed
Multiple warnings removed
pref: checkstyle warnings removed
Checkstyle will fail the build process if it detects violations
switch default cases error logger added
2017-04-13 22:16:57 +02:00
andsel 6dc762f47f Introduced the FlightZone concept (inbound and outbound) and separated logic of storage system. 2017-04-09 19:22:50 +02:00
andsel ec6ec09cee Minor fixed comment (#281) 2017-03-19 22:01:23 +01:00
Andreas Mager a2e51b2c31 broker/Topic: class added
broker/Topic: String Topics replaced by Topic class
broker/Topic#parseTopic: access set to private
broker/SubscriptionsStoreTest: topic tests moved to own class
broker/TopicTest: containsExactly used
broker/TopicTest: TopicAssert class added
broker/TopicTest$TopicAssert#containsToken: method added
broker/TopicTest$TopicAssert#matches: method added
2017-02-19 18:29:37 +01:00
Andreas Mager 065ad04699 broker/InterceptHandler: unused modifier removed 2017-02-01 17:26:31 +01:00
Andreas Mager a198247d13 broker/InterceptUnSubscribeMessage: code formatter used 2017-02-01 17:13:36 +01:00
Andreas Mager 255eed49a7 broker/InterceptSubscribeMessage: code formatter used 2017-02-01 17:13:36 +01:00
Andreas Mager 6cdcee0c58 broker/InterceptPublishMessage: code formatter used 2017-02-01 17:13:36 +01:00
Andreas Mager 96df597507 broker/InterceptMessage: code formatter used 2017-02-01 17:13:36 +01:00
Andreas Mager 5054c72b32 broker/InterceptDisconnectMessage: code formatter used 2017-02-01 17:13:36 +01:00
Andreas Mager 16ee560f4c broker/InterceptConnectMessage: code formatter used 2017-02-01 17:13:36 +01:00
Andreas Mager 73bce495e1 broker/InterceptConnectionLostMessage: code formatter used 2017-02-01 17:13:36 +01:00
Andreas Mager 25bb6f50a5 broker/InterceptAcknowledgedMessage: code formatter used 2017-02-01 17:13:36 +01:00
Andreas Mager fdce1bbc59 broker/InterceptAbstractMessage: code formatter used 2017-02-01 17:13:36 +01:00
Andreas Mager 48afd160d5 broker/Interceptor: code formatter used 2017-02-01 17:13:36 +01:00
Andreas Mager c48534b0ba broker/InterceptHandler: code formatter used 2017-02-01 17:13:35 +01:00
Andreas Mager e81f8ff96c broker/HazelcastMsg: code formatter used 2017-02-01 17:13:35 +01:00
Andreas Mager 2d9f93bdf8 broker/HazelcastInterceptHandler: code formatter used 2017-02-01 17:13:35 +01:00
Andreas Mager 65ba222b89 broker/AbstractInterceptHandler: code formatter used 2017-02-01 17:13:35 +01:00
andsel 1c64186a00 Switched from Moquette's MQTT codec to Netty's MQTT codec ones 2017-01-28 15:59:44 +01:00
andsel 60c28f1ecb Minor, just setted autogenerated random serialVersionUID instead of bad 1L 2017-01-18 22:46:04 +01:00
Luis Barrios 8481fada93 Remove unused imports, raw types and some deprecated method calls.. 2017-01-11 10:16:58 +01:00
Luis Barrios 46fcdc0894 Allow InterceptHandler to specify the messages they can intercept. This allows us to improve the performance of the broker interceptor, and will make log traces more clear.
- Add methods to return an unique identifier and the supported message types at the InterceptHandler interface.
- Include a default implementation of the new methods in the AbstractInterceptHandler. By default, all the interceptors will be able to handle any message (same as before).
- Comment verifyNoMoreInteractions() call from the BrokerInterceptorTest.testAddAndRemoveInterceptHandler(). The removeInterceptHandler() method of the broker interceptor
  polls the InterceptHandler, so an interaction will always exist after the call to onSubscribe().
2017-01-10 17:06:13 +01:00
andsel 3f0ab75efb Updated copiright to year 2017 2017-01-04 14:37:29 +01:00
bcw 3e89bc5d2c notify when client connection lost;
implement onConnectionLost() method in AbstractInterceptHandler.java;
2016-10-24 11:37:10 +08:00
bcw 03c0097641 broker: notify when client connection lost 2016-10-21 10:28:36 +08: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 8cc588d766 Simplyfied creation of HazelcastMsg from InterceptPublishMessage 2016-07-22 13:19:16 +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
IODBEEC1 ed9d91e527 add/remove InterceptHandlers with server running 2016-07-09 09:09:57 +02:00
mackristof 2dd18c2b70 fix(cluster): change HazelcastMsg payload to byte[] 2016-06-28 22:07:54 +02:00
mackristof eec4dc1779 feat(cluster): add default clustering feature 2016-06-28 17:27:35 +02:00
Dee Eldredge 1e7f6d98e7 Based on feedback, renamed messageConsumed -> messageAcknowledged. 2016-03-23 23:11:09 +01:00
Dee Eldredge 1b77e43b61 Added topic to consumed message. 2016-03-23 23:10:45 +01:00
Dee Eldredge 7dab8a367f Added username to all messages. From a consumer perspective the username is more useful than a clientID which is often autogenerated. 2016-03-23 23:10:24 +01:00
Dee Eldredge f44283d5f0 Added onMessageConsumed logic.
Related to:  https://github.com/andsel/moquette/issues/156
2016-03-23 23:09:16 +01:00
andsel 5487303095 Merged parser_commons into netty_parser 2016-02-03 23:20:15 +01:00
andsel f41f7dafb9 Added sample publish InterceptHandler implementation to EmbeddedLauncher (#104 publish listner part) 2015-12-08 12:07:03 +01:00
andsel 371c740321 Moved project package from org.eclipse.moquette to io.moquette 2015-11-20 21:30:59 +01:00