Commit Graph
46 Commits
Author SHA1 Message Date
andsel a2266e5bbe Rearchitected the broker, switching from ProtocolProcessor and publisher to MQTTConnection, Session and PostOffice 2018-11-02 12:33:59 +01:00
andsel 7546a509da Dropper Hazelcast because Moquette is not designed to be clusterizable 2018-07-20 18:17:30 +02:00
Hylke van der Schaaf add5e8968e Fixed executor not shutting down. 2018-07-07 13:47:35 +02:00
andsel 08d3e8d278 New dev cycle for 0.12 2018-05-17 23:43:33 +02:00
andsel 0186de26c2 Bumped and released version 0.11 2018-05-16 23:22:24 +02:00
andsel 34a2aca45e Minor, updated copyright date 2018-04-27 20:17:47 +02:00
andsel 99f0612209 Minor, fixed logging level to be more usefull for distribution 2018-04-27 15:56:26 +02:00
andsel 08949370e6 Minor added slf4j-api deps to re-enable logging 2018-04-27 12:43:11 +02:00
andsel 83be327bd3 Started dev cycle for 0.11 2017-06-29 16:59:56 +02:00
andsel 0480260a56 Bumped release 0.10 2017-06-27 11:33:49 +02:00
Andreas Mager fb9765304c Java Version set to 1.8
anonymous types replaced by lambda's
Method references used instead of Lambda's
Explicit type replaced by <>
travis.yml updated to java 1.8
2017-06-19 17:07:05 +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
Andreas Mager dd106434ce broker/Server: ScheduledExecutorService moved from MapDBPersistentStore
broker/ProtocolProcessorBootstrapper: tabs removed
broker/MapDBPersistentStore: bonding to Server removed
2017-03-22 23:16:14 +01:00
Andreas Mager 63d2f2dd69 broker/MapDBPersistentStore: Interfaces used for the Constructors
broker/IStore: Interface added for MapDBPersistentStore
broker/ProtocolProcessorBootstrapper: class loader for store added
broker/ISessionsStore#mapToGuid: moved to IMessagesStore
broker/ProtocolProcessorBootstrapper: getter used for SessionStore
broker/Server: getter for processor added
broker/ProtocolProcessor: getter added for Stores
2017-03-20 13:04:14 +01:00
andsel ec6ec09cee Minor fixed comment (#281) 2017-03-19 22:01:23 +01:00
Andreas Mager 19a200707b broker/Server: code formatter used 2017-02-01 17:13:37 +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 716c9ac0a0 Minor on logging, removed ugly if(isDebugEnabled()) for debug logging, kept only when the toString generation could potentially take long, and trasformed in tracing logs. Moved Error to Warn log level 2017-01-18 23:28:11 +01:00
andsel 97ddd1cd8b Merge branch Sofia2 with lot of improvements 2017-01-17 21:40:59 +01:00
Luis Barrios d7d97a74d8 Add simple connection management capabilities to the broker. An external codebase will now be able to monitor and close the opened connections. 2017-01-12 17:00:18 +01:00
andsel a7b8c07d1a Bumped dev cycle for 0.10 2017-01-11 22:21:03 +01:00
andsel 4162aae3a0 Bumped version 0.9 2017-01-11 22:06:24 +01:00
Luis Barrios 953e038223 Improve logging 2017-01-11 16:04:23 +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
andsel 12a3c65c9b Fixed javadoc (issue #164) 2017-01-04 12:52:42 +01:00
andsel 4029ddd2b1 Removed ClasspathConfig to use the ClasspathResourceLoader and basic ResourceLoaderConfig
Removed FilesystemConfig to use the FileResourceLoader and basic ResourceLoaderConfig
2016-12-31 19:30:41 +01:00
teranisi 81a1d8d2b2 Add 'getSubscriptions' API on Server.
Add a test for sessions without clean session flag.
2016-10-20 14:23:57 +09:00
andsel 32b6b9b1da Minor, renamed SimpleMessaging to ProtocolProcessorBootstrapper 2016-07-22 13:32:25 +02:00
andsel 29fd6d03b9 Minor refact in HZ configuration 2016-07-22 13:08:48 +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 eec4dc1779 feat(cluster): add default clustering feature 2016-06-28 17:27:35 +02:00
andsel 5487303095 Merged parser_commons into netty_parser 2016-02-03 23:20:15 +01:00
andsel 5b6d0ced6e Bumped dev cycle for 0.9-SNAPSHOT 2016-01-17 13:32:14 +01:00
andsel a44d6b09a8 Bumped release 0.8 2016-01-17 13:04:45 +01:00
andsel 446c846572 Exposed the a Server.start method to injiect IAuthenticator and IAuthorizator to be embedded (fix issue #114) 2015-12-13 17:01:23 +01:00
andsel f44518ff27 Moved security SPI related interfaces into dedicated package 2015-12-13 16:42:04 +01:00
andsel 51627ea2f6 Added ISslContextCreator method argument to Server.startServer to use embedded SSL certificates (fix issue #115) 2015-12-13 16:36:47 +01:00
andsel b280089225 Minor changes, fixed a type in method name 2015-12-13 14:08:56 +01:00
andsel 16a5556fa3 Added internal publish once the broker is embedded in hosting applications 2015-12-08 18:12:00 +01:00
andsel 8c88567c78 Minor change, moved const definition from Constants inside parser-commons to BrokerConstants inside broker project 2015-12-08 14:04:35 +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