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());
}
Aggregations