Interface MethodRabbitListenerEndpoint.AdapterProvider
-
- Enclosing class:
- MethodRabbitListenerEndpoint
public static interface MethodRabbitListenerEndpoint.AdapterProviderProvider of listener adapters.- Since:
- 2.4
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessagingMessageListenerAdaptergetAdapter(boolean batch, java.lang.Object bean, java.lang.reflect.Method method, boolean returnExceptions, RabbitListenerErrorHandler errorHandler, BatchingStrategy batchingStrategy)Get an adapter instance.
-
-
-
Method Detail
-
getAdapter
MessagingMessageListenerAdapter getAdapter(boolean batch, java.lang.Object bean, java.lang.reflect.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.
-
-