Changed InternalRepublisher to use the PersistentQueueMessageSender to send out the publish messages

This commit is contained in:
andsel
2016-12-13 23:43:02 +01:00
parent 32244e9482
commit 633365672c
2 changed files with 17 additions and 45 deletions
@@ -52,7 +52,7 @@ class MessagesPublisher {
boolean targetIsActive = this.connectionDescriptors.containsKey(sub.getClientId());
LOG.debug("Broker republishing to client <{}> topic <{}> qos <{}>, active {}",
LOG.debug("Broker republishing to client <{}> topicFilter <{}> qos <{}>, active {}",
sub.getClientId(), sub.getTopicFilter(), qos, targetIsActive);
ByteBuffer message = origMessage.duplicate();
if (targetIsActive) {