Search in sources :

Example 1 with MqttProtocolAdapterProperties

use of org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties in project hono by eclipse.

the class VertxBasedMqttProtocolAdapterTest method givenAnAdapter.

private void givenAnAdapter() {
    config = new MqttProtocolAdapterProperties();
    adapter = new VertxBasedMqttProtocolAdapter();
    adapter.setConfig(config);
    span = TracingMockSupport.mockSpan();
}
Also used : MqttProtocolAdapterProperties(org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties)

Example 2 with MqttProtocolAdapterProperties

use of org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties in project hono by eclipse.

the class HttpBasedMessageMappingTest method setUp.

/**
 * Sets up the fixture.
 */
@BeforeEach
public void setUp() {
    mapperWebClient = mock(WebClient.class);
    config = new MqttProtocolAdapterProperties();
    messageMapping = new HttpBasedMessageMapping(mapperWebClient, config);
    span = TracingMockSupport.mockSpan();
}
Also used : MqttProtocolAdapterProperties(org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties) WebClient(io.vertx.ext.web.client.WebClient) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

MqttProtocolAdapterProperties (org.eclipse.hono.adapter.mqtt.MqttProtocolAdapterProperties)2 WebClient (io.vertx.ext.web.client.WebClient)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1