use of org.eclipse.hono.client.registry.amqp.ProtonBasedCredentialsClient in project hono by eclipse.
the class CredentialsAmqpIT method createCredentialsClientFactory.
/**
* Creates an AMQP 1.0 based client for the Credentials API.
*
* @param ctx The vert.x test context.
*/
@BeforeAll
public static void createCredentialsClientFactory(final VertxTestContext ctx) {
client = new ProtonBasedCredentialsClient(HonoConnection.newConnection(VERTX, IntegrationTestSupport.getDeviceRegistryProperties(IntegrationTestSupport.TENANT_ADMIN_USER, IntegrationTestSupport.TENANT_ADMIN_PWD)), SendMessageSampler.Factory.noop(), null);
client.start().onComplete(ctx.succeedingThenComplete());
}
Aggregations