Package io.micronaut.rabbitmq.annotation
Annotation Interface RabbitProperties
@Documented
@Retention(RUNTIME)
@Target({TYPE,METHOD})
@Inherited
public @interface RabbitProperties
Annotation to collect a set of properties.
- Since:
- 1.1.0
- Author:
- James Kleeh
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionThis allows you to have multiple @RabbitProperty annotations set at the class level with Java and Groovy.
-
Element Details
-
value
RabbitProperty[] valueThis 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:
- {}
-