Package io.micronaut.rabbitmq.annotation
Annotation Type RabbitProperties
-
@Documented @Retention(RUNTIME) @Target({TYPE,METHOD}) @Inherited public @interface RabbitPropertiesAnnotation to collect a set of properties.- Since:
- 1.1.0
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description RabbitProperty[]valueThis allows you to have multiple @RabbitProperty annotations set at the class level with Java and Groovy.
-
-
-
Element Detail
-
value
RabbitProperty[] value
This allows you to have multiple @RabbitProperty annotations set at the class level with Java and Groovy. Example usage:@RabbitProperties({ @RabbitProperty(name="userId",value="jsmith"), @RabbitProperty(name="correlationId",value="123") })- Returns:
- The properties
- Default:
- {}
-
-