public static interface MethodRabbitListenerEndpoint.AdapterProvider
| Modifier and Type | Method and Description |
|---|---|
MessagingMessageListenerAdapter |
getAdapter(boolean batch,
java.lang.Object bean,
java.lang.reflect.Method method,
boolean returnExceptions,
RabbitListenerErrorHandler errorHandler,
BatchingStrategy batchingStrategy)
Get an adapter instance.
|
MessagingMessageListenerAdapter getAdapter(boolean batch, java.lang.Object bean, java.lang.reflect.Method method, boolean returnExceptions, RabbitListenerErrorHandler errorHandler, @Nullable BatchingStrategy batchingStrategy)
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.