Search in sources :

Example 1 with SharedSubscriptionsMqttMessagingSkeleton

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:"));
}
Also used : NoOpRawMessagingPreprocessor(io.joynr.messaging.NoOpRawMessagingPreprocessor) SharedSubscriptionsMqttMessagingSkeleton(io.joynr.messaging.mqtt.SharedSubscriptionsMqttMessagingSkeleton) HashSet(java.util.HashSet)

Aggregations

NoOpRawMessagingPreprocessor (io.joynr.messaging.NoOpRawMessagingPreprocessor)1 SharedSubscriptionsMqttMessagingSkeleton (io.joynr.messaging.mqtt.SharedSubscriptionsMqttMessagingSkeleton)1 HashSet (java.util.HashSet)1