Andrea Selva
b0095aa3fd
Merge pull request #270 from AndreasMager/add-topic-class
...
New class added: Topic
2017-02-19 19:35:54 +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
Cesar Alvernaz
97f57a9322
Rename variable name
2017-02-15 18:25:38 +00:00
Andreas Mager
e2bcd3aac7
broker/Subscription: empty line removed
2017-02-01 17:27:38 +01:00
Andreas Mager
80c9448c71
broker/ProtocolProcessor: empty line removed
2017-02-01 17:27:17 +01:00
Andreas Mager
f85d45f796
broker/TreeNode: code formatter used
2017-02-01 17:13:41 +01:00
Andreas Mager
47101ca894
broker/Token: code formatter used
2017-02-01 17:13:41 +01:00
Andreas Mager
4db4663274
broker/SubscriptionsStore: code formatter used
2017-02-01 17:13:41 +01:00
Andreas Mager
fdf5a83386
broker/Subscription: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
3bbec46585
broker/ResourceAuthenticator: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
92f4492fc3
broker/PermitAllAuthorizator: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
04fdb31ef6
broker/FileAuthenticator: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
64694a4409
broker/DenyAllAuthorizator: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
2257ae6919
broker/DBAuthenticator: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
579cdafb77
broker/AuthorizationsCollector: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
fae67394a3
broker/Authorization: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
b020580a40
broker/ACLFileParser: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
f21f0ba54d
broker/AcceptAllAuthenticator: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
9b911339d7
broker/Utils: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
609cd5c8f8
broker/QosPublishHandler: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
127894b2f9
broker/Qos2PublishHandler: code formatter used
2017-02-01 17:13:40 +01:00
Andreas Mager
b7f3e1beba
broker/Qos1PublishHandler: code formatter used
2017-02-01 17:13:39 +01:00
Andreas Mager
a7d476589a
broker/Qos0PublishHandler: code formatter used
2017-02-01 17:13:39 +01:00
Andreas Mager
e23ac97e8e
broker/ProtocolProcessorBootstrapper: code formatter used
2017-02-01 17:13:39 +01:00
Andreas Mager
db31f77f9b
broker/ProtocolProcessor: code formatter used
2017-02-01 17:13:39 +01:00
Andreas Mager
6eb635f437
broker/PersistentQueueMessageSender: code formatter used
2017-02-01 17:13:39 +01:00
Andreas Mager
a308780acd
broker/MessagesPublisher: code formatter used
2017-02-01 17:13:39 +01:00
Andreas Mager
91ca7fd1c2
broker/InternalRepublisher: code formatter used
2017-02-01 17:13:39 +01:00
Andreas Mager
0655f20543
broker/DebugUtils: code formatter used
2017-02-01 17:13:39 +01:00
Andreas Mager
4167861071
broker/BrokerInterceptor: code formatter used
2017-02-01 17:13:39 +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
60c28f1ecb
Minor, just setted autogenerated random serialVersionUID instead of bad 1L
2017-01-18 22:46:04 +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
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
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
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
andsel
ac8a11fefa
Removed the reference counter for stored messages
2017-01-09 21:59:09 +01:00
andsel
081631242f
Removed old 'map based queues' to use persistent BlockingQueues from MapDB
2017-01-09 21:53:26 +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
480e36579c
Fixed NPE exception of inflight ACK because the publisher with clean=true removed all messages, also the published from message store
2017-01-04 11:17:30 +01:00
Neeme Praks
ac93f04dde
Refactored config file resource loading to make it easier to load config files from class path when embedding.
2016-12-31 11:46:32 +01:00
Andrea Selva
3dce95cc50
Merge pull request #245 from nemecec/patch-1
...
MessageDigest is not thread-safe
2016-12-29 14:59:19 +01:00
andsel
d3116dc685
Fixed inactive channel propagation event through MQTTMessageLogger
2016-12-28 22:21:33 +01:00