use of org.eclipse.hono.commandrouter.impl.CommandRouterServiceImpl in project hono by eclipse.
the class Application method commandRouterService.
private CommandRouterService commandRouterService() {
final DeviceRegistrationClient registrationClient = registrationClient();
final TenantClient tenantClient = tenantClient();
final CommandTargetMapper commandTargetMapper = CommandTargetMapper.create(registrationClient, deviceConnectionInfo, tracer);
return new CommandRouterServiceImpl(amqpServerProperties, registrationClient, tenantClient, deviceConnectionInfo, commandConsumerFactoryProvider(tenantClient, commandTargetMapper), adapterInstanceStatusService, tracer);
}
Aggregations