// Component implementation definition
CamelComponentImplementationModel camelModel = new V1CamelImplementationModel(camelNamespace.uri());
camelModel.setJavaClass(routeClass.getName());
componentModel.setImplementation(camelModel);
compositeModel.addComponent(componentModel);
// Component service definition
ComponentServiceModel serviceModel = new V1ComponentServiceModel(switchyardNamespace.uri());
InterfaceModel csiModel = new V1InterfaceModel(InterfaceModel.JAVA);
Class<?> serviceInterface = routeClass.getAnnotation(Route.class).value();