Interface MethodRabbitListenerEndpoint.AdapterProvider
-
- Enclosing class:
- MethodRabbitListenerEndpoint
public static interface MethodRabbitListenerEndpoint.AdapterProvider
Provider of listener adapters.- Since:
- 2.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessagingMessageListenerAdapter
getAdapter(boolean batch, Object bean, Method method, boolean returnExceptions, RabbitListenerErrorHandler errorHandler, BatchingStrategy batchingStrategy)
Get an adapter instance.
-
-
-
Method Detail
-
getAdapter
MessagingMessageListenerAdapter getAdapter(boolean batch, Object bean, Method method, boolean returnExceptions, RabbitListenerErrorHandler errorHandler, @Nullable BatchingStrategy batchingStrategy)
Get an adapter instance.- Parameters:
batch
- true for a batch listener.bean
- the bean.method
- the method.returnExceptions
- true to return exceptions.errorHandler
- the error handler.batchingStrategy
- the batching strategy for batch listeners.- Returns:
- the adapter.
-
-