Annotation Interface InfraService
Marks a class as a Service that can be used by Camel CLI infra
The marked class is analyzed by the mojo CamelTestInfraGenerateMetadataMojo
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionInterface that extends InfrastructureService the interface is used by Camel CLI infra run to retrieve testing information like port, endpoint, username...String[]List of names that can be used to run the service -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionReturns a description of this Service.String[]Additional and optional Service name, in case of multiple Service implementations For example kafka has 3 implementations kafka - uses apache/kafka image as implementation kafka redpanda - uses redpandadata/redpanda image as implementation kafka strimzi - uses strimzi/kafka as image implementationThe version of the infrastructure service (e.g., "7.4.9" for Redis, "2.54.0" for Artemis).
-
Element Details
-
service
Class serviceInterface that extends InfrastructureService the interface is used by Camel CLI infra run to retrieve testing information like port, endpoint, username...- Returns:
-
description
String descriptionReturns a description of this Service. This is used for documentation and tooling.- Returns:
- Default:
""
-
serviceAlias
-
serviceImplementationAlias
String[] serviceImplementationAliasAdditional and optional Service name, in case of multiple Service implementations For example kafka has 3 implementations kafka - uses apache/kafka image as implementation kafka redpanda - uses redpandadata/redpanda image as implementation kafka strimzi - uses strimzi/kafka as image implementation- Returns:
- Default:
{}
-
serviceVersion
String serviceVersionThe version of the infrastructure service (e.g., "7.4.9" for Redis, "2.54.0" for Artemis). For container-based services, the version is auto-detected from the container image tag in container.properties at build time and does not need to be set here. For embedded services (no container), set this to the library version manually.- Returns:
- Default:
""
-