Class RabbitListenerTestHarness

All Implemented Interfaces:
Aware, BeanClassLoaderAware, BeanFactoryAware, BeanPostProcessor, SmartInitializingSingleton, EnvironmentAware, Ordered

public class RabbitListenerTestHarness extends RabbitListenerAnnotationBeanPostProcessor
BeanPostProcessor extending RabbitListenerAnnotationBeanPostProcessor. Wraps the listener bean in a CGLIB proxy with an advice to capture the arguments and result (if any) in a blocking queue. Test cases can access the results by autowiring the test harness into test cases.
Gary Russell, Artem Bilan, Miguel Gross Valle