Commit Graph
26 Commits
Author SHA1 Message Date
Luis Barrios ebdee0bb44 Make netty channel timeout configurable 2017-01-15 14:40:08 +01:00
Luis Barrios d4f977c0af Make several low-level netty parameters configurable 2017-01-13 11:01:35 +01:00
Luis Barrios aed1a80532 Update version to 0.9.1.sofia 2017-01-12 17:27:23 +01:00
Luis Barrios e7f26e402b Include message and bytes metrics in the status of the active MQTT connections. 2017-01-12 17:25:46 +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
Luis Barrios 964efd341e Add log traces 2017-01-12 13:11:08 +01:00
Luis Barrios 03ae299e36 Add log traces 2017-01-12 12:35:51 +01:00
Luis Barrios 8b3f158a43 Improve logging. Remove duplicated code from QosPublishHandlers. 2017-01-11 18:42:30 +01:00
Luis Barrios aac5b37485 Improve logging 2017-01-11 16:36:45 +01:00
Luis Barrios 731c7859ce Merge branch 'bugfixes' of github.com:lbarriosh/moquette into bugfixes 2017-01-11 16:04:36 +01:00
Luis Barrios 953e038223 Improve logging 2017-01-11 16:04:23 +01:00
Luis Barrios 8be6e1e86b Improve logging 2017-01-11 15:56:24 +01:00
Luis Barrios 1f1bfff4f7 Improve logging:
- When a MQTT message is received, we should only log it in debug level. It is better to log the actions performed in the protocol processor at the info level (they are more meaningful).
- Capture and log every exception raised while processing the message (including RuntimeExceptions).
2017-01-11 15:33:23 +01:00
Luis Barrios 4512eeff23 Add log traces to MoquetteIdleTimeoutHandler and to NettyAcceptor.
Fix NettyAcceptor shutdown: when the event loops take too long to stop, an IllegalStateException is raised. This leads to leaks, and prevents other
parts of the broker to be shut down properly.
2017-01-11 15:26:30 +01:00
Luis Barrios e7ba2aee8e Add debug log traces to AutoFlushHandler 2017-01-11 15:06:03 +01:00
Luis Barrios 4ae6893f81 Improve logging of ResourceLoaderConfig 2017-01-11 14:58:35 +01:00
Luis Barrios 1592a0676c Improve logging of package io.moquette.server.config 2017-01-11 14:56:16 +01:00
Luis Barrios 7666a1634a Handle publish errors properly in PersistentQueueMessageSender. Create a connection descriptor store to handle all the message delivery errors and to avoid
duplicating error handling code (i.e. the connection descriptors map is null, the connection descriptor does not exist, etc).
2017-01-11 11:23:24 +01:00
Luis Barrios 63d106e414 Improve log traces of the subscriptions store. Make sure that no "raw" RuntimeExceptions are thrown, and include proper log traces before any exception is raised. 2017-01-11 10:42:43 +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 933763486c Remove rawtypes 2017-01-11 09:05:30 +01:00
Luis Barrios c90893d817 Add missing method implementation 2017-01-10 17:29:37 +01:00
Luis Barrios aea4f3709a Make the size of the BrokerInterceptor thread pool configurable. 2017-01-10 17:23:15 +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
Luis Barrios 1d75a25aa3 Update .gitignore file to exclude /osgi_test/target/ and /perf/target/ 2017-01-10 14:31:17 +01:00
Luis Barrios 0786de54b2 Update .gitignore file to exclude /osgi_test/target/ and /perf/target/ 2017-01-10 12:39:46 +01:00