@Documented @Retention(value=RUNTIME) @Target(value={TYPE,METHOD}) public @interface RabbitProperties
Modifier and Type | Optional Element and Description |
---|---|
RabbitProperty[] |
value
This allows you to have multiple @RabbitProperty annotations set at the class level with Java and Groovy.
|
public abstract RabbitProperty[] value
@RabbitProperties({
@RabbitProperty(name="userId",value="jsmith"),
@RabbitProperty(name="correlationId",value="123")
})