Annotation 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

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Set to true to advise the listener with a capture advice,
    boolean
    Set to true to create a Mockito spy on the listener.
  • Element Details

    • spy

      boolean spy
      Set to true to create a Mockito spy on the listener.
      Returns:
      true to create the spy; default true.
      Default:
      true
    • capture

      boolean capture
      Set to true to advise the listener with a capture advice,
      Returns:
      true to advise the listener; default false.
      Default:
      false