Annotation Interface RabbitListenerTest
@Target(TYPE)
@Retention(RUNTIME)
@Documented
@EnableRabbit
@Import(RabbitListenerTestSelector.class)
public @interface RabbitListenerTest
Annotate a
@Configuration
class with this to enable proxying
@RabbitListener
beans to capture arguments and result (if any).- Since:
- 1.6
- Author:
- Gary Russell, Artem Bilan
-
Optional Element Summary
-
Element Details
-
spy
boolean spySet to true to create a Mockito spy on the listener.- Returns:
- true to create the spy; default true.
- Default:
- true
-
capture
boolean captureSet to true to advise the listener with a capture advice,- Returns:
- true to advise the listener; default false.
- Default:
- false
-