use of io.joynr.messaging.mqtt.SharedSubscriptionsMqttMessagingSkeleton in project joynr by bmwcarit.
the class SharedSubscriptionsMqttMessagingSkeletonTest method createAndInitSkeleton.
private void createAndInitSkeleton(String channelId) {
subject = new SharedSubscriptionsMqttMessagingSkeleton(ownAddress, maxMqttMessagesInQueue, backpressureEnabled, backpressureIncomingMqttRequestsUpperThreshold, backpressureIncomingMqttRequestsLowerThreshold, replyToAddress, messageRouter, mqttClientFactory, channelId, mqttTopicPrefixProvider, new NoOpRawMessagingPreprocessor(), new HashSet<JoynrMessageProcessor>(), mqttStatusReceiver);
subject.init();
verify(mqttClient).subscribe(startsWith("$share:"));
}
Aggregations