Package org.apache.camel.spi.annotations
Annotation Interface InfraService
Marks a class as a Service that can be used by Camel JBang 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 JBang 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 implementation
-
Element Details
-
service
Class serviceInterface that extends InfrastructureService the interface is used by Camel JBang 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
String[] serviceAliasList of names that can be used to run the service- Returns:
-
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:
{}
-