Search in sources :

Example 1 with JmsBasedCredentialsClient

use of org.eclipse.hono.tests.jms.JmsBasedCredentialsClient in project hono by eclipse.

the class CredentialsJmsIT method createClient.

/**
 * Creates the client for the registry's Credentials service.
 *
 * @param ctx The vert.x test context.
 */
@BeforeAll
public static void createClient(final VertxTestContext ctx) {
    final var props = IntegrationTestSupport.getDeviceRegistryProperties(IntegrationTestSupport.TENANT_ADMIN_USER, IntegrationTestSupport.TENANT_ADMIN_PWD);
    client = new JmsBasedCredentialsClient(JmsBasedHonoConnection.newConnection(props), props);
    client.start().onComplete(ctx.succeedingThenComplete());
}
Also used : JmsBasedCredentialsClient(org.eclipse.hono.tests.jms.JmsBasedCredentialsClient) BeforeAll(org.junit.jupiter.api.BeforeAll)

Aggregations

JmsBasedCredentialsClient (org.eclipse.hono.tests.jms.JmsBasedCredentialsClient)1 BeforeAll (org.junit.jupiter.api.BeforeAll)1